zz0mm
Show HN: Accelerated Text – open-source Natural Language Generation platform
No Code – A Perfect Fit for Natural Language Generation
Re:Show HN: Convert a number to an approximated text expression
on Sunday April 26, 2020 @10:40AM (#22987461)
Good point! Fixed the example to reflect realities of PR language.
Re:Show HN: Convert a number to an approximated text expression
on Sunday April 26, 2020 @09:07AM (#22986862)
Clojure is JVM language and it is straightforward to interact with Clojure libs from Java apps.
To make it even easier it is a first thing on my TODO list to provide a simple Java interface to work with Number Words plus update README with Java use examples.
Re:Show HN: Convert a number to an approximated text expression
on Sunday April 26, 2020 @06:45AM (#22986160)
You are right, hence Number Words returns different versions of the approximation: 'more', 'less' and 'around'. More nuanced versions could be added to the list.
Importantly the choice of the approximation version to use would be with the user of the library. Wonder if the algorithm to choose appropriate approximation can be devised.