Apertium-html-tools/Paradigm dictionary
< Apertium-html-tools
Jump to navigation
Jump to search
Revision as of 14:24, 16 October 2025 by Firespeaker (talk | contribs)
Paradigm dictionary mode in HTML-Tools offers bilingual dictionary functionality with paradigms, all based on Apertium data. This is especially useful for language communities where there are few existing resources for learners.
Contents
Overview of functionalilty
Dictionary lookup
- Searches both languages, displays in direction of chosen pair.
- Based on Apertium bilingual dictionaries.
- Semantic fuzzy search based on word embeddings.
Paradigm display
- Generates paradigm per word based on POS.
- Can select different modes for paradigm display, e.g., learner vs. linguist. Headings are also localised(/localisable),
Poster
Installation
- Get APy and HTML-Tools running
- You'll need a version of APy that supports billookup and bilsearch modes,
currently the embeddings branchin master branch as of 2025-10-14. - You'll need a version of HTML-Tools that supports paradigm dictionary mode, currently the urum branch.
- You'll need a version of APy that supports billookup and bilsearch modes,
- Ensure that at least one language pair has a billookup mode and bilsearch mode in at least one direction (ideally both):
- modes.xml will need blocks like in uum-eng.
Setting up paradigms
- Add a language module to dictionary/langs/
- Add a reference to the language file in dictionary/index.ts
- Localisation for labels is in strings/pos
Adding embeddings
Embeddings allow searches to return semantically similar results. This is optional.
Real documentation to become available. For now some hints: