fsts
FSTs
Oahpa versions with address testing.oahpa.no/.. are on gtlab, and oahpa
For the non-sme-sma versions, see below:
The sme transducers
The North Saami transducers are located on gtoahpa.uit.no, in /opt/smi/sme/bin/.
TODO: Change to new names.
ped-sme.fst, sme-num.fst, isme-norm.fst, isme-GG.restr.fst, isme-KJ.restr.fst
The sme Oahpa uses a particular setup for analysers and transducers, referred to in
- preprocess = /opt/sami/cg/bin/preprocess
- lookup = /opt/sami/xerox/c-fsm/ix86-linux2.6-gcc3.4/bin/lookup
- fst = /opt/smi/sme/bin/ped-sme.fst
- lookup2cg = /usr/local/bin/lookup2cg
- cg3 = /usr/local/bin/vislcg3
- dis = /opt/smi/sme/bin/sme-ped.cg3
The sma transducers
The South Saami transducers are located on gtoahpa, in /home/smaoahpa/smaoahpa/gtsvn/gt/sma/bin/.
TODO: These transducers should be located in /opt/smi/sma/bin/ as for all the other languages. And note: They probably are, since the info here is old.
isma-L.restr.fst, isma-SH.restr.fst, ped-sma.fst, sma-num.fst
Smaoahpa has a setting which is used by all of the games and install scripts to locate transducers, as well
LOOKUP_TOOL = '/usr/local/bin/lookup' FST_DIRECTORY = '/home/smaoahpa/smaoahpa/gtsvn/gt/sma/bin'
When in doubt, the smaoahpa install command will show which FSTs are in use each time they are called to
Numra and Klokka will also give errors when the FSTs cannot be found, but these errors are intentionally
smaoahpa dialects
Smaoahpa requires additional settings in settings.py for dialects and fst paths.
DIALECTS = { 'main': ('isma-norm.fst', 'Unrestricted'), 'SH': ('isma-SH.restr.fst', 'Short forms'), 'L': ('isma-L.restr.fst', 'Long forms'), 'NG': (None, 'Non-Presented forms'), }
Data is stored in a Python dictionary, each key is a short name for the dialect,
In order to generate, an FST file must be defined here. Forms are added to corresponding
Pregeneration
The other oahpa versions
Note that they use new fst names.
TODO: document the names.