Tools for simplified two-level morphology
Project description
twol
Compiler and other tools for two-level morphology
This repository contains various tools for Simplified Two-level morphology which is a revised form of the original two-level morphology as implemented in hfst-twolc (see https://github.com/hfst/hfst/wiki/HfstTwolc). The tools are implemented in Python and many of them use the HFST finite-state transducer tools, especially its Python version (see https://github.com/hfst/python).
The tools in this repository include:
- A compiler twol.py which reads in a set of examples and a grammar file containing two-level rules. The compiler parses the rules, compiles them and tests them against the examples. The compiler can write the compiled rules as binary finite-state transducers into a file which can be used with the HFST command line tools.
- Methods for aligning words or stems. These are useful for defining underlying representations of lexical entries. Morphophonemes in the entries are a result of the alignment process.
- Documentation of the methods and the programs. The source text for documentation is in the docs directory and a human readable set of interlinked documents is available at readthedocs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
twol-0.0.23.dev0.tar.gz
(32.3 kB
view hashes)
Built Distribution
twol-0.0.23.dev0-py3-none-any.whl
(52.3 kB
view hashes)
Close
Hashes for twol-0.0.23.dev0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 219085702a9265f770cfd5efa9efa57cc4cd940f1942f53acb8c19271dfb32df |
|
MD5 | 67067bbf869c86ca38bf079d8e2efafb |
|
BLAKE2b-256 | dca111fa00d03490babe16ddc11a6a27a49490f82e00d0dd3a5dba430907e5df |