Difference between revisions of "Apertium-html-tools/Paradigm dictionary"

From Apertium
Jump to navigation Jump to search
Line 1: Line 1:
== Installation ==
== Installation ==
# Get [[APy]] and [[HTML-Tools]] running
# Get [[APy]] and [[HTML-Tools]] running
# Ensure that at least one language pair has a <tt>billookup</tt> mode:
# Ensure that at least one language pair has a <tt>billookup</tt> mode and <tt>bilsearch</tt> mode:
#* <tt>modes.xml</tt> will need a block like in [https://github.com/apertium/apertium-uum-eng/blob/01896a5ce3fc58e218c27fe4b97167069683a4a7/modes.xml#L53-L65 uum-eng].
#* <tt>modes.xml</tt> will need blocks like in [https://github.com/apertium/apertium-uum-eng/blob/01896a5ce3fc58e218c27fe4b97167069683a4a7/modes.xml#L45-L65 uum-eng].
# Optionally, add embeddings (documentation to follow)
#* You'll need a way to generate embeddings, cf. the scripts in [https://github.com/apertium/apertium-uum-eng/tree/main/dev/embeddings 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]

Revision as of 17:29, 25 September 2025

Installation

  1. Get APy and HTML-Tools running
  2. Ensure that at least one language pair has a billookup mode and bilsearch mode:
    • modes.xml will need blocks like in uum-eng.
  3. Optionally, add embeddings (documentation to follow)
    • You'll need a way to generate embeddings, cf. the scripts in uum-eng
    • You'll need to compile embeddings into a transducer, cf. uum-eng
    • You'll need to add a block to the modes.xml file, cf. uum-eng