English measure phrases #
The English nouns that quantize a mass noun in a pseudo-partitive (three grams of salt,
three glasses of water, three grains of rice) are measure terms, which name a unit quantity
of a dimension, and the container nouns and atomizers of Scontras's classification. A measure
term carries the size of its unit in the dimension's reference unit, so that a kilogram is a
thousand grams (kilogram_quantity).
Implementation notes #
- A unit's size is a convention, and the conventions are exact rationals: the SI prefixes are
powers of ten, and the pound and the mile are exact decimals of the kilogram and the meter. The
fragment stores them in
ℚ, and a measure term denotes a quantity with real magnitude.
References #
A measure term, a noun naming a unit quantity of a dimension.
- form : String
- formPlural : String
- symbol : String
The unit's symbol in the quantity calculus (
g,mL,km). - dimension : Degree.Dimension
- magnitude : ℚ
The size of the unit in the dimension's reference unit (gram, milliliter, meter, second); a kilogram is
1000grams and a mile1609.344meters. - magnitude_pos : 0 < self.magnitude
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
The unit quantity a measure term denotes, its size in the reference unit times the unit quantity of its dimension.
Equations
- t.quantity = (↑t.magnitude, Degree.QuantityDimension.of t.dimension)
Instances For
A unit has positive size.
One unit is k of another when its size is k times the other's in their common
dimension.
gram.
Equations
- English.MeasurePhrases.gram = { form := "gram", formPlural := "grams", symbol := "g", dimension := Degree.Dimension.mass, magnitude_pos := English.MeasurePhrases.gram._proof_2 }
Instances For
kilogram.
Equations
- One or more equations did not get rendered due to their size.
Instances For
kilo.
Equations
- One or more equations did not get rendered due to their size.
Instances For
pound.
Equations
- One or more equations did not get rendered due to their size.
Instances For
milliliter.
Equations
- One or more equations did not get rendered due to their size.
Instances For
liter.
Equations
- One or more equations did not get rendered due to their size.
Instances For
mile.
Equations
- One or more equations did not get rendered due to their size.
Instances For
kilometer.
Equations
- One or more equations did not get rendered due to their size.
Instances For
meter.
Equations
- English.MeasurePhrases.meter = { form := "meter", formPlural := "meters", symbol := "m", dimension := Degree.Dimension.distance, magnitude_pos := English.MeasurePhrases.gram._proof_2 }
Instances For
hour.
Equations
- One or more equations did not get rendered due to their size.
Instances For
second.
Equations
- English.MeasurePhrases.second_ = { form := "second", formPlural := "seconds", symbol := "s", dimension := Degree.Dimension.time, magnitude_pos := English.MeasurePhrases.gram._proof_2 }
Instances For
A kilogram is a thousand grams.
A liter is a thousand milliliters.
The measure terms.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The measure term with singular or plural form s.
Equations
- English.MeasurePhrases.measureTerm? s = List.find? (fun (t : English.MeasurePhrases.MeasureTerm) => decide (t.form = s ∨ t.formPlural = s)) English.MeasurePhrases.allMeasureTerms
Instances For
A quantizing noun turns a mass term into a countable expression, as a measure term, a container noun or an atomizer.
- form : String
- formPlural : String
- nounClass : Degree.QuantizingNounClass
- dimension : Option Degree.Dimension
The dimension a measure term names, or that a container noun measures on its measure reading; atomizers name no measure function.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
- English.MeasurePhrases.instBEqQuantizingNoun.beq x✝¹ x✝ = false
Instances For
Equations
A measure term as a quantizing noun.
Equations
- t.toQuantizingNoun = { form := t.form, formPlural := t.formPlural, nounClass := Degree.QuantizingNounClass.measureTerm, dimension := some t.dimension }
Instances For
glass.
Equations
- English.MeasurePhrases.glass = { form := "glass", formPlural := "glasses", nounClass := Degree.QuantizingNounClass.containerNoun, dimension := some Degree.Dimension.volume }
Instances For
box.
Equations
- English.MeasurePhrases.box = { form := "box", formPlural := "boxes", nounClass := Degree.QuantizingNounClass.containerNoun, dimension := some Degree.Dimension.volume }
Instances For
cup.
Equations
- English.MeasurePhrases.cup = { form := "cup", formPlural := "cups", nounClass := Degree.QuantizingNounClass.containerNoun, dimension := some Degree.Dimension.volume }
Instances For
bag.
Equations
- English.MeasurePhrases.bag = { form := "bag", formPlural := "bags", nounClass := Degree.QuantizingNounClass.containerNoun, dimension := some Degree.Dimension.volume }
Instances For
bottle.
Equations
- English.MeasurePhrases.bottle = { form := "bottle", formPlural := "bottles", nounClass := Degree.QuantizingNounClass.containerNoun, dimension := some Degree.Dimension.volume }
Instances For
grain.
Equations
- English.MeasurePhrases.grain = { form := "grain", formPlural := "grains", nounClass := Degree.QuantizingNounClass.atomizer }
Instances For
piece.
Equations
- English.MeasurePhrases.piece = { form := "piece", formPlural := "pieces", nounClass := Degree.QuantizingNounClass.atomizer }
Instances For
drop.
Equations
- English.MeasurePhrases.drop = { form := "drop", formPlural := "drops", nounClass := Degree.QuantizingNounClass.atomizer }
Instances For
slice.
Equations
- English.MeasurePhrases.slice = { form := "slice", formPlural := "slices", nounClass := Degree.QuantizingNounClass.atomizer }
Instances For
chunk.
Equations
- English.MeasurePhrases.chunk = { form := "chunk", formPlural := "chunks", nounClass := Degree.QuantizingNounClass.atomizer }
Instances For
The quantizing nouns.
Equations
- One or more equations did not get rendered due to their size.