Hello!

File .lexc (in apertium-tat) is becoming bigger and bigger. Currently it
countains more than 20 800 lines already. It is getting more and more
uncomfortable to work with it (adding different types of words, observing
the structure of rules and so on). I don't know if it is possible or not,
but I would like to suggest some changes:

1) Maybe we should separate code and lists. We need it to, first of all,
for more convenient adding new words, sorting these lists and we have less
chance of "changing" occasionally something else. Most of all, it is very
time consuming to navigate through the file currently.

Maybe we need something like this,

!=============!
 LEXICON Nouns
!=============!
import nouns.txt

File nouns.txt should contain words only:
абажур:абажур N1 ; ! ""
аббат:аббат N1 ; ! ""
аббатлык:аббатлык N1 ; ! ""

2) Every list (vocabulary) should be in separate file. For example, even
Nouns and every proper name group (Cognoms, Patronyms, Anthroponyms,
Toponyms...) should be in different files:

!=============!
 LEXICON Nouns
!=============!
import nouns.txt

!===================!
 LEXICON ProperNouns
!===================!
import proper_cognoms.txt
import proper_patronyms.txt
import proper_toponyms.txt


What do you think of it?

Mansur
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to