giellalt / lang-kpv

Finite state and Constraint Grammar based analysers and proofing tools, and language resources for the Komi-Zyrian language
https://giellalt.uit.no
GNU Lesser General Public License v3.0
8 stars 0 forks source link

Komi transducer decays into an automaton. ( #7

Closed albbas closed 14 years ago

albbas commented 14 years ago

This issue was created automatically with bugzilla2github

Bugzilla Bug 812

Date: 2009-09-22T00:08:00+02:00 From: Trond Trosterud <> To: Trond Trosterud <> CC: sjur.n.moshagen

Last updated: 2009-12-01T23:30:54+01:00

albbas commented 14 years ago

Comment 3116

Date: 2009-09-22 00:08:00 +0200 From: Trond Trosterud <>

~/gtsvn/kt/kom/src$ukom ябыр ябыр ябыр

expected was ябыр ябыр+N+Sg+Nom

This comes with a long row of error msgs:

uilding lexicon... ERROR: Sublexicon is mentioned but not defined. (VERBNEGATIVE)

ERROR: Sublexicon is mentioned but not defined. (SUPERL)

ERROR: Sublexicon is mentioned but not defined. (REL)

This is a mystery. Thety should all be there.

albbas commented 14 years ago

Comment 3117

Date: 2009-09-22 00:22:48 +0200 From: Trond Trosterud <>

Here is the thing: The Makefile reads from kom-lex.txt, it reads from the derived files in the bin catalogue, but it does not read from the other morphology files.

Here are the relevant Makefile lines:

LEXS = $(patsubst %,../bin/%-$(lg)-lex.txt,$(shell perl ../script/xml2lexc --pos_list --lex_file=kom-lex.xml))

kom-lex.save: ../bin/kom-lex.save ../bin/kom-lex.save: kom-lex.txt $(LEXS) noun-kom-morph.txt verb-kom-morph.txt \ pron-kom-morph.txt punct-kom-lex.txt num-kom-morph.txt # closed-kom-lex.txt @echo @echo " Building kom-lex.save " ; @echo printf "compile-source $^ \n\

The error msg:

Starting in utf8-mode. lexc> compile-source kom-lex.txt ../bin/PRON-REL-kom-lex.txt ../bin/ATTR-kom-lex.txt ../bin/PART-NEG-kom-lex.txt ../bin/N-kom-lex.txt ../bin/NUM-kom-lex.txt ../bin/IDIOM-kom-lex.txt ../bin/VDER-kom-lex.txt ../bin/NUM-ORD-kom-lex.txt ../bin/V-AUX-kom-lex.txt ../bin/PRON-Q-kom-lex.txt ../bin/PRON-NEG-kom-lex.txt ../bin/PRON-DEM-kom-lex.txt ../bin/V-FREQ-kom-lex.txt ../bin/V-DUR-kom-lex.txt ../bin/PRON-REFL-kom-lex.txt ../bin/INTERJ-kom-lex.txt ../bin/CONJ-ADVERSATIVE-kom-lex.txt ../bin/PART-kom-lex.txt ../bin/CONJ-NEG-kom-lex.txt ../bin/GER-kom-lex.txt ../bin/QUANT-kom-lex.txt ../bin/A-SUPERL-kom-lex.txt ../bin/PART-INTER-kom-lex.txt ../bin/PRON-INTER-kom-lex.txt ../bin/V-INST-kom-lex.txt ../bin/PROP-kom-lex.txt ../bin/V-kom-lex.txt ../bin/AD-A-kom-lex.txt ../bin/N-ABSTR-kom-lex.txt ../bin/PART-ONOM-kom-lex.txt ../bin/VNEG-kom-lex.txt ../bin/A-kom-lex.txt ../bin/ADV-kom-lex.txt ../bin/ADVROOT-kom-lex.txt ../bin/PRON-INDEF-kom-lex.txt ../bin/PRON-PERS-kom-lex.txt ../bin/ADV-SUPERL-kom-lex.txt ../bin/CONJ-kom-lex.txt opening "kom-lex.txt" Opening 'kom-lex.txt'... Root...30, POSTP1a...1, POSTP1...1, End1...1, End1a...1, End2...1, EndConj...1, EndPart...1, EndRefl...1, EndInterj...1, EndNeg...1, EndIndef...1, EndA...1, K...5

Reading from '../bin/PRON-REL-kom-lex.txt' PRON-REL... Warning: Ignoring info strings. 7 ... (everything to follow is files in the bin catalogue) ...

Reading from '../bin/CONJ-kom-lex.txt' CONJ... Warning: Ignoring info strings. 22 Building lexicon... ERROR: Sublexicon is mentioned but not defined. (VERBNEGATIVE)

(( Thus, no ref to verb-kom-morph.txt, etc.

albbas commented 14 years ago

Comment 3135

Date: 2009-12-01 23:30:54 +0100 From: Trond Trosterud <>

apply up> ябыр ябыр+N+Sg+Nom ябыр+N+Sg+Acc

This specific bug is closed. It now works on victorio, by using xfst. Not locally, and not using lookup. So things are not quite well, but the error is not here.