Difference between revisions of "Apertium-html-tools/Paradigm dictionary"
Jump to navigation
Jump to search
Firespeaker (talk | contribs) |
Firespeaker (talk | contribs) |
||
Line 9: | Line 9: | ||
#* You'll need to compile embeddings into a transducer, cf. [https://github.com/apertium/apertium-uum-eng/blob/01896a5ce3fc58e218c27fe4b97167069683a4a7/Makefile.am#L106-L110 uum-eng] |
#* You'll need to compile embeddings into a transducer, cf. [https://github.com/apertium/apertium-uum-eng/blob/01896a5ce3fc58e218c27fe4b97167069683a4a7/Makefile.am#L106-L110 uum-eng] |
||
#* You'll need to add a block to the <tt>modes.xml</tt> file, cf. [https://github.com/apertium/apertium-uum-eng/blob/01896a5ce3fc58e218c27fe4b97167069683a4a7/modes.xml#L134-L140 uum-eng] |
#* You'll need to add a block to the <tt>modes.xml</tt> file, cf. [https://github.com/apertium/apertium-uum-eng/blob/01896a5ce3fc58e218c27fe4b97167069683a4a7/modes.xml#L134-L140 uum-eng] |
||
=== Setting up paradigms === |
|||
# Add a language module to [https://github.com/apertium/apertium-html-tools/tree/urum/src/components/dictionary/langs dictionary/langs/] |
|||
# Add a reference to the language file in [https://github.com/apertium/apertium-html-tools/blob/urum/src/components/dictionary/index.ts dictionary/index.ts] |
Revision as of 17:54, 25 September 2025
Installation
- Get APy and HTML-Tools running
- You'll need a version of APy that supports billookup and bilsearch modes, currently the embeddings branch.
- You'll need a version of HTML-Tools that supports paradigm dictionary mode, currently the urum branch.
- 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.
- Optionally, add embeddings (documentation to follow)
Setting up paradigms
- Add a language module to dictionary/langs/
- Add a reference to the language file in dictionary/index.ts