mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-11 08:06:34 -06:00
support for measurement units
This commit is contained in:
@@ -44,4 +44,8 @@ abstract Common = {
|
||||
Pol ; -- polarity e.g. positive, negative
|
||||
Ant ; -- anteriority e.g. simultaneous, anterior
|
||||
|
||||
--2 Measures
|
||||
|
||||
MU ; -- unit of measurement e.g. "km", "cm", "%"
|
||||
|
||||
}
|
||||
|
||||
@@ -156,4 +156,9 @@ abstract Noun = Cat ** {
|
||||
AdjDAP : DAP -> AP -> DAP ; -- the large (one)
|
||||
DetDAP : Det -> DAP ; -- this (or that)
|
||||
|
||||
--2 Quantities
|
||||
|
||||
QuantityNP : Digits -> MU -> NP ;
|
||||
QuantityFloatNP : Digits -> Digits -> MU -> NP ;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user