[Replies inline] On Tue, 14 Mar 2017 13:41:03 +0300 mansur <[email protected]> wrote:
> 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? This is how we structured the linguistic data in the SVN of giellatekno / University of Tromsø, you may find some informations on the website [1,2] or browse the SVN[3]. This setup is compatible with apertium and there are some existing pairs[4] using these language modules instead of apertium ones. [1] <http://giellatekno.uit.no/doc/infra/infraremake/> [2] <http://giellatekno.uit.no/doc/infra/infraremake/NewInfraOverview.html> [3] <https://gtsvn.uit.no/langtech/trunk/langs/fin/src/morphology/> [4] <https://svn.code.sf.net/p/apertium/svn/incubator/apertium-fin-est/> -- Doktor Tommi A Pirinen, Computational Linguist, <https://flammie.github.io/purplemonkeydishwasher/>, Universität Hamburg, Hamburger Zentrum für Sprachkorpora <http://hzsk.de>. CLARIN-D Entwickler. President of ACL SIGUR SIG for Uralic languages <http://gtweb.uit.no/sigur/>. I tend to follow inline-posting style in desktop e-mail messages. ------------------------------------------------------------------------------ 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
