-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updates to remodelling of prestem complex, yaml for prestem testing, …
…foma compilation script adapted from hfst script.
- Loading branch information
1 parent
ae09a55
commit 654f717
Showing
4 changed files
with
260 additions
and
205 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
src/fst/morphology/incoming/resplit/bla_foma_compilation.xfscript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.