"PercentFraction" (Interpreter Type)

Percentage expressed in natural language.

Details

Allowed Forms

  • All the natural-language numbers allowed by "SemanticNumber" are supported for the quantity magnitude.
  • The unit can be expressed in natural language or via abbreviations or symbols.

Restriction Specifications

Interpretation

Examples

Basic Examples  (3)

Interpret percentages:

If no unit is provided, convert the number to a percentage:

Cf. "Percent", which simply infers a percent unit:

And "HeuristicPercent", which decides what to do based on heuristics:

Interpret quantities or numbers as fractions of the given baseline: