Skip to content

pure-english/dictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pure English Dictionary

Editor

  • Latinometer functionality
    • Clicking on a word (down below) brings up alternatives
  • Anglish spelling (and Norse and French) iframes in the sidebar
  • Option menu to hide specific stuff in the searches
  • Ability to put in Thorn and Wynn, lowercase and uppercase, via buttons
  • Runes Translator

Editor TODO

  • Function that takes the list of lemmas, gets their etymology and, if the etymology origin and sub-origin isn't present, add them to a list
  • When a chip is pressed, emit that word up and send it back to the dictionary
  • Colour chips depending on their etymology
  • Filter chips, depending on what origin(s) are selected
  • Statistics on what percentage is Romance, what percentage Germanic, etc
    • Perhaps include "Old English" in the score, but remove any Germanic scores (by stopping them from being added in the first place) that also have Old English. Therefore, it only counts Germanic words that aren't from Old English. Put Norse words there too, maybe.
  • Add a search button (icon) inside of the search for mobile users
  • Ability to dismiss words that are fine
    • Ability to retrieve them back
  • Have a maximum height for the chips list, with a scrollbar in the middle, so that if I need things below the word list it won't clog it up (if it's too bad).
  • Number of words per origin
  • Option to not just copy, but instead insert the letters into the field
  • Have dictionary search be sticky

Editor errors

  • Fix first word chip being a yellow colour always
  • Fix picking the first Origin resulting in nothing happening
  • If you unselect a word origin and then begin to type, should the origins shuffle around it will reselect said word origin
  • If a selected word origin disappears while deleting words, then it will just select whichever new origin is there

TODO

  • Fix duplicates of search due to second Anglish spellings
  • Fix duplicated search results due to search not clearing on update
  • Fix mark tags not working on Anglish word definitions (I think)
  • Fix "No results found" showing up even when results are found via fuzzy search
  • Fix when search results find a word, but don't include the sense that is highlighted, meaning it shows an unrelated entry. Like "to destroy" in "fell".
  • Fix loading searches from URL not searching "Other Results" nor highlighting them
  • <mark> tags overwhelm some definitions due to persistent definitions.
    • Mark tags spam between each letter with nothing inbetween.
  • Fix no "No result" message
  • In the "Other Results" section, only include the meanings of words with a relevant definition, instead of every single definition
  • Word definitions need right padding
  • Tell you if a word is Germanic or not
  • Add to wordlist:
    • Sexuality
    • Months and Holidays
    • Other pronouns
    • Living Prefixes
    • Living Suffixes
    • Dead Prefixes
    • Dead Suffixes
  • Make searches case-insensitive (easy for search a bit harder for definitions)
  • Have a note at the start for specific exact matches
  • Edit "to use" words, add ones that aren't there by looking through the "Helpful Anglish Words" page
  • Separate "exact match" and "related match" in the "Other Results"
    • Exact fuzzy match will work in the following environments: "{START}X ", " X{END}", " X ", ", X{SPACE/END}", "{START/SPACE}X"
  • Filter out any "other results" if I've already seen any up top. This means that there won't be duplicates.
  • Sidebar
    • Search not just definitions, but headwords (only), notes, etymologies (maybe list them all and make checkmarks)
    • List all words of a given Parts-of-speech
      • Just have a "Wordlist" table that can be filtered
  • Add sub-lemmas from Germanic Thesaurus

Project setup

# yarn
yarn

# npm
npm install

# pnpm
pnpm install

# bun 
bun install

Compiles and hot-reloads for development

# yarn
yarn dev

# npm
npm run dev

# pnpm
pnpm dev

# bun 
bun run dev

Compiles and minifies for production

# yarn
yarn build

# npm
npm run build

# pnpm
pnpm build

# bun 
bun run build

Lints and fixes files

# yarn
yarn lint

# npm
npm run lint

# pnpm
pnpm lint

# bun 
bun run lint

Customize configuration

See Configuration Reference.