コード例 #1
0
 def getHeadWordVerbNetPrev(self, dataPoint):
     root = getRoot(dataPoint.getPrevDependencies())
     return self._getHeadWordVerbNet(self.getHeadWordVerbNetPrev, root,
                                     dataPoint.getPrevLemmas(),
                                     dataPoint.getPrevPos())
コード例 #2
0
 def getHeadWordVerbNetAltlex(self, dataPoint):
     root = getRoot(dataPoint.getAltlexDependencies())
     return self._getHeadWordVerbNet(self.getHeadWordVerbNetAltlex, root,
                                     dataPoint.getAltlexLemmatized(),
                                     dataPoint.getAltlexPos())
コード例 #3
0
 def getHeadWordVerbNetCurr(self, dataPoint):
     root = getRoot(dataPoint.getCurrDependencies())
     return self._getHeadWordVerbNet(self.getHeadWordVerbNetCurr, root,
                                     dataPoint.getCurrLemmasPostAltlex(),
                                     dataPoint.getCurrPosPostAltlex())