commit b3b38585acea83a5e31a947a100757bf360b918a Author: Ifeanyijasper Date: Sat Jun 12 19:33:09 2021 +0100 adding lemma of verbs diff --git a/.gitignore b/.gitignore index 43aa025..0d3ae9a 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,6 @@ /config /*.prob /*.hfst +/history.log +/*.txt +/coverage-hfst.sh \ No newline at end of file diff --git a/apertium-ibo.ibo.lexd b/apertium-ibo.ibo.lexd index 0c01788..4a2a27b 100644 --- a/apertium-ibo.ibo.lexd +++ b/apertium-ibo.ibo.lexd @@ -33,7 +33,7 @@ PATTERNS Nouns N1 Pronouns PRN -:V(1) Verbs V(1): +:V-Affixes(1) Verbs [:] :V-Affixes(2) V-Affixes(3) Numerals [:] Prepositions [:] Adjectives [:] @@ -50,11 +50,16 @@ LEXICON PRN : -LEXICON V(2) - -:i> : -:{A}> : +LEXICON V-Affixes(3) +# this lexicon consists of 3 columns: +# - prefix +# - suffix +# - tags +# each row can be any combination of these +:i> : : +:{A}> : : +: :ra : ############################################################################### ### L E X I C O N ### @@ -64,60 +69,172 @@ LEXICON V(2) #=============# LEXICON Nouns #=============# - +nnà:nnà # "father" +nne:nne # "mother" +nwanyi:nwanyi # "woman" +nwoke:nwoke # "man" +nwa-nwoke:nwa-nwoke # "boy" +nwa-nwoke:nwa-nwaanyi # "girl" +nwa-okoro:nwa-okoro # "son" +nwa-agbọghọ:nwa-agbọghọ # "daughter" +nwa:nwa # "child" +ụmụaka:ụmụaka # "children" +nwanne-nwaanyi:nwanne-nwaanyi # "sister" +nwanne-nwoke:nwanne-nwoke # "brother" +ndị-mmadụ:ndị-mmadụ # "people" +di:di # "husband" +nwunye:nwunye # "wife" +amadi:amadi # "gentleman" +nwada:nwada # "lady" +imi:imi # "nose" +ire:ire # "tongue" +afo:afo # "stomach" +ahụ:ahụ # "body" +agba:agba # "jaw" +ihu:ihu # "face" +ahu:ahu # "body" +anya:anya # "eye, eyes" +isi:isi # "isi" +obara:obara # "blood" +mkpụlụ-obi:mkpụlụ-obi # "heart" +obi:obi # "chest" +agba:agba # "chin" +ntutu:ntutu # "hair" +ụkwụ:ụkwụ # "foot, leg" +aka:aka # "hand" +ọlụ:ọlụ # "neck" +ara:ara # "breast" +ntị:ntị # "ear" +mkpịsịaka:mkpịsịaka # "finger" +mkpịsịụkwụ:mkpịsịụkwụ # "toe" +agba:agba # "chin, jaw" +obo-aka:obo-aka # "palm" +onụ:onụ # "mouth" +azụ:azụ # "back" +mgbili-afo:mgbili-afo # "intestine" +akpataụkwụ:akpataụkwụ # "thigh" +ikpere:ikpere # "kneel" +ukwu:ukwu # "waist" +nti:nti # "cheek" +nku-anya:nku-anya # "eyebrow" +eze:eze # "tooth, teeth" +igbirigb-onu:igbirigbi-onu # "lip" +ubu:ubu # "shoulder" +mgbaji-aka:mgbaji-aka # "wrist" +mgbaji-ụkwụ:mgbaji-ụkwụ # "ankle" +ike-ụkwụ:ike-ụkwụ # "heel" +ike:ike # "buttom" +ntula-aka:ntula-aka # "elbow" +afa-onu:afa-onu # "moustache" +ụzọ:ụzọ # "way" +ogige:ogige # "garden" +windo:windo # "window" +tebụl:tebụl # "table, tables" +oche:oche # "chair, chairs" +ụlọ:ụlọ # "house" +aturu:aturu # "sheep" +akpi:akpi # "scorpion" +ịnyịnya:ịnyịnya # "horse" +ọdụm:ọdụm # "lion" +nkịta:nkịta # "dog" +ọkụkọ:ọkụkọ # "chicken" +agu:agu # "leopard, tiger" +nnụnụ:nnụnụ # "bird, birds" +ehi:ehi # "cow, cattle" +azụ:azụ # "fish" +mgbada:mgbada # "antelope" +ụsụ:ụsụ # "bat" +nwamba:nwamba # "cat" +ọbọgwụ:ọbọgwụ # "duck" +ugo:ugo # "eagle" +enyi:enyi # "elephant" +awọ:awọ # "frog" +ịnyịnya-ibu:ịnyịnya-ibu # "mule, donkey" +ewu:ewu # "goat" +ọkwa:ọkwa # "goose" +nwa-atụtụ:nwa-atụtụ # "lamb" +ngwere:ngwere # "lizard" +enwe:enwe # "monkey" +oke:oke # "mouse, rat" +ikwikwi:ikwikwii # "owl" +ezi:ezi # "pig" +oke-ụlọ:oke-ụlọ # "rabbit" +oke-ọkụkọ:oke-ọkụkọ # "rooster" +eju:eju # "snail" +agwọ:agwọ # "snake" +nza:nza # "sparrow" +ọsa:ọsa # "squirrel" +mbe:mbe # "tortoise" +torotoro:torotoro # "turkey" +nche-ụlọ:nche-ụlọ # "wall gecko" +udele:udele # "vulture" +ahụhụ:ahụhụ # "ant" +aṅu:aṅu # "bee" +ụbụba:ụbụba # "butterfly" +eruru:eruru # "caterpillar" +ụchịcha:ụchịcha # "cockroach" +iji:iji # "fly" +anwụnta:anwụnta# "mosquito" +ududo:ududo # "spider" +akịka:akịka # "termite" +igwu:igwu # "tick" +anwụ:anwụ # "wasp" +okpo:okpo # "worm" +ututu:ututu # "morning" abali:abali # "night" +onwa:onwa # "month" +ugwu:ugwu # "mountain" +ahihia:ahihia # "grass" +anụmanụ:anụmanụ # "animal" +ihu-igwe:ihu-igwe # "weather" +ala:ala # "earth" +igba:igba # "season" +ikuku:ikuku # "air" +obodo:obodo # "city" +mmiri:mmiri # "water" +ndụ:ndụ # "life" +ọkụ:ọkụ # "fire" +mkpụrụ:mkpụrụ # "fruit" +osimiri:osimiri # "sea" +osísí:osísí # "tree" +ubi:ubi # "field" +uchichi:uchichi # "night" +ufereoyi:ufereoyi # "wind" +urupuru:urupuru # "cloud" +ụwa:ụwa # "world" +ọdọ:ọdọ # "lake" +ohia:ohia # "forest" +ọkụkụ:ọkụkụ # "plant" abu:abu # "song" achịcha:achịcha # "bread" afa:afa # "name" afịa:afịa # "market" -afo:afo # "stomach" -agba:agba # "jaw" agbọ:agbọ # "bond" ago:ago # "defense" -agu:agu # "tiger" agwa:agwa # "character" ahịa:ahịa # "market" -ahihia:ahihia # "grass" -ahu:ahu # "body" aji:aji # "wool" ajuju:ajuju # "question" -aka:aka # "hand" akpa:akpa # "bag" -akpi:akpi # "scorpion" akpu:akpu # "knob" akpụkpọ:akpụkpọ # "shoes" akwa:akwa # "cloth" +uwe:uwe # "shirt" akwụkwọ:akwụkwọ # "book" -ala:ala # "earth" alaka:alaka # "branch" -amadi:amadi # "gentleman" anụ:anụ # "meat" -anụmanụ:anụmanụ # "animal" -anya:anya # "eye, eyes" -isi:isi # "isi" arọ:arọ # "arrow" -aturu:aturu # "sheep" -azu:azu # "fish" bọta:bọta # "butter" chiiz:chiiz # "cheese" -di:di # "husband" ẹbẹ:ẹbẹ # "apology" ebo:ebo # "tribe" echebe:echebe # "protection" -ehi:ehi # "cow" enyì:enyì # "friend" eze:eze # "king" Ifẹ:Ifẹ # "love" -igba:igba # "season" -ihu-igwe:ihu-igwe # "weather" -ihu:ihu # "face" ihunaanya:ihunaanya # "love" íjè:íjè # "movement" ijèọma:ijèọma # "farewell" -ikuku:ikuku # "air" -imi:imi # "nose" -ịnyịnya:ịnyịnya # "horse" -ire:ire # "tongue" iro:iro # "enemy" iru:iru # "security" isi:isi # "odor" @@ -127,79 +244,34 @@ kọfị:kọfị # "coffee" mbà:mbà # "depression" mbido:mbido # "origin" mkpisi:mkpisi # "stick" -mkpụrụ:mkpụrụ # "fruit" mma:mma # "quality" mmechị:mmechị # "conclusion" -mmiri:mmiri # "water" -ndụ:ndụ # "life" ndụdụ:ndụdụ # "fork" ngaji:ngaji # "spoon" -nkịta:nkịta # "dog" nku:nku # "wood" -nnà:nnà # "father" -nne:nne # "mother" ńnú:ńnú # "salt" nri:nri # "food" nsogbu:nsogbu # "problem" ntị:ntị # "listen" ntụ:ntụ # "flour"na -ntutu:ntutu # "hair" -nwa:nwa # "son" -nwanyi:nwanyi # "woman" -nwoke:nwoke # "man" -obara:obara # "blood" -obi:obi # "heart" obianuohia:obianuohia # "park" -obodo:obodo # "city" oche:oche # "seat" -ọdọ:ọdọ # "lake" -ọdụm:ọdụm # "lion" -ohia:ohia # "forest" ọka:ọka # "corn" oké:oké # "border" -okpara:okpara # "son" okpu:okpu # "hat" okpueze:okpueze # "crown" -ọkụ:ọkụ # "fire" -ọkụkọ:ọkụkọ # "chicken" -ọkụkụ:ọkụkụ # "plant" -ọlụ:ọlụ # "neck" ọma:ọma # "well" ọnụ:ọnụ # "together" -onwa:onwa # "month" -osimiri:osimiri # "sea" -osísí:osísí # "tree" sanwich:sanwich # "sandwich" taa:taa # "tar" ube:ube # "spear" -ubi:ubi # "field" -uchichi:uchichi # "night" -ufereoyi:ufereoyi # "wind" ugbo:ugbo # "vehicle" -ugwu:ugwu # "mountain" -ukwu:ukwu # "foot" -ụlọ:ụlọ # "house" ụra:ụra # "sleep" na-ehi-ụra:na-ehi-ụra # "sleeping" -urupuru:urupuru # "cloud" usoro:usoro # "format" -ututu:ututu # "morning" -ụwa:ụwa # "world" -uwe:uwe # "shirt" -ụzọ:ụzọ # "way" -ogige:ogige # "garden" -nne:nne # "mother" egwuregwu:egwuregwu # "game" -windo:windo # "window" -ụmụaka:ụmụaka # "children" n'ime:n'ime # "inside" -tebụl:tebụl # "table, tables" -oche:oche # "chair, chairs" -nnụnụ:nnụnụ # "bird, birds" -nwa-nwoke:nwa-nwoke # "boy" -nwa-agbọghọ:nwa-agbọghọ # "girl" -nwanne-nwaanyi:nwanne-nwaanyi # "sister" -ndị-mmadụ:ndị-mmadụ # "people" + #================# LEXICON Pronouns @@ -217,7 +289,7 @@ ha-abụọ:ha-abụọ # "both" ọzọ:ọzọ # "another" ha:ha # "they" nkaa:nkaa # "that" -ihe-obula:ihe-obula # "everything, anything" +ihe-obula:ihe-obula # "everything, anything" #=============# @@ -238,7 +310,7 @@ ga:ga # "must" ibụ:bụ # "be" idi:di # "be" nwere:nwere # "have, has" -imẹ:mẹ # "make" +imẹ:imẹ # "make" isi:si # "say" kwuoo:kwuoo # "says" ijẹ:jẹ # "go" @@ -248,7 +320,7 @@ maara:maara # "knows" ifụ:fụ # "see" ibia:bia # "come" ichẹ:chẹ # "think" -chee:chee # "thinks" +#chee:chee # "thinks" inẹ:nẹ # "look" lee-anya:lee-anya # "looks" choo:choo # "want" @@ -271,9 +343,9 @@ itu:tu # "throw" eme:me # "does, doing" ime:me # "do" mere:mere # "did" -inwa:nwa # "try" -iwo:wo # "become" -ibido:bido # "begin" +inwa:inwa # "try" +iwo:iwo # "become" +ibido:ibido # "begin" ezigbo:ezigbo # "very" ụda:ụda # "sound" nwere-ike:nwere-ike # "can" @@ -299,41 +371,105 @@ mmasị:mmasị # "likes" #=================# LEXICON Adjectives #=================# +iwe:iwe # "angry" +ọjọọ:ọjọọ # "bad" +nnukwu:nnukwu # "big" +ọma:ọma # "good, beautiful" +ezigbo:ezigbo # "good" +ọcha:ọcha # "clean" +nso:nso # "close, closer" +siri-ike:siri-ike # "difficult, hard" +oji:oji # "dirty" +mfe:mfe # "easy" +anya:anya # "far" +aṅụrị:aṅụrị # "happy" +elu:elu # "high" +aka-ekpe:aka-ekpe # "left" +aka-iri:aka-iri # "right" +ogologo:ogologo # "long, tall" +ala:ala # "low" +obi-ụtọ:obi-ụtọ # "happy" +ọụ:ọụ # "joy" +ngwa-ngwa:ngwa-ngwa # "quick" +nwanyọ:nwanyọ # "quiet" +obi-ọjọọ:obi-ọjọọ # "sad" +mkpụmkpụ:mkpụmkpụ # "short" +ihere:ihere # "shy" +obele:obele # "small" +obere:obere # "small" +nwatakịrị:nwatakịrị # "little" +oyi:oyi # "cold" +ọkụ:ọkụ # "warm, hot" +ọhụrụ:ọhụrụ # "new" +agadị:agadị # "old" +ochie:ochie # "old" + +nke-ahụ:nke-ahụ # "that" +ndi-ahụ:ndi-ahụ # "those" +nke-a:nke-a # "this" +ndị-a:ndỊ-a # "these" + -öma:öma # "good, beautiful" -öcha:öcha # "white, clean" -oji:oji # "black" -öjöö:öjöö # "ugly, bad" -ukwu:ukwu # "big" +öjöö:öjöö # "ugly, " obele:obele # "small" niile:niile # "all, each, every" dum:dum # "all, each, every" n'èzí:n'èzí # "outside" n'azụ:n'azụ # "behind" mma:mma # "nice" -nnukwu:nnukwu # "big" -obere:obere # "small" -ochie:ochie # "old" -nwatakịrị:nwatakịrị # "little" -oyi:oyi # "cold" -mechara:mechara # "finished" +mechara:mechara # "finished" nyocha:nyocha # "searching" na-anwa:na-anwa # "trying" -obi-ụtọ:obi-ụtọ # "happy" abia:abia # "coming" -ọkụ:ọkụ # "warm, hot" nke-ha:nke-ha # "theirs" -nso:nso # "closer" +ojii:ojii # "black" +igwe-igwe:igwe-igwe # "blue" +aja:aja # "brown" +akwụkwọ-ndụ-akwụkwọ-ndụ:akwụkwọ-ndụ-akwụkwọ-ndụ # "green +ọla-edo:ọla-edo # "gold" +ntụ-ntụ:ntụ-ntụ # "gray" +pọpọ-pọpọ:pọpọ-pọpọ # "orange" +ire-ire:ire-ire # "pink" +odo-odo:odo-odo # "purple" +ọbara-ọbara:ọbara-ọbara # "red" +ọla-ọcha:Ọla-ọcha # "silver" +edo-edo:edo-edo # "yellow" +ọcha:ọcha # "white" #===================# LEXICON Prepositions #===================# -na:na # "in, at, on , with" -site:site # "through, site" -n'azu:n'azu # "behind" -nke:nke # "of" +maka:maka # "about, for, of" +n'elu:n'elu # "above" +gburugburu:gburugburu # "around" +n'akụkụ:n'akụkụ # "aside, beside" +na:na # "at,to" +n'etiti:n'etiti # "amoung, between" +tupu:tupu # "before" +n'azụ:n'azụ # "behind" +n'okpuru:n'okpuru # "below" +karịrị:karịrị # "beyond" +n'ala:n'ala # "down" +n'oge:n'oge # "during" +belụsọ:belụsọ # "except" +si:si # "from, of" +site:site # "from" +n'ihu:n'ihu # "in front, opposite" +gbasara:gbasara # "in regard" +n'ime:n'ime # "inside" +n’agbanyeghị:n’agbanyeghị # "in spite of" +nso:nso # "near" +nke:nke # "of" +n'elu:n'elu # "on, up" +kemgbe:kemgbe # "since" +ya-mere:ya-mere # "therefore" +site-na:site-na # "through" +n'okpuru:n'okpuru # "under" +ruo-mgbe:ruo-mgbe # "until" + +na:na # "in, with" #=================#