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

An FSA that behaves strange #52

Open
GoogleCodeExporter opened this issue Mar 3, 2016 · 2 comments
Open

An FSA that behaves strange #52

GoogleCodeExporter opened this issue Mar 3, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1st case:
1. load stack strange.fst
2. view net  (*)
3. write prolog strange.prolog
4. read prolog strange.prolog
5. view net  (**)

2nd case:
1. Compile hun_cg2.rlx with fomacg
2. load stack strange.fst
3. define Sentence
4. read prolog R_1_43.prolog
5. define Rule
6. read regex Sentence .o. Rule;  (*)
7. read regex Sentence;
8. random-upper  (**)
9. pop
10. read regex Rule;
11. apply down (**)


What is the expected output? What do you see instead?
1st case:
The net in (*) is linear; the net in (**) is star-shaped.

2nd case:
The composition in step 6 (*) does nothing -- Sentence remains unchanged. 
However, if you apply down Rule on Sentence's random-upper (one word, since 
it's linear), Rule correctly #X#'s out the non-pronoun readings of "<az>".

What version of the product are you using? On what operating system?
0.9.17alpha
Latest fomacg.

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 30 Jul 2013 at 2:45

Attachments:

@GoogleCodeExporter
Copy link
Author

The fomacg part is so that you can reproduce the problem. The point is: there 
is sentence where apply down and .o. produces different results, even though 
they shouldn't.

Original comment by [email protected] on 30 Jul 2013 at 2:46

@GoogleCodeExporter
Copy link
Author

OK, disregard the fomacg part, it was due to the fact that the space wasn't 
part of the wordform symbol. However, the 1st case still stands.

Original comment by [email protected] on 31 Jul 2013 at 8:41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant