Building a parser
Prerequisites
Compiling a parser
This repository includes a Scala script you can use to compile morphological parsers for a specific data set, using a specific orthography.
- From a terminal in the root directory of this repository, run
sbt console
to start an interactive Scala session - Load the script with
:load scripts/compile.sc
(note the leading colon!) - Compile a parser for the orthography of your choosing by running
compile("ORTHOGRAPHY")
.
The resulting binary parser is saved in the parsers
directory.