Tryag File Manager
Home
-
Turbo Force
Current Path :
/
home
/
cluster1
/
data
/
bu01
/
1121861
/
html
/
mixtec
/
Foma-XFST
/
Upload File :
New :
File
Dir
//home/cluster1/data/bu01/1121861/html/mixtec/Foma-XFST/FOMA-Readme.txt
No problem. I've attached the "human-readable" source code versions of the Foma binaries. Of course, how "human-readable" they are depends on your familiarity with Foma. There is documentation at: fomafst.github.io I don't think it's too hard to read once you're a bit familiar with the language. The "define" commands at the top define sets of symbols, and then define sets of rule blocks. The "rules" are written in the form of classic phonological context-dependent rewrite rules (e.g. A->B | C_D). They're listed more or less in the order they're used, but note that the "regex" commands at the bottom actually determine what order the rules are used in (some are used more than once). If you have any questions about what the code is doing, feel free to ask. But if what you want to do is to "automate dictionary lookup (parsing and sending a query to the dictionary)", then I'm not sure if these are useful to you. The Foma code doesn't do dictionary lookup. It converts input tokens to output tokens via rules. You could use the binaries to generate dictionaries if that's what you want. The awk scripts I gave you before (also attached) are what actually parse running text into individual tokens and feed them to the Foma binaries. Those are already in "human-readable" format (assuming you know awk). Best, Jason