Browse Source

docs: separate pre- and post- rules in examples to make them less confusing.

    Write more explicit table header for phonetic spelling.
master
Valdis Vitolins 7 years ago
parent
commit
c2edaa50a2
1 changed files with 20 additions and 12 deletions
  1. 20
    12
      docs/dictionary.md

+ 20
- 12
docs/dictionary.md View File

those two groups is used. those two groups is used.


`~` Letter in letter group means, that there can be no letter in this group `~` Letter in letter group means, that there can be no letter in this group
at the beginning or end of the word.
in the pre- or post- rule.


_For example:_
_Example with prerule group:_


``` ```
.L01 ~ b c .L01 ~ b c

.group a .group a
L01) a i // A L01) a i // A
a (L01 u // B
``` ```
following rules will match for words: following rules will match for words:


|Word |Match|Spelling|
|-----|-----|--------|
|base |A |bise |
|case |A |cise |
|ace |A |ice |
|tab |B |tub |
|mac |B |tuc |
|tea |B |teu |
|Word |Phonetic spelling|
|-----|-----------------|
|base |bice |
|case |cice |
|ace |ice |

_Example with postrule group:_

```
.L01 ~ b c
.group a
a (L01 u
```
|Word |Phonetic spelling|
|-----|-----------------|
|tab |tub |
|mac |muc |
|tea |teu |


### Rules ### Rules



Loading…
Cancel
Save