Skip to content

feat: Add 1,000 Irish word list (@aindriu80)#7535

Open
aindriu80 wants to merge 3 commits intomonkeytypegame:masterfrom
aindriu80:master
Open

feat: Add 1,000 Irish word list (@aindriu80)#7535
aindriu80 wants to merge 3 commits intomonkeytypegame:masterfrom
aindriu80:master

Conversation

@aindriu80
Copy link

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

  • Based on real-world corpus frequency
  • Wordform-based (not lemma-only), better suited for typing practice
  • Function-word heavy, which improves natural rhythm and realistic typing flow
  • Cleaned, deduplicated, and validated locally

Changes

  • Added irish_1k.json (1000 non-duplicate common Irish words)
  • Updated irish.json (added valid BCP-47 code)
  • Updated languages.ts (registered irish_1k)
  • Updated 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

  • Adding quotes?
    • Make sure to include translations for the quotes in the description (or another comment) so we can verify their content.
  • Adding a language?
    • Make sure to follow the languages documentation
    • Add language to packages/schemas/src/languages.ts
    • Add language to exactly one group in frontend/src/ts/constants/languages.ts
    • Add language json file to frontend/static/languages
  • Adding a theme?
    • Make sure to follow the themes documentation
    • Add theme to packages/schemas/src/themes.ts
    • Add theme to frontend/src/ts/constants/themes.ts
    • (optional) Add theme css file to frontend/static/themes
    • Add some screenshots of the theme, especially with different test settings (colorful, flip colors) to your pull request
  • Adding a layout?
    • Make sure to follow the layouts documentation
    • Add layout to packages/schemas/src/layouts.ts
    • Add layout json file to frontend/static/layouts
  • Adding a font?
    • Make sure to follow the fonts documentation
    • Add font file to frontend/static/webfonts
    • Add font to packages/schemas/src/fonts.ts
    • Add font to frontend/src/ts/constants/fonts.ts
  • Check if any open issues are related to this PR; if so, be sure to tag them below.
  • Make sure the PR title follows the Conventional Commits standard. (https://www.conventionalcommits.org for more info)
  • Make sure to include your GitHub username prefixed with @ inside parentheses at the end of the PR title.

Closes #

@monkeytypegeorge monkeytypegeorge added frontend User interface or web stuff assets Languages, themes, layouts, etc. packages Changes in local packages labels Feb 25, 2026
@github-actions
Copy link
Contributor

Continuous integration check(s) failed. Please review the failing check's logs and make the necessary changes.

@github-actions github-actions bot added the waiting for update Pull requests or issues that require changes/comments before continuing label Feb 25, 2026
@aindriu80
Copy link
Author

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
No authorization header was set for the request.
No authorization settings were found in the configs.
Try to log in to the registry by running "pnpm login" or add the auth tokens manually to the ~/.npmrc file.

Solution:
The GitHub Actions workflow is failing because pnpm cannot fetch from the npm registry due to missing authentication.

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:

  • name: Set npm token
    run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

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.

@github-actions github-actions bot removed the waiting for update Pull requests or issues that require changes/comments before continuing label Feb 25, 2026
@aindriu80
Copy link
Author

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.

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

Labels

assets Languages, themes, layouts, etc. frontend User interface or web stuff packages Changes in local packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants