Skip to content

Commit

Permalink
Ja zem quot ir pred, tas kļūst par sakni tā pat kā basElem, #19
Browse files Browse the repository at this point in the history
  • Loading branch information
lauma committed Apr 10, 2019
1 parent 0754264 commit b758124
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ public PmlANode anyPhraseToUDLogic(PmlANode phraseNode)

if (phraseType.equals(LvtbPmcTypes.SENT) ||
phraseType.equals(LvtbPmcTypes.DIRSPPMC) ||
phraseType.equals(LvtbPmcTypes.INSPMC))
phraseType.equals(LvtbPmcTypes.INSPMC) ||
phraseType.equals(LvtbPmcTypes.QUOT))
return sentencyToUD(phraseNode);
if (phraseType.equals(LvtbPmcTypes.UTTER))
return utterToUD(phraseNode);
Expand All @@ -69,7 +70,6 @@ public PmlANode anyPhraseToUDLogic(PmlANode phraseNode)
return s.allUnderFirstConstituent(phraseNode, LvtbRoles.PRED, true,
params.PROPAGATE_CONJUNCTS, params.NO_EDEP_DUPLICATES);
if (phraseType.equals(LvtbPmcTypes.SPCPMC) ||
phraseType.equals(LvtbPmcTypes.QUOT) ||
phraseType.equals(LvtbPmcTypes.ADDRESS))
return s.allUnderFirstConstituent(phraseNode, LvtbRoles.BASELEM, true,
params.PROPAGATE_CONJUNCTS, params.NO_EDEP_DUPLICATES);
Expand Down

0 comments on commit b758124

Please sign in to comment.