Skip to content

Commit

Permalink
updates to remodelling of prestem complex, yaml for prestem testing, …
Browse files Browse the repository at this point in the history
…foma compilation script adapted from hfst script.
  • Loading branch information
katieschmirler committed Feb 5, 2025
1 parent ae09a55 commit 654f717
Show file tree
Hide file tree
Showing 4 changed files with 260 additions and 205 deletions.
28 changes: 28 additions & 0 deletions src/fst/morphology/incoming/resplit/bla_foma_compilation.xfscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
read lexc lexicon.lexc
save stack lexicon.fsm
#load lexicon.fsm
define Morph


source ../../phonology.xfscript
save stack phonology.fsm
#load phonology.fsm
define Phon

set flag-is-epsilon ON
regex [ Morph .o. Phon ];
#twosided flag-diacritics

save stack analyzer-gt-norm.fsm
invert net
save stack generator-gt-norm.fsm
#invert net
#define Norm

#source ../../../orthography/spellrelax_weighted.xfscript
#define X

#regex [ Norm .o. SpellRelaxWeighted ];
#twosided flag-diacritics
#invert net
#save stack analyzer-gt-desc.hfst
Loading

0 comments on commit 654f717

Please sign in to comment.