forked from jhdeov/RedTyp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFST_recipe_Class2.txt
25 lines (21 loc) · 1 KB
/
FST_recipe_Class2.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Verbal reduplication
# Total reduplication Class 1
# The input is duplicated twice
# e.g. koma --> koma~koma
what type of alphabet will you use = user
alphabet = ['p', 'py', 't', 'ty', 'k', 'ky', 's', 'sh', 'c', 'ch', 'ts', 'tz', 'h', 'm', 'n', 'ny', 'r', 'ry', 'v', 'y', 'i', 'e', 'a', 'o']
subalphabets = 2
consonants = [ 'p', 'py', 't', 'ty', 'k', 'ky', 's', 'sh', 'ch', 'ts', 'tz', 'h', 'm', 'n', 'ny', 'r', 'ry', 'v', 'y']
vowels = [ 'i', 'e', 'a', 'o']
functions = 0
states = ['start','output first copy','return once','output second copy', 'end']
initial states = [ 'start' ]
initial value = ''
final states = [ 'end' ]
('start', '#') = ('output first copy','', 1)
('output first copy', \alphabet) = ('output first copy', \ID, 1)
('output first copy', '%') = ('return once', 'a~', -1)
('return once', \alphabet) = ('return once', '',-1)
('return once', '#') = ('output second copy', '', 1)
('output second copy', \alphabet) = ('output second copy', \ID, 1)
('output second copy', '%') = ('end', '', 1)