7 releases (4 breaking)
0.5.0 | Jun 29, 2023 |
---|---|
0.4.0 | Jul 19, 2022 |
0.3.2 | Mar 31, 2022 |
0.3.1 | May 2, 2021 |
0.1.0 | May 1, 2021 |
#932 in Text processing
45 downloads per month
10KB
163 lines
abjad
This is a little library meant to facilitate calculating the numerical abjad value of a string of Arabic or Persian text.
lib.rs
:
This library is meant to facilitate calculating the numerical abjad value of a string of text in Arabic or Persian (support for other Arabic-script languages may be added over time).
At the moment, this simply adds three methods for &str
:
abjad
returns a best-effort value, ignoring unrecognized characters.abjad_collect_errors
also records unrecognized characters in aVec
.abjad_strict
returns an error as soon as any character is not recognized.
Dependencies
~240–690KB
~16K SLoC