OTpy is a fast Python package for models and algorithms in Optimality Theory (OT), alone with a simple easy-to-use user interface.
It reads files in a format illustrated in sample_input.txt
and
is able to generates legible report in HTML
.
It implements Constraint Demotion (CD) and Fusional Reduction (FRed) for strict ranking model, and Generalized Iterative Scaling (GIS), Sequential Conditional GIS (SCGIS) and Nonlinear Conjugate Gradient (NCG) for Maximum Entropy model (Maxent).
The code is written in Python 3.3.3
.
The graphic interface is based on Tkinter
within it.
The generation of Hasse diagraph is supported by Graphviz
and Python package pydot
.