public static void main(String[] args) throws IOException {
		WordGraph wg = new WordGraph();
		wg.read("./models/wordgraph.txt");
		boolean b = wg.isSym("去","到");
		System.out.println(b);
		b = wg.isSym("我","到");
		System.out.println(b);
		b = wg.isAntonym("唱","听");
		System.out.println(b);

	}
public static void main ( String [ ] args ) throws IOException { WordGraph wg = new WordGraph ( ) ; wg . read ( "./models/wordgraph.txt" ) ; boolean b = wg . isSym ( "去" , "到" ) ; System . out . println ( b ) ; b = wg . isSym ( "我" , "到" ) ; System . out . println ( b ) ; b = wg . isAntonym ( "唱" , "听" ) ; System . out . println ( b ) ; }
@param args
@throws IOException