Beispiel #1
0
 public static String printRelations(ParsedSentence parse, HashMap<FeatureNode, String> map) {
   Visit v = new Visit();
   v.id_map = map;
   v.str = "";
   parse.foreach(v);
   return v.str;
 }
Beispiel #2
0
 public static String printRelationsUUID(ParsedSentence parse) {
   Visit v = new Visit();
   v.show_uuid = true;
   v.unaryStyle = true;
   v.str = "";
   parse.foreach(v);
   return v.str;
 }
Beispiel #3
0
 public void findChunks(ParsedSentence parse) {
   PhraseTree pt = parse.getPhraseTree();
   SubPhrase sb = new SubPhrase();
   pt.foreach(sb);
 }