Skip to content

Conversation

@sverrejb
Copy link

This PR adds a dictionary for Nynorsk, the other official Norwegian variant. I have tried to make it as comprehensive as I could, with different conjugations and inflected forms.

@sspanak
Copy link
Owner

sspanak commented Jan 24, 2026

That's awesome, thank you!

The Bokmål variant contains much fewer words than this one, but I suppose the number of words used in everyday language is approximately similar. Can you recommend a word list for upgrading the Bokmål dictionary?

@sspanak sspanak self-assigned this Jan 24, 2026
@sspanak sspanak added the languages Dictionary or language related issues label Jan 24, 2026
@sspanak sspanak linked an issue Jan 24, 2026 that may be closed by this pull request
@sverrejb
Copy link
Author

sverrejb commented Jan 24, 2026

I see the build is failing, I will fix that.

There are equivalent Bokmål resources to those I used for Nynorsk. I could cook up a separate PR?

@sverrejb
Copy link
Author

I updated the definition file with the missing ê-character now.

@sspanak
Copy link
Owner

sspanak commented Jan 25, 2026

There are equivalent Bokmål resources to those I used for Nynorsk. I could cook up a separate PR?

Merging two dictionaries is a bit more complicated, but if you could just paste the words at the end of the file, that would be great. I can take it from there. Thanks in advance!

I updated the definition file with the missing ê-character now.

Perfect, thank you! I am quite busy with some other stuff, but as soon as I can, I'll review it, and maybe reorder the words a bit for faster performance.

@sverrejb
Copy link
Author

Merging two dictionaries is a bit more complicated, but if you could just paste the words at the end of the file, that would be great. I can take it from there. Thanks in advance!

Not 100% clear on what you meant, but I put two files (one with and one without frequencies) in this gist if you want to merge with the current dictionary. https://gist.github.com/sverrejb/ea497baa7478d4ab3f9811ae9283cb9e

@sspanak
Copy link
Owner

sspanak commented Jan 27, 2026

Not 100% clear on what you meant, but I put two files (one with and one without frequencies) in this gist if you want to merge with the current dictionary. https://gist.github.com/sverrejb/ea497baa7478d4ab3f9811ae9283cb9e

You got it correct, it is exactly what I need. Thank you!

@sverrejb
Copy link
Author

You got it correct, it is exactly what I need. Thank you!

Awesome! Let me know if you need anything else ✌️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

languages Dictionary or language related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Nynorsk (the other official norwegian variant) dictionary.

2 participants