commit 9ceb2478425536bef95dcf3d4cc4e4c2d0bd51f4
parent c3b7a4e83d73104c627e8e6eafaf9e17c47e51ce
Author: lumidify <nobody@lumidify.org>
Date: Mon, 6 Apr 2020 09:58:05 +0200
Clarify documentation for choiceoverride
Diffstat:
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/transliterate.pl b/transliterate.pl
@@ -1825,6 +1825,18 @@ Note that this does not sort the choices before comparison and they have to
be matched exactly, so when a new choice is added, that needs to be added to
this mapping as well, in exactly the same order.
+To clarify the order in which choices are added (if they are not explicitly
+specified):
+
+When a word has multiple replacements at different places in the same table
+file, the later occurrence is appended to the earlier one.
+When a word has multiple replacements in different tables that are replaced
+within the same B<group>, the occurrence in the later B<replace> statement
+is appended to the earlier one.
+
+The special sorting by number of diacritics when B<targetdiacritics> is
+specificed does not affect the order used to find replacements in B<choiceoverride>.
+
=item B<expand> <table identifier> <word ending table> [noroot]
Expand the table C<< <table identifier> >>, i.e. generate all the word forms using