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

Check if words are valid before merging #19

Open
loket opened this issue Jan 15, 2021 · 4 comments
Open

Check if words are valid before merging #19

loket opened this issue Jan 15, 2021 · 4 comments
Labels

Comments

@loket
Copy link
Member

loket commented Jan 15, 2021

Instead of just accepting every word into the dictionary, they should be looked up and verified before adding them. Not just that the word exists in the Norwegian dictionary, but also that it is a noun and in the correct form (I forget what this is called). I think one of them is m1, but I forgot what that means now 👼

Back in the day, you used to be able to download the whole dictionary as a zip file, which could probably be included here, possibly as a git submodule.

Anyway, it should be possible to verify each word in the list before merging them, and fail if one or more words are "invalid".

@loket
Copy link
Member Author

loket commented Feb 10, 2022

All words can be found here: https://www.nb.no/sprakbanken/ressurskatalog/?_search=ordbank

@loket
Copy link
Member Author

loket commented Feb 11, 2022

@loket
Copy link
Member Author

loket commented Feb 11, 2022

Could possibly reverse engineer an API from this site: https://ordbokene.no/

@loket
Copy link
Member Author

loket commented Feb 15, 2022

Also, check that there are no duplicates before merging.

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

No branches or pull requests

1 participant