Click here to Skip to main content
15,886,860 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Haii,

implement orthographic rules for FST
Posted
Comments
[no name] 27-Mar-14 6:46am    
Your mission should you choose to accept it is to add 25 words of explanation.
jeenatmathew 27-Mar-14 7:00am    
Define additional FSTs to implement spelling rules
Gemination: consonant doubling (beg  begging),
Elision: ‘e’ deletion (make  making),
Epenthesis: ‘e’ insertion (fox  foxes), etc.
Y replacement: ‘y’ changes to ‘ie’ before ‘ed’ (trytries)
I spelling: ‘I’ changes to ‘y’ before a vowel (lielying)
Rewrite rule notation: a  b / p _ d
Examples: Rule: a  b/a _ b
aaabaab  aabbabb (Sequential; there are other control strategies: parallel, feedback).
Spelling rules: e  e / x ^ _ s (eg. fox^s  foxes)
Multiple spelling rules might apply for a given word.
Eg: spy^s  spies (yi, ee)
All spelling rules execute in parallel.
Rewrite rules can be compiled into FSTs.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900