mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-11 04:02:52 -06:00
Latvian: CN and NP types are extended with a Bool field for tracking whether a relative clause has been used
This is used for inserting the closing comma if necessary, and later will be used also for adjusting the word order.
This commit is contained in:
@@ -143,6 +143,12 @@ oper
|
||||
Masc => Masc
|
||||
} ;
|
||||
|
||||
closeRelCl : Bool -> Str = \isRel ->
|
||||
case isRel of {
|
||||
True => "," ;
|
||||
False => []
|
||||
} ;
|
||||
|
||||
vowel : pattern Str = #("a"|"ā"|"e"|"ē"|"i"|"ī"|"o"|"u"|"ū") ;
|
||||
|
||||
simpleCons : pattern Str = #("c"|"d"|"l"|"n"|"s"|"t"|"z") ;
|
||||
|
||||
Reference in New Issue
Block a user