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

Acronyms do not get suggestions as given by libhfstospell #16

Open
snomos opened this issue Dec 8, 2015 · 0 comments
Open

Acronyms do not get suggestions as given by libhfstospell #16

snomos opened this issue Dec 8, 2015 · 0 comments

Comments

@snomos
Copy link

snomos commented Dec 8, 2015

Compare the following two pages with speller test results:

https://gtsvn.uit.no/langtech/trunk/langs/sma/devtools/speller_result_typos.vk.xml (voikkospell)

and

https://gtsvn.uit.no/langtech/trunk/langs/sma/devtools/speller_result_typos.to.xml (hfst-ospell-office)

The main table has the following columns:

  • input
  • expected output
  • edit distance between the first two
  • list of suggestions given by the speller, if any

The correct suggestion is highlighted, and the background colour of the row also indicates the position of the correct suggestion (or lack thereof).

Now search for the string "TV-esne" on both pages, and compare the suggestion lists. The suggestions from voikkospell corresponds to what you would get with the following command:

echo "TV-esne" | hfst-ospell -S sma.zhfst

The suggestions from hfst-ospell-office do not. Also look at the input "TV’esne" two rows further down, for an example of even more diverging suggestions.

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