Ticket #5 (new enhancement)

Opened 3 years ago

Last modified 2 years ago

Add specific quantifier method

Reported by: deveiant Owned by: deveiant
Priority: high Milestone: NLP Features
Component: English Version: 1.0.3
Severity: normal Keywords: quantify
Cc:

Description

Linguistics::EN#quantifier currently returns a non-specific description of the quantity:

irb(main):001:0> "match".quantify( 105 )
    ==> "hundreds of matches"

This is kind of surprising, as I'd expect it to return "105 matches".

#quantify should return the specific quantity, and another method, or a variant of the current method should return the non-specific description.

Note: See TracTickets for help on using tickets.