Questions tagged [hfst]

Some documentation is available from the official website and the HFST wiki.

There is also an active IRC channel #hfst on irc.freenode.net.

5 questions
1
vote
0 answers

RuntimeError: Parsing error while reading transducer header; wrong or corrupt file?

I am trying to set up a new repo which has very limited instructions. I am getting this error when running "pipenv run python manage.py runserver". The file the error message refers to exists and does not look to be corrupted. What can I do about…
1
vote
0 answers

Detect cyclic feeding interactions without applying XFST replace rules to lexicon

The following two XFST replace rules represent a cyclic feeding interaction, where the final result includes the original form because the first rule feeds into the second and the second feeds into the first. For example, the first rule would…
reynoldsnlp
  • 1,072
  • 1
  • 18
  • 45
1
vote
1 answer

Generate output based on first character of a word

I am trying to set up a Finite State Transducer with Helsinki Finite State Technology (HFST) for Python. I want if the first character of a word is an 'o' the output is "Positive" and if there are characters following in the same word, output empty…
1
vote
1 answer

HFST, python setup

I am building a morphological parser with hfst, but am running into problems with installation. I have successfully downloaded the hfst package, and it is present in the site-packages directory of my python framework. I can import it in python…
1
vote
1 answer

Finete State machine visualizer

I need an application that prints/visualizes input/output pairs during the FST runs. I mean, for each state of the fst, it needs to print out a tuple that contains input for that state and output of the state. Right now I can generate fst files that…
zwlayer
  • 1,752
  • 1
  • 18
  • 41