* 只输入句子,不带词性
* @throws Exception
*/
private static void test(String word) throws Exception {
POSTagger tag = new POSTagger("../models/seg.m","../models/pos.m");
String[][] s = tag.tag2Array(word);
try {
DependencyTree tree = parser.parse2T(s[0],s[1]);
System.out.println(tree.toString());
String stree = parser.parse2String(s[0],s[1],true);
System.out.println(stree);