Closed snomos closed 2 years ago
It should work if the epsilon lemma is written explicitly as 0 or 0:0 :-)
I added 0's, and the output got cleaner, but not as it should be 🙂 :
LEXICON NounRoot
!! ## The lexicon @LEXNAME@
!! This lexicon is the start of all noun lemmas. It splits the nouns in three
!! classes as follows:
!! ```mermaid
!! stateDiagram-v2
!! direction LR
0 FirstComponent ; !!= @LEXNAME@ --> @CONTLEX@
0 HyphNouns ; !!= @LEXNAME@ --> @CONTLEX@
0 Noun ; !!= @LEXNAME@ --> @CONTLEX@
!! ```
Results in this:
## The lexicon NounRoot
This lexicon is the start of all noun lemmas. It splits the nouns in three
classes as follows:
```mermaid
stateDiagram-v2
direction LR
0 FirstComponent ; NounRoot --> FirstComponent
0 HyphNouns ; NounRoot --> HyphNouns
0 Noun ; NounRoot --> Noun
That is, the raw lexc code is also included.
The following lexc code:
results in the following markdown fragment: