Comments (3)
I have found the reason. I had a .lexc file containing:
----------------------------------
Multichar_Symbols +Con
LEXICON Root
Con;
LEXICON Con
akár AddCon;
akárcsak AddCon;
...
LEXICON AddCon
+Con:0 #;
------------------------------------
I changed in this file Con to Koet, and that fixed the problem.
This file is part of hunmisc.fst
hunmisc is created by:
foma -l enhumisc.foma <savestackmisc.sh
where savestackmisc.sh is:
save stack hunmisc.fst
and enhumisc.foma is a .foma file containing:
--------------------------------------------------
definitions...
echo ">>> read in enhuadv <<<"
read lexc /home/en/program/foma/tktest/lexc/misc/enhuadv1.lexc
define Lexiconadv
define Grammaradv Lexiconadv .o.
CleanupEndings .o.
Cleanup .o.
ToUpCase ;
...
regex Grammaradv | Grammarsentint | Grammarpost | Grammarvbpfx | Grammarcon |
Grammarneg | Grammardet | Grammartwin ;
------------------------------------------------------------------------------
I still believe, this name clash is a foma problem, that needs to be fixed.
Verbs have nothing to do with misc type words, they just need to coexist.
Original comment by [email protected]
on 16 Aug 2012 at 9:41
from foma.
Continued to find the reason, and found it.
I forgot to define in the verb lexc files
Multichar_Symbols
+CondIndefSg1 +CondIndefSg2 +CondIndefSg3
+CondIndefPl1 +CondIndefPl2 +CondIndefPl3
+CondDefSg1 +CondDefSg2 +CondDefSg3
+CondDefPl1 +CondDefPl2 +CondDefPl3
+ConjIndefSg1 +ConjIndefSg2 +ConjIndefSg3
+ConjIndefPl1 +ConjIndefPl2 +ConjIndefPl3
+ConjDefSg1 +ConjDefSg2 +ConjDefSg3
+ConjDefPl1 +ConjDefPl2 +ConjDefPl3
+PastIndefSg1 +PastIndefSg2 +PastIndefSg3
+PastIndefPl1 +PastIndefPl2 +PastIndefPl3
+PastDefSg1 +PastDefSg2 +PastDefSg3
+PastDefPl1 +PastDefPl2 +PastDefPl3
and this caused the mysterious error. Foma has no fault, my logic was not
complete.
We can close this issue.
Original comment by [email protected]
on 17 Aug 2012 at 3:57
from foma.
Original comment by [email protected]
on 21 Aug 2012 at 7:39
- Changed state: Invalid
from foma.
Related Issues (20)
- Left repalce epenthesis rule don't work HOT 1
- For compilation such quiet mode would be good, that printed only errors
- How to represent FST network visually HOT 3
- memory hog in apply.c xxstrdup, string never freed, if used in flookup.
- Context restriction doesn't work with term negation HOT 2
- BOM symbol is not ignored
- Various code validity issues
- fsm_read_prolog() cannot handle quotation marks in symbols HOT 1
- view net blows up if a symbol contains \"
- fomalib.h should be protected against double inclusion
- An FSA that behaves strange HOT 2
- Foma exits 0 - zero - on lexc syntax error
- converted xfsm to foma does not work HOT 5
- r227 build fails on wheezy, precise, saucy HOT 1
- flookup throws error HOT 1
- Looking for advice on unsuccesful compilation on out of memory error HOT 4
- Rule representation HOT 3
- Some help applying rules HOT 3
- _eq function with flag diacritics didn't work
- reduplication restriction
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from foma.