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

smenob: "Loabát" doesn't show article for "Loabák" #43

Open
Phaqui opened this issue Dec 2, 2024 · 1 comment
Open

smenob: "Loabát" doesn't show article for "Loabák" #43

Phaqui opened this issue Dec 2, 2024 · 1 comment

Comments

@Phaqui
Copy link
Contributor

Phaqui commented Dec 2, 2024

Analysis of the word Loabát shows:

Loabát	loabát+N+Sg+Nom	0,000000
Loabát	Loabák+N+Prop+Sem/Plc+Sg+Nom+Err/Orth	0,000000

There are articles both for Loabák and Loabát in the dictionary.
It would make sense if the one for Loabák was shown, but it isn't.

There is a rule somewhere in the code, which will remove lines
containing err/orth if there are also lines without. But this needs
to be adjusted, so that it correctly handles this case. The difference
here compared to other cases, is that there is a capital/non-capital
first letter difference here.

(Aside: How NDS handles searches in general with a capital first letter is
perhaps also worth discussing.)

Possibly related:

The paradigms of Loabák doesn't work:

https://sanit.oahpa.no/detail/sme/nob/Loab%C3%A1k.html?no_compounds=true&lemma_match=true&e_node=bd3992839a0bd5a2598a

Notes:

Search term analysis article hits autocorrect hits
loabat loabat loabat+? inf Loabák article none
Loabat Loabák+Err/Orth-a-á+N+Prop+Sem/Plc+Sg+Acc+Err/Orth-nom-acc 0.000000, Loabák+Err/Orth-a-á+N+Prop+Sem/Plc+Sg+Gen+Err/Orth-nom-gen 0.000000, Loabák+Err/Orth-a-á+N+Prop+Sem/Plc+Sg+Nom 0.000000 Loabák article none
loabát loabát loabát+N+Sg+Nom 0.000000 none "Loabát"
Loabát loabát+N+Sg+Nom 0.000000 AND Loabák+N+Prop+Sem/Plc+Sg+Nom+Err/Orth 0.000000 none "Loabát"
@Phaqui
Copy link
Contributor Author

Phaqui commented Dec 9, 2024

Kommentarer fra Lene:

hei, jeg fant den ene buggen i NDS, altså hvorfor Loabák-bøyningene ikke vistes
grunnen var at det mangla sem_type i entryen og paradigm filene krevde det
nå har jeg både lagt til sem_type til de entryene som mangla det,
og jeg har lagt til en paradigme som ikke krever sem_type for å gjøre det mer robust

Dette ble gjort i commit 03fb2d2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant