Skip to content

Commit 6e59cf2

Browse files
committed
Add scheme customization example.
1 parent 9b9e9be commit 6e59cf2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ For a full list of supported schemes, please see files under indic_transliterati
6161
assert sanscript.SCHEMES[sanscript.OPTITRANS].to_lay_indian("kRShNa") == "krishna"
6262
```
6363

64+
### Modifying/ customizing schemes/ maps
65+
```
66+
slp_scheme = sanscript.SCHEMES[sanscript.roman.SLP1_ACCENTED]
67+
slp_scheme['accents']['꣡'] = '%'
68+
```
69+
6470
## Dravidian language extension
6571
```py
6672
In [1]: from indic_transliteration import xsanscript

0 commit comments

Comments
 (0)