Пример #1
0
 private boolean isSimple(PatternToken t) {
   return !(t.getNegation()
       || t.getPOSNegation()
       || t.hasAndGroup()
       || t.hasExceptionList()
       || t.hasNextException()
       || t.hasOrGroup()
       || t.isInflected()
       || t.isPOStagRegularExpression()
       || t.getPOStag() != null
       || t.isReferenceElement()
       || t.isSentenceStart()
       || t.getSkipNext() >= 1);
 }