8000 hfst-pair-test gives unhelpful feedback when strings are misaligned · Issue #583 · hfst/hfst · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hfst-pair-test gives unhelpful feedback when strings are misaligned #583

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

Open
trondtynnol opened this issue Sep 28, 2024 · 0 comments
Open

Comments

@trondtynnol
Copy link

Hi

When using hfst-pair-test in Xerox mode, it sometimes happens that one forgets to add a symbol in one of the strings, for example the corresponding lower-side 0 to an upper-side ^Trigger.

!!€ word^Trigger1^Trigger2
!!€ wørd0

hfst-pair-test reacts to this by stating for every single rule that the rule fails. It would be much more helpful if the program would verify that the strings contain the same number of symbols before testing, and otherwise produce an error like Strings have an unequal number of symbols

I am using hfst-pair-test 0.6 (hfst 3.16.0)

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

No branches or pull requests

1 participant
0