From cabe5001b5192be0be5a0cc48e78cead2f72d371 Mon Sep 17 00:00:00 2001 From: Valdis Vitolins Date: Sun, 5 Feb 2017 14:10:32 +0200 Subject: [PATCH] Issue #199 'xxJ)' statement as precondition implemented and documented --- docs/dictionary.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/dictionary.md b/docs/dictionary.md index 3c9aeb9e..8b5d6276 100644 --- a/docs/dictionary.md +++ b/docs/dictionary.md @@ -237,6 +237,14 @@ rule with more syllables. |--------|-------------| | `&` | A syllable which may be stressed (i.e. is not defined as unstressed). | | `V` | Matches only if a previous word has indicated that a verb form is expected. | +| `xxJ` | Skip letters until `xx`. Simple `xx` means start of current word. `xx_yy` means `xx` as end of previous and `yy` as start of current word. | + +e.g. + + get_J) a i // for `get ada` will say `get adi` + setJ) a o // for `set ada` will say `set oda` + ge_tJ) a i: // for `ge tada` will say `get adi:` + ### Special characters only in \: @@ -244,7 +252,7 @@ rule with more syllables. |-------------|-------------| | `+` | Force an increase in the score in this rule by 20 points (may be repeated for more effect). | | `<` | Force a decrease in the score in this rule by 20 points (may be repeated for more effect). | -| `Jxxx` | (If `_` is set, skip letters of current word till to the end and) check starting `xxx` letters for the next word. | +| `Jxx` | Skip letters until `xx`. Simple `xx` means end of current word. `xx_yy` means `xx` as end of current and `yy` as start of next word. | | `S` | This number of matching characters are a standard suffix, remove them and retranslate the word. | | `P` | This number of matching characters are a standard prefix, remove them and retranslate the word. | | `Lnn` | `nn` is a 2-digit decimal number in the range 01 to 20 Matches with any of the letter sequences which have been defined for letter group `nn` | @@ -260,7 +268,7 @@ e.g. _) un (inP2 ,Vn // ... but it is for words starting "unin" a (J_get u // for `ada get` will say `uda get` a (Jset e // for `ada set` will say `ade set` - + a (Jg_et u: // for `adag et` will say `u:dag et` `S` and `P` must be at the end of the \ string.