TinoDidriksen / spellers

Front-ends and packaging scripts for spellers. Git read-only mirror.
GNU General Public License v3.0
1 stars 0 forks source link

Acronyms do not get suggestions as given by libhfstospell #16

Open snomos opened 8 years ago

snomos commented 8 years ago

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:

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.