π€·ββοΈ Adding inflectional rules
- associate an ending and an inflectional class with a morphological form
- in managing rules from delimited-text files, different types of morphological forms are represented by appropriate property values
- rules can be read from delimited-text source with
readrulerow
Out of date
The example uses code that is no oonger in Kanones 0.25
Example
Read a rule from delimited text:
```@example rules using Kanones delimited = βadjinfl.osaon1|os_a_on|ΞΏΟ|masculine|nominative|singular|positive|β # use fromcex!
Find its `RuleUrn`:
```@example rules
ruleurn(rule)
Find its inflectional type and inflectional ending:
@example rules inflectionclass(rule) @example rules ending(rule)
morphological data
formabbr = formurn(rule) expectedabbr = FormUrn(βforms.7010001110β) @test formabbr == expectedabbr
formcode = code(rule) expectedcode = β7010001110β @test formcode == expectedcode