Expand description
Module which defines the core functions to create or modify MG lexicons.
Modules§
- mdl
- Module which defines helper functions to calculate the MDL of MGs according to Ermolaeva, 2021
- mutations
- This module defines various mutations which allow one to create random minimalist grammars or evolve them in a genetic algorithm
Structs§
- Climber
- Iterator that climbs up a graph until it reaches the root.
- Lexeme
Id - An ID for each lexeme in a grammar
- Lexical
Entry - A representation of a lexical entry in a grammar.
- Lexicon
- The struct which represents a specific MG. They can be created by parsing:
- Lexicon
Parsing Error - Problem parsing a grammar; returns a vector of all [
Rich] errors from Chumsky - Semantic
Lexicon - A lexicon that is paired with semantic interpretations for its leaf nodes.
Enums§
- Feature
- A possible features of a lexical entry
- Lexicon
Error - Indicates that there is something wrong a lexicon
- Licensee
OrCategory - Returns either a licensee or category: used only in
ParsingError - Parsing
Error - Indicates a problem with parsing.