Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Trying to link nonexistent states with ACX file #93

Open
ftyers opened this issue Jun 23, 2020 · 0 comments
Open

Error: Trying to link nonexistent states with ACX file #93

ftyers opened this issue Jun 23, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@ftyers
Copy link
Member

ftyers commented Jun 23, 2020

$ lt-comp lr apertium-scn.scn.dix scn.automorf.bin apertium-scn.scn.acx
Error: Trying to link nonexistent states (-1, 21, 0)
$ lt-comp lr apertium-scn.scn.dix scn.automorf.bin 
apostrophes@postblank 166 230
final@inconditional 34 117
main@standard 38215 90951

Here is a minimal diff of a working .acx vs. not working one:

$ git diff apertium-scn.scn.acx
diff --git a/apertium-scn.scn.acx b/apertium-scn.scn.acx
index b07057a..cd74b41 100644
--- a/apertium-scn.scn.acx
+++ b/apertium-scn.scn.acx
@@ -34,10 +34,12 @@
     <equiv-char value="í"/>
   </char>
 
+<!--
   <char value="ò">
     <equiv-char value="o"/>
     <equiv-char value="ó"/>
   </char>
+-->
 
   <char value="ù">
     <equiv-char value="u"/>

The problem is probably in Compiler::matchTransduction().

@ftyers ftyers added the bug Something isn't working label Jun 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant