"HeuristicPercent" (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 to a percent when it seems reasonable:

In other cases, simply infer a percent unit:

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

And "PercentFraction", which always converts to a percentage:

Restrict and convert to a unit: