mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-28 12:18:54 -06:00
in TranslateEng, use "this one" as variant of "this" (and other Dets) when used as NPs
This commit is contained in:
@@ -3,7 +3,10 @@
|
|||||||
concrete TranslateEng of Translate =
|
concrete TranslateEng of Translate =
|
||||||
TenseX - [Pol, PNeg, PPos],
|
TenseX - [Pol, PNeg, PPos],
|
||||||
CatEng,
|
CatEng,
|
||||||
NounEng - [PPartNP],
|
NounEng - [
|
||||||
|
PPartNP
|
||||||
|
,DetNP -- Eng exception
|
||||||
|
],
|
||||||
AdjectiveEng,
|
AdjectiveEng,
|
||||||
NumeralEng,
|
NumeralEng,
|
||||||
SymbolEng [
|
SymbolEng [
|
||||||
@@ -53,7 +56,7 @@ lin
|
|||||||
PPos = {s = [] ; p = CPos} ;
|
PPos = {s = [] ; p = CPos} ;
|
||||||
PNeg = {s = [] ; p = CNeg True} | {s = [] ; p = CNeg False} ;
|
PNeg = {s = [] ; p = CNeg True} | {s = [] ; p = CNeg False} ;
|
||||||
|
|
||||||
IdRP = ExtensionsEng.that_RP | G.IdRP | ExtensionsEng.who_RP |
|
IdRP = ExtensionsEng.that_RP | G.IdRP | ExtensionsEng.who_RP |
|
||||||
{ s = table {
|
{ s = table {
|
||||||
RC _ (NCase Gen) | RC _ NPNomPoss => "whose" ;
|
RC _ (NCase Gen) | RC _ NPNomPoss => "whose" ;
|
||||||
RC _ NPAcc => [] ;
|
RC _ NPAcc => [] ;
|
||||||
@@ -62,4 +65,6 @@ lin
|
|||||||
a = RNoAg
|
a = RNoAg
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
DetNP d = G.DetNP d | G.DetCN d (UseN (mkN "one")) ; -- I like this / I like this one ; it / the one
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user