This idea goes beyond the scope of units.  We are not going to attempt
to implement natural language parsing or output.  This wishlist idea
can be closed.  

On Sun, Apr 07, 2019 at 02:59:34AM +0800, Dan Jacobson wrote:
> X-Debbugs-Cc: [email protected]
> Package: units
> Version: 2.18-1
> Severity: wishlist
> 
> I have an idea.
> 
> The units program is great, but it still makes no sense to the man on
> the street when talking over the telephone, etc.
> 
> Therefore it should also have the ability to output plain English
> [Spanish, etc.] sentences like:
> 
> "One hectare is equivalent to one hundred million square centimeters."
> 
> This would also be great for accessibility for people who need screen
> readers, etc.
> 
> Not only should units be able to output such sentences, it should also
> be able to read them back in and parse them too.
> 
> (Anyway, currently I did
> $ units ha cm^2
>         * 1e+08
>         / 1e-08
> 
> $ units --verbose ha cm^2
>         ha = 1e+08 cm^2
>         ha = (1 / 1e-08) cm^2
> 
> $ units hundred\ million
>         Definition: 1e+08
> 
> to indeed confirm my above sentence was correct.)

Reply via email to