Skip to content

Releases: allo-media/text2num-rs

Bug fix release

29 Aug 15:38
8b7989b

Choose a tag to compare

(French) "cinq cent premiers" was wrongly replaced by "501ers" instead of "500 premiers"

Bug fix release

15 Jun 16:33
2201628

Choose a tag to compare

  • Fixed a bug when transforming a mix of ordinals and cardinals
  • exceptions for ambiguous numbers like "neuf" in French

Bug fix release

09 Jun 14:38
01b042d

Choose a tag to compare

Fixed number tracking for a single zero that was not recognized when threshold is at 0.0

Bug fix release

07 Apr 09:38
bb0f678

Choose a tag to compare

In French:

  • "un mille" is "1 1000", not "1000"
  • "un cent" is "1 100", not "100"

Release 2.1.0

21 Feb 17:46

Choose a tag to compare

  • Abstraction to let interpreters store state flags into DigitString.
  • Use this abstraction to handle linguistic exclusion rules in the interpreter (vs logical numeric rules that are handled by DigitString).
    • fixes the French bug quatre-vingt-dix un/deux/trois/quatre/cinq/six => 91/92/93/94/95/96 without breaking nonante X ; same for 70

Bug fix release

10 Feb 09:32
c3e11b7

Choose a tag to compare

  • Handle French ordinals "premier", "première" and their plurals.

Version 2.0.0

20 Dec 15:43
73edcb2

Choose a tag to compare

New:

  • Iterator API
  • Backward incompatible API changes for consistency
  • [Spanish] support for feminine cardinals
    Fixes:
  • Fixed case where numbers where missed when using nt_separated

Feature release

29 Nov 16:52
da5718c

Choose a tag to compare

  • Spanish support
  • Improved decimal support
  • Fraction support

Even more generic algorithms for finding numbers in token sequences

23 Nov 14:58

Choose a tag to compare

v1.6.0

Merge branch 'feature/ch25250/abstract-algorithm-number-replacement'

Reusable `rewrite_number` algorithm

16 Nov 16:09
26cef15

Choose a tag to compare

v1.5.3

Merge pull request #8 from allo-media/feature/ch25250/abstract-algori…