Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hiluid háluid med feilanalyse i grammatikkontrollen #53

Closed
snomos opened this issue Mar 15, 2022 · 2 comments
Closed

hiluid háluid med feilanalyse i grammatikkontrollen #53

snomos opened this issue Mar 15, 2022 · 2 comments
Labels
bug Something isn't working gramcheck Issues restricted to the grammar checker

Comments

@snomos
Copy link
Member

snomos commented Mar 15, 2022

@duomdaamaendra meldte denne feilen i Zulip:

echo hiluid háluid | hfst-lookup -q src/analyser-gt-desc.hfstol
hiluid háluid hiluid háluid+Adv 0,000000

Denne analysen er rett. Det er derimot ikkje denne:

echo hiluid háluid | hfst-lookup -q src/analyser-gramcheck-gt-desc.hfstol
hiluid háluid hiluid háluid+Err/Orth+Adv+Err/SpaceCmp 0,000000
hiluid háluid hiluid háluid+MWE+Adv 0,000000

Problemet er den ekstra analysen:

hiluid háluid hiluid háluid+Err/Orth+Adv+Err/SpaceCmp 0,000000

Her er dei relevante lexc-oppføringane:

hiluid% háluid+Err/Orth:hiluid9-hálujd9 adv ;
hiluid% háluid+Err/MissingSpace:hiluid9∑#hálujd9 adv ; !
hiluid% háluid+MWE:hiluid% hálujd9 adv ;
hiluid% háluid+MWE+Err/Orth-a-á:hiluid% halujd9 adv ;

Korleis kjem feilanalysen inn i grammatikkontrollanalysatoren?

@snomos snomos added bug Something isn't working gramcheck Issues restricted to the grammar checker labels Mar 15, 2022
@lynnda-hill
Copy link
Contributor

lynnda-hill commented Oct 13, 2022

modes/trace-smegramrelease-dev.mode gir meg følgende:

"<hiluid háluid>"
        "hiluid háluid" Adv <W:0.0> <firstCohort> #1->1 SUBSTITUTE:10263
;       "hiluid háluid" Err/Orth Adv Err/SpaceCmp <W:0.0> <firstCohort> REMOVE:2314:mwe
"<.>"

@snomos
Copy link
Member Author

snomos commented Oct 14, 2022

Fixed in 70ae371.

@snomos snomos closed this as completed Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gramcheck Issues restricted to the grammar checker
Projects
None yet
Development

No branches or pull requests

2 participants