Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/3862
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/62/3862/1
Add Icelandic autocorrection support, Only SentenceExceptList.xml for now.
List of abbreviations is from https://is.wiktionary.org/wiki/Flokkur:%C3%8Dslenskar_skammstafanir
Change-Id: Icaf8f611d0ceb46774e580ac1e8c3a57e786c28b
---
M extras/CustomTarget_autocorr.mk
M extras/Package_autocorr.mk
A extras/source/autotext/lang/is/acor/META-INF/manifest.xml
A extras/source/autotext/lang/is/acor/SentenceExceptList.xml
A extras/source/autotext/lang/is/acor/mimetype
5 files changed, 162 insertions(+), 0 deletions(-)
diff --git a/extras/CustomTarget_autocorr.mk b/extras/CustomTarget_autocorr.mk
index ea2838d..5af506e 100644
--- a/extras/CustomTarget_autocorr.mk
+++ b/extras/CustomTarget_autocorr.mk
@@ -27,6 +27,7 @@
ga-IE:ga-IE \
hr:hr-HR \
hu:hu-HU \
+ is:is-IS \
it:it-IT \
ja:ja-JP \
ko:ko-KR \
@@ -128,6 +129,8 @@
hu/acor/META-INF/manifest.xml \
hu/acor/SentenceExceptList.xml \
hu/acor/WordExceptList.xml \
+ is/acor/META-INF/manifest.xml \
+ is/acor/SentenceExceptList.xml \
it/acor/BlockList.xml \
it/acor/DocumentList.xml \
it/acor/META-INF/manifest.xml \
@@ -248,6 +251,7 @@
fr/acor/mimetype \
ga-IE/acor/mimetype \
hu/acor/mimetype \
+ is/acor/mimetype \
it/acor/mimetype \
lb-LU/acor/mimetype \
lt/acor/mimetype \
diff --git a/extras/Package_autocorr.mk b/extras/Package_autocorr.mk
index 87ab16a..0b03762 100644
--- a/extras/Package_autocorr.mk
+++ b/extras/Package_autocorr.mk
@@ -29,6 +29,7 @@
acor_ga-IE.dat \
acor_hr-HR.dat \
acor_hu-HU.dat \
+ acor_is-IS.dat \
acor_it-IT.dat \
acor_ja-JP.dat \
acor_ko-KR.dat \
diff --git a/extras/source/autotext/lang/is/acor/META-INF/manifest.xml
b/extras/source/autotext/lang/is/acor/META-INF/manifest.xml
new file mode 100644
index 0000000..9c916b5
--- /dev/null
+++ b/extras/source/autotext/lang/is/acor/META-INF/manifest.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest>
+ <file-entry media-type="" full-path="/"/>
+ <file-entry media-type="" full-path="META-INF/"/>
+ <file-entry media-type="text/xml" full-path="SentenceExceptList.xml"/>
+</manifest>
diff --git a/extras/source/autotext/lang/is/acor/SentenceExceptList.xml
b/extras/source/autotext/lang/is/acor/SentenceExceptList.xml
new file mode 100644
index 0000000..fd4ccf7
--- /dev/null
+++ b/extras/source/autotext/lang/is/acor/SentenceExceptList.xml
@@ -0,0 +1,151 @@
+<?xml version="1.0" encoding="utf-8"?>
+<block-list:block-list xmlns:block-list="http://openoffice.org/2001/block-list">
+ <block-list:block block-list:abbreviated-name="nh."/>
+ <block-list:block block-list:abbreviated-name="kk."/>
+ <block-list:block block-list:abbreviated-name="k."/>
+ <block-list:block block-list:abbreviated-name="kvk."/>
+ <block-list:block block-list:abbreviated-name="kv."/>
+ <block-list:block block-list:abbreviated-name="hk."/>
+ <block-list:block block-list:abbreviated-name="et."/>
+ <block-list:block block-list:abbreviated-name="ft."/>
+ <block-list:block block-list:abbreviated-name="þf."/>
+ <block-list:block block-list:abbreviated-name="ef."/>
+ <block-list:block block-list:abbreviated-name="nf."/>
+ <block-list:block block-list:abbreviated-name="þgf."/>
+ <block-list:block block-list:abbreviated-name="o.s.frv."/>
+ <block-list:block block-list:abbreviated-name="lo."/>
+ <block-list:block block-list:abbreviated-name="l."/>
+ <block-list:block block-list:abbreviated-name="no."/>
+ <block-list:block block-list:abbreviated-name="n."/>
+ <block-list:block block-list:abbreviated-name="so."/>
+ <block-list:block block-list:abbreviated-name="s."/>
+ <block-list:block block-list:abbreviated-name="o.fl."/>
+ <block-list:block block-list:abbreviated-name="e.þ.h."/>
+ <block-list:block block-list:abbreviated-name="sbr."/>
+ <block-list:block block-list:abbreviated-name="t.d."/>
+ <block-list:block block-list:abbreviated-name="þt."/>
+ <block-list:block block-list:abbreviated-name="þ.e."/>
+ <block-list:block block-list:abbreviated-name="þ.e.a.s."/>
+ <block-list:block block-list:abbreviated-name="e.h."/>
+ <block-list:block block-list:abbreviated-name="f.h."/>
+ <block-list:block block-list:abbreviated-name="afs."/>
+ <block-list:block block-list:abbreviated-name="alm."/>
+ <block-list:block block-list:abbreviated-name="alg."/>
+ <block-list:block block-list:abbreviated-name="a.n.l."/>
+ <block-list:block block-list:abbreviated-name="ath."/>
+ <block-list:block block-list:abbreviated-name="aths."/>
+ <block-list:block block-list:abbreviated-name="atr."/>
+ <block-list:block block-list:abbreviated-name="bls."/>
+ <block-list:block block-list:abbreviated-name="b.t."/>
+ <block-list:block block-list:abbreviated-name="dr."/>
+ <block-list:block block-list:abbreviated-name="e.k."/>
+ <block-list:block block-list:abbreviated-name="ennfr."/>
+ <block-list:block block-list:abbreviated-name="erl."/>
+ <block-list:block block-list:abbreviated-name="e.t.v."/>
+ <block-list:block block-list:abbreviated-name="fél."/>
+ <block-list:block block-list:abbreviated-name="fskj."/>
+ <block-list:block block-list:abbreviated-name="f.hl."/>
+ <block-list:block block-list:abbreviated-name="f.m."/>
+ <block-list:block block-list:abbreviated-name="frh."/>
+ <block-list:block block-list:abbreviated-name="fv."/>
+ <block-list:block block-list:abbreviated-name="fyrrn."/>
+ <block-list:block block-list:abbreviated-name="fyrrv."/>
+ <block-list:block block-list:abbreviated-name="gr."/>
+ <block-list:block block-list:abbreviated-name="hdr."/>
+ <block-list:block block-list:abbreviated-name="hf."/>
+ <block-list:block block-list:abbreviated-name="hl."/>
+ <block-list:block block-list:abbreviated-name="hr."/>
+ <block-list:block block-list:abbreviated-name="h.u.b."/>
+ <block-list:block block-list:abbreviated-name="hv."/>
+ <block-list:block block-list:abbreviated-name="höf."/>
+ <block-list:block block-list:abbreviated-name="íb."/>
+ <block-list:block block-list:abbreviated-name="ísl."/>
+ <block-list:block block-list:abbreviated-name="kap."/>
+ <block-list:block block-list:abbreviated-name="kl."/>
+ <block-list:block block-list:abbreviated-name="klst."/>
+ <block-list:block block-list:abbreviated-name="kr."/>
+ <block-list:block block-list:abbreviated-name="m.a.o."/>
+ <block-list:block block-list:abbreviated-name="m.a.s."/>
+ <block-list:block block-list:abbreviated-name="m.fl."/>
+ <block-list:block block-list:abbreviated-name="mgr."/>
+ <block-list:block block-list:abbreviated-name="mín."/>
+ <block-list:block block-list:abbreviated-name="n.á."/>
+ <block-list:block block-list:abbreviated-name="nmgr."/>
+ <block-list:block block-list:abbreviated-name="núv."/>
+ <block-list:block block-list:abbreviated-name="nr."/>
+ <block-list:block block-list:abbreviated-name="o.áfr."/>
+ <block-list:block block-list:abbreviated-name="o.m.fl."/>
+ <block-list:block block-list:abbreviated-name="p.s."/>
+ <block-list:block block-list:abbreviated-name="s.á."/>
+ <block-list:block block-list:abbreviated-name="s.d."/>
+ <block-list:block block-list:abbreviated-name="sek."/>
+ <block-list:block block-list:abbreviated-name="sf."/>
+ <block-list:block block-list:abbreviated-name="s.hl."/>
+ <block-list:block block-list:abbreviated-name="sk."/>
+ <block-list:block block-list:abbreviated-name="skv."/>
+ <block-list:block block-list:abbreviated-name="sl."/>
+ <block-list:block block-list:abbreviated-name="s.m."/>
+ <block-list:block block-list:abbreviated-name="sn."/>
+ <block-list:block block-list:abbreviated-name="s.ó."/>
+ <block-list:block block-list:abbreviated-name="s.st."/>
+ <block-list:block block-list:abbreviated-name="samþ."/>
+ <block-list:block block-list:abbreviated-name="shlj."/>
+ <block-list:block block-list:abbreviated-name="sign."/>
+ <block-list:block block-list:abbreviated-name="skál."/>
+ <block-list:block block-list:abbreviated-name="stk."/>
+ <block-list:block block-list:abbreviated-name="sþ."/>
+ <block-list:block block-list:abbreviated-name="t.h."/>
+ <block-list:block block-list:abbreviated-name="t.v."/>
+ <block-list:block block-list:abbreviated-name="tbl."/>
+ <block-list:block block-list:abbreviated-name="teg."/>
+ <block-list:block block-list:abbreviated-name="till."/>
+ <block-list:block block-list:abbreviated-name="umr."/>
+ <block-list:block block-list:abbreviated-name="uppl."/>
+ <block-list:block block-list:abbreviated-name="útg."/>
+ <block-list:block block-list:abbreviated-name="u.þ.b."/>
+ <block-list:block block-list:abbreviated-name="þ.á."/>
+ <block-list:block block-list:abbreviated-name="þ.h."/>
+ <block-list:block block-list:abbreviated-name="þ.m."/>
+ <block-list:block block-list:abbreviated-name="þ.u.l."/>
+ <block-list:block block-list:abbreviated-name="þýð."/>
+ <block-list:block block-list:abbreviated-name="e.Kr."/>
+ <block-list:block block-list:abbreviated-name="f.Kr."/>
+ <block-list:block block-list:abbreviated-name="f.o.t."/>
+ <block-list:block block-list:abbreviated-name="m.a."/>
+ <block-list:block block-list:abbreviated-name="m.m."/>
+ <block-list:block block-list:abbreviated-name="m.t.t."/>
+ <block-list:block block-list:abbreviated-name="m.ö.o."/>
+ <block-list:block block-list:abbreviated-name="nk."/>
+ <block-list:block block-list:abbreviated-name="n.k."/>
+ <block-list:block block-list:abbreviated-name="o.þ.h."/>
+ <block-list:block block-list:abbreviated-name="o.þ.u.l."/>
+ <block-list:block block-list:abbreviated-name="s.s."/>
+ <block-list:block block-list:abbreviated-name="t.a.m."/>
+ <block-list:block block-list:abbreviated-name="þ.a.l."/>
+ <block-list:block block-list:abbreviated-name="þ.á"/>
+ <block-list:block block-list:abbreviated-name="m."/>
+ <block-list:block block-list:abbreviated-name="a."/>
+ <block-list:block block-list:abbreviated-name="fn."/>
+ <block-list:block block-list:abbreviated-name="to."/>
+ <block-list:block block-list:abbreviated-name="f."/>
+ <block-list:block block-list:abbreviated-name="d."/>
+ <block-list:block block-list:abbreviated-name="e."/>
+ <block-list:block block-list:abbreviated-name="h."/>
+ <block-list:block block-list:abbreviated-name="m."/>
+ <block-list:block block-list:abbreviated-name="p."/>
+ <block-list:block block-list:abbreviated-name="R."/>
+ <block-list:block block-list:abbreviated-name="v."/>
+ <block-list:block block-list:abbreviated-name="t."/>
+ <block-list:block block-list:abbreviated-name="a.m.k."/>
+ <block-list:block block-list:abbreviated-name="mm."/>
+ <block-list:block block-list:abbreviated-name="sfn."/>
+ <block-list:block block-list:abbreviated-name="a.o."/>
+ <block-list:block block-list:abbreviated-name="ób."/>
+ <block-list:block block-list:abbreviated-name="óp."/>
+ <block-list:block block-list:abbreviated-name="op."/>
+ <block-list:block block-list:abbreviated-name="aukaf."/>
+ <block-list:block block-list:abbreviated-name="ao."/>
+ <block-list:block block-list:abbreviated-name="pfn."/>
+ <block-list:block block-list:abbreviated-name="efn."/>
+ <block-list:block block-list:abbreviated-name="frv."/>
+</block-list:block-list>
diff --git a/extras/source/autotext/lang/is/acor/mimetype
b/extras/source/autotext/lang/is/acor/mimetype
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/extras/source/autotext/lang/is/acor/mimetype
--
To view, visit https://gerrit.libreoffice.org/3862
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icaf8f611d0ceb46774e580ac1e8c3a57e786c28b
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Björgvin Ragnarsson <nifgraup@gmail.com>
Context
- [PATCH] Add Icelandic autocorrection support, Only SentenceExceptLis... · via Code Review
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.