feat: Add 1,000 Irish word list (@aindriu80)#7535
feat: Add 1,000 Irish word list (@aindriu80)#7535aindriu80 wants to merge 3 commits intomonkeytypegame:masterfrom
Conversation
|
Continuous integration check(s) failed. Please review the failing check's logs and make the necessary changes. |
The failing job encountered this error: ERR_PNPM_FETCH_403 GET https://registry.npmjs.org/pnpm: Forbidden - 403 Solution: To fix this, update your workflow (.github/workflows/monkey-ci.yml) where pnpm is set up and dependencies are installed (steps such as Install dependencies, Setup pnpm, etc.) to use an npm registry token. Add a step before any pnpm install command:
Then, add an NPM_TOKEN secret (with your npm registry token) to your repository’s GitHub Actions secrets. This will allow pnpm to authenticate and fetch the necessary packages, resolving the 403 error. |
|
Latest commit changed 27 words. The word list was validated using two independent Irish language spell checkers, hunspell with the ga_IE dictionary and aspell with the --lang=ga flag. An initial pass flagged 26 - 27 words, which were reviewed and changed: the majority were proper nouns (place names, months, and personal names such as Éire, Nollaig, Londain) that required capitalisation, along with a small number of malformed words that arose from stripping hyphens from the source corpus. Additional words were cross-referenced against a secondary source. After 27 replacements, both spell checkers return zero errors against the final list. |
Description - Adds Irish 1k word list (corpus-based)
This PR adds a frequency-based **Irish 1k word list** to Monkeytype.
Source
The list is primarily based on Kevin Scannell’s @kscanne corpus-derived “Top 1000” Irish wordforms (Fleiscíniú project), which were extracted from a large corpus of Irish texts.
The original list included typographic hyphenation for syllable breaking. These hyphens were removed to ensure compatibility with Monkeytype and to reflect standard written forms.
A very small number of invalid or incompatible entries were replaced with common alternatives to maintain a clean 1000-word set.
Rationale
Changes
irish_1k.json(1000 non-duplicate common Irish words)irish.json(added valid BCP-47 code)languages.ts(registeredirish_1k)constants/languages.ts(dropdown integration)Testing & changes to existing files.
Tested locally in a browser after running
pnpm run dev. It feels natural and well-balanced for B1/B2 level typing practice. Checked for duplicates. Added bcp47 to existing irish.json.Checks
packages/schemas/src/languages.tsfrontend/src/ts/constants/languages.tsfrontend/static/languagespackages/schemas/src/themes.tsfrontend/src/ts/constants/themes.tsfrontend/static/themespackages/schemas/src/layouts.tsfrontend/static/layoutsfrontend/static/webfontspackages/schemas/src/fonts.tsfrontend/src/ts/constants/fonts.tsCloses #