This commit is contained in:
Jim O'Regan 2017-06-26 21:53:41 +01:00
parent 3c4d83aa6e
commit a8dff9133e

View File

@ -1,110 +1,110 @@
# encoding: utf8 # encoding: utf8
from __future__ import unicode_literals from __future__ import unicode_literals
from ..symbols import ORTH, LEMMA, NORM from ..symbols import ORTH, LEMMA, NORM, POS
_exc = { _exc = {
"'acha'n": [ "'acha'n": [
{ORTH: "'ach", LEMMA: "gach", NORM: "gach"}, {ORTH: "'ach", LEMMA: "gach", NORM: "gach", POS: DET},
{ORTH: "a'n", LEMMA: "aon", NORM: "aon"}], {ORTH: "a'n", LEMMA: "aon", NORM: "aon", POS: DET}],
"dem'": [ "dem'": [
{ORTH: "de", LEMMA: "de", NORM: "de"}, {ORTH: "de", LEMMA: "de", NORM: "de", POS: ADP},
{ORTH: "m'", LEMMA: "mo", NORM: "mo"}], {ORTH: "m'", LEMMA: "mo", NORM: "mo", POS: DET}],
"ded'": [ "ded'": [
{ORTH: "de", LEMMA: "de", NORM: "de"}, {ORTH: "de", LEMMA: "de", NORM: "de", POS: ADP},
{ORTH: "d'", LEMMA: "do", NORM: "do"}], {ORTH: "d'", LEMMA: "do", NORM: "do", POS: DET}],
"lem'": [ "lem'": [
{ORTH: "le", LEMMA: "le", NORM: "le"}, {ORTH: "le", LEMMA: "le", NORM: "le", POS: ADP},
{ORTH: "m'", LEMMA: "mo", NORM: "mo"}], {ORTH: "m'", LEMMA: "mo", NORM: "mo", POS: DET}],
"led'": [ "led'": [
{ORTH: "le", LEMMA: "le", NORM: "le"}, {ORTH: "le", LEMMA: "le", NORM: "le", POS: ADP},
{ORTH: "d'", LEMMA: "mo", NORM: "do"}], {ORTH: "d'", LEMMA: "mo", NORM: "do", POS: DET}],
"a.C.n.": [ "a.C.n.": [
{ORTH: "a.", LEMMA: "ante"}, {ORTH: "a.", LEMMA: "ante", POS: X},
{ORTH: "C.", LEMMA: "Christum"}, {ORTH: "C.", LEMMA: "Christum", POS: X},
{ORTH: "n.", LEMMA: "natum"}], {ORTH: "n.", LEMMA: "natum", POS: X}],
"m.sh.": [ "m.sh.": [
{ORTH: "m.", LEMMA: "mar"}, {ORTH: "m.", LEMMA: "mar", POS: ADP},
{ORTH: "sh.", LEMMA: "sampla"}], {ORTH: "sh.", LEMMA: "sampla", POS: NOUN}],
"M.F.": [ "M.F.": [
{ORTH: "M.", LEMMA: "Meán"}, {ORTH: "M.", LEMMA: "Meán", POS: NOUN},
{ORTH: "F.", LEMMA: "Fómhar"}], {ORTH: "F.", LEMMA: "Fómhar", POS: NOUN}],
"M.Fómh.": [ "M.Fómh.": [
{ORTH: "M.", LEMMA: "Meán"}, {ORTH: "M.", LEMMA: "Meán", POS: NOUN},
{ORTH: "Fómh.", LEMMA: "Fómhar"}], {ORTH: "Fómh.", LEMMA: "Fómhar", POS: NOUN}],
"R.C.": [ "R.C.": [
{ORTH: "Rr.", LEMMA: "roimh"}, {ORTH: "Rr.", LEMMA: "roimh", POS: ADP},
{ORTH: "C.", LEMMA: "Críost"}], {ORTH: "C.", LEMMA: "Críost", POS: NOUN}],
"r.Ch.": [ "r.Ch.": [
{ORTH: "r.", LEMMA: "roimh"}, {ORTH: "r.", LEMMA: "roimh", POS: ADP},
{ORTH: "Ch.", LEMMA: "Críost"}], {ORTH: "Ch.", LEMMA: "Críost", POS: NOUN}],
"r.Chr.": [ "r.Chr.": [
{ORTH: "r.", LEMMA: "roimh"}, {ORTH: "r.", LEMMA: "roimh", POS: ADP},
{ORTH: "Chr.", LEMMA: "Críost"}], {ORTH: "Chr.", LEMMA: "Críost", POS: NOUN}],
"R.Ch.": [ "R.Ch.": [
{ORTH: "R.", LEMMA: "roimh"}, {ORTH: "R.", LEMMA: "roimh", POS: ADP},
{ORTH: "Ch.", LEMMA: "Críost"}], {ORTH: "Ch.", LEMMA: "Críost", POS: NOUN}],
"R.Chr.": [ "R.Chr.": [
{ORTH: "R.", LEMMA: "roimh"}, {ORTH: "R.", LEMMA: "roimh", POS: ADP},
{ORTH: "Chr.", LEMMA: "Críost"}], {ORTH: "Chr.", LEMMA: "Críost", POS: NOUN}],
"⁊rl.": [ "⁊rl.": [
{ORTH: "", LEMMA: "agus"}, {ORTH: "", LEMMA: "agus", POS: CCONJ},
{ORTH: "rl.", LEMMA: "araile"}], {ORTH: "rl.", LEMMA: "araile", POS: ADJ}],
"srl.": [ "srl.": [
{ORTH: "s", LEMMA: "agus"}, {ORTH: "s", LEMMA: "agus", POS: CCONJ},
{ORTH: "rl.", LEMMA: "araile"}], {ORTH: "rl.", LEMMA: "araile", POS: ADJ}],
} }
for exc_data in [ for exc_data in [
{ORTH: "'gus", LEMMA: "agus", NORM: "agus"}, {ORTH: "'gus", LEMMA: "agus", NORM: "agus", POS: CCONJ},
{ORTH: "'ach", LEMMA: "gach", NORM: "gach"}, {ORTH: "'ach", LEMMA: "gach", NORM: "gach", POS: DET},
{ORTH: "ao'", LEMMA: "aon", NORM: "aon"}, {ORTH: "ao'", LEMMA: "aon", NORM: "aon"},
{ORTH: "'niar", LEMMA: "aniar", NORM: "aniar"}, {ORTH: "'niar", LEMMA: "aniar", NORM: "aniar", POS: ADV},
{ORTH: "'níos", LEMMA: "aníos", NORM: "aníos"}, {ORTH: "'níos", LEMMA: "aníos", NORM: "aníos", POS: ADV},
{ORTH: "'ndiu", LEMMA: "inniu", NORM: "inniu"}, {ORTH: "'ndiu", LEMMA: "inniu", NORM: "inniu", POS: ADV},
{ORTH: "'nocht", LEMMA: "anocht", NORM: "anocht"}, {ORTH: "'nocht", LEMMA: "anocht", NORM: "anocht", POS: ADV},
{ORTH: "m'", LEMMA: "mo"},, {ORTH: "m'", LEMMA: "mo", POS: DET},
{ORTH: "Aib.", LEMMA: "Aibreán"}, {ORTH: "Aib.", LEMMA: "Aibreán", POS: NOUN},
{ORTH: "Ath.", LEMMA: "athair"}, {ORTH: "Ath.", LEMMA: "athair", POS: NOUN},
{ORTH: "Beal.", LEMMA: "Bealtaine"}, {ORTH: "Beal.", LEMMA: "Bealtaine", POS: NOUN},
{ORTH: "Co.", LEMMA: "contae"}, {ORTH: "Co.", LEMMA: "contae", POS: NOUN},
{ORTH: "Ean.", LEMMA: "Eanáir"}, {ORTH: "Ean.", LEMMA: "Eanáir", POS: NOUN},
{ORTH: "Feab.", LEMMA: "Feabhra"}, {ORTH: "Feab.", LEMMA: "Feabhra", POS: NOUN},
{ORTH: "gCo.", LEMMA: "contae"}, {ORTH: "gCo.", LEMMA: "contae", POS: NOUN},
{ORTH: ".i.", LEMMA: "eadhon"}, {ORTH: ".i.", LEMMA: "eadhon", POS: ADV},
{ORTH: "lch.", LEMMA: "leathanach"}, {ORTH: "lch.", LEMMA: "leathanach", POS: NOUN},
{ORTH: "Lch.", LEMMA: "leathanach"}, {ORTH: "Lch.", LEMMA: "leathanach", POS: NOUN},
{ORTH: "lgh.", LEMMA: "leathanach"}, {ORTH: "lgh.", LEMMA: "leathanach", POS: NOUN},
{ORTH: "Lgh.", LEMMA: "leathanach"}, {ORTH: "Lgh.", LEMMA: "leathanach", POS: NOUN},
{ORTH: "Lún.", LEMMA: "Lúnasa"}, {ORTH: "Lún.", LEMMA: "Lúnasa", POS: NOUN},
{ORTH: "Már.", LEMMA: "Márta"}, {ORTH: "Már.", LEMMA: "Márta", POS: NOUN},
{ORTH: "Meith.", LEMMA: "Meitheamh"}, {ORTH: "Meith.", LEMMA: "Meitheamh", POS: NOUN},
{ORTH: "Noll.", LEMMA: "Nollaig"}, {ORTH: "Noll.", LEMMA: "Nollaig", POS: NOUN},
{ORTH: "Samh.", LEMMA: "Samhain"}, {ORTH: "Samh.", LEMMA: "Samhain", POS: NOUN},
{ORTH: "tAth.", LEMMA: "athair"}, {ORTH: "tAth.", LEMMA: "athair", POS: NOUN},
{ORTH: "tUas.", LEMMA: "Uasal"}, {ORTH: "tUas.", LEMMA: "Uasal", POS: NOUN},
{ORTH: "teo.", LEMMA: "teoranta"}, {ORTH: "teo.", LEMMA: "teoranta", POS: NOUN},
{ORTH: "Teo.", LEMMA: "teoranta"}, {ORTH: "Teo.", LEMMA: "teoranta", POS: NOUN},
{ORTH: "Uas.", LEMMA: "Uasal"}, {ORTH: "Uas.", LEMMA: "Uasal", POS: NOUN},
{ORTH: "uimh.", LEMMA: "uimhir"}, {ORTH: "uimh.", LEMMA: "uimhir", POS: NOUN},
{ORTH: "Uimh.", LEMMA: "uimhir"}]: {ORTH: "Uimh.", LEMMA: "uimhir", POS: NOUN}]:
_exc[exc_data[ORTH]] = [dict(exc_data)], _exc[exc_data[ORTH]] = [dict(exc_data)],
for orth in [ for orth in [