-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Currently the grammar-checker fails to realise the case in following:
$ echo an Uachtarán | tools/grammarcheckers/modes/glegram.mode
"<an>"
"an" Art Sg Def <W:0.0> ID:1
:
"<Uachtarán>" Uachtarán → T-uachtarán → TUachtarán
"uachtarán" Noun Masc Com Sg <W:0.0> &msyn-noun-defart ID:2 R:$2:1
msyn-noun-defart
"uachtarán" Noun Masc Com Sg <W:0.0> DefArt SUGGEST ID:2 R:$2:1
uachtarán+Noun+Masc+Com+Sg+DefArt t-uachtarán,tUachtarán
:\n
$ echo an Uachtarán | divvun-runtime run -p tools/grammarcheckers/bundle.drb
[
{
"form": "Uachtarán",
"beg": 3,
"end": 13,
"err": "msyn-noun-defart",
"msg": [
"msyn-noun-defart",
"msyn-noun-defart"
],
"rep": [
"T-uachtarán",
"TUachtarán"
]
}
]The expected result would be "tUachtarán", I think it needs some work on cg rules / lexc and some on libdivvun / divvunruntime. Is there existing codes that would work for this @unhammer ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels