in TranslateEng, use "this one" as variant of "this" (and other Dets) when used as NPs

This commit is contained in:
aarne
2014-06-12 13:54:49 +00:00
parent 577d73abfb
commit 20f8f16201

View File

@@ -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
} }