Closed ralphmapper closed 3 years ago
My French is not the best ^^ but I think troisième
is below the default ordinal threshold of 3. Try ordinal_threshold=0
.
This is new in 2.4.0:
def alpha2digit(
text: str,
lang: str,
relaxed: bool = False,
signed: bool = True,
ordinal_threshold: int = 3,
)
We installed text2num and ran the example but it does not work for
troisième
We also had to add the 'fr' parameter. It seems the documentation is incorrect