Expand description
Arabic kashida (tatweel) insertion-point finding.
Given text plus a compiled pattern set, produce the junctions where a kashida may be inserted, each with a priority (0–9, higher = stronger).
Structs§
- Compile
Error - An error while compiling pattern text.
- Kashida
Point - A point where a kashida may be inserted.
- Pattern
Set - A compiled set of kashida insertion patterns.
Enums§
- Compile
Error Kind - What went wrong on a pattern line.
Functions§
- builtin_
pattern_ set - The built-in pattern set of that name, compiled on first use, or
Noneif there is none.builtin_pattern_set_nameslists and describes them. - builtin_
pattern_ set_ names - The names of the built-in pattern sets:
- compile_
pattern_ text - Compiles pattern text into a
PatternSet. - find_
kashida_ points - Kashida insertion points for
wordunder the given pattern set. - find_
kashida_ points_ patterns - Kashida insertion points for
wordfrom the pattern set alone. - is_
builtin_ pattern_ set - Whether
namerefers to a built-in pattern set, without compiling it, unlikebuiltin_pattern_set.