hfst
hfst copied to clipboard
Helsinki Finite-State Technology (library and application suite)
$ hfst-regexp2fst -V hfst-regexp2fst 0.2 (hfst 3.15.0) $ echo '[] -> a || _' | hfst-regexp2fst | hfst-fst2txt 0 1 @0@ a 0.000000 1 0 a a 0.000000 1 0...
I have a python package with a dependency on `hfst==3.16.0.1`, that I am unable to install on an old system. The problem is essentially replicated as such: ```bash (venv) [neahtta@gtdict...
``` $ printf 'ja\r\nja' | hfst-tokenise -g tokeniser-gramcheck-gt-desc.pmhfst "" "ja" CC "já" Interj \n "" "ja" CC "já" Interj $ printf 'ja\r\nja' | hfst-tokenise -g tokeniser-gramcheck-gt-desc.pmhfst | sed 's,\x0d,CR,' ""...
``` $ echo 'a' | hfst-regexp2fst | hfst-fst2fst -O > blah.hfst $ echo '^l+t$' | hfst-proc -g blah.hfst Segmentation fault (core dumped) $ hfst-proc --version hfst-proc 0.0 (hfst 3.15.2) Jan...
Basically in any giellalt target pair in apertium, e.g.: ``` echo "Satu: Mist lii sávnumeehid!" | hfst-proc --weight-classes 1 -w -e '/home/flammie/github/apertium/apertium-fin-smn/smn-fin.automorf-untrimmed.hfst' | cg-proc -w '/home/flammie/github/apertium/apertium-fin-smn/smn-fin.mor.rlx.bin' | cg-proc -n -1...
I encountered an error while trying to install the hfst package using pip. It seems to be related to a compilation issue during the installation process. May I know how...
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...
I think this is a regression in hfst-3.6.0. The test in `test/tools/basic.multichar-symbol-with-0.lexc` that worked in Xerox lexc doesn't work on foma or hfst-lexc but if you add % before all...
``` $ echo "мәсәл" | hfst-proc tat.autogen.hfst ^мәсәл/мәсәлләре$ ``` but ``` $ hfst-expand -c0 -P "мәсәл" tat.autogen.hfst ``` returns nothing