src/io/github/marwlod/word_net/WordNet.java
// do unit testing of this class
do unit testing of this class
do unit testing of this class
public static void main(String[] args) {
        WordNet wordNet = new WordNet(args[0], args[1]);
        String nounA = "1820_s";
        String nounB = "1840";
        int dist = wordNet.distance(nounA, nounB);
        String sap = wordNet.sap(nounA, nounB);
        System.out.println("Dist: " + dist + ", sap: " + sap);
        System.out.println(wordNet.isNoun("401-k"));
    }
public static void main ( String [ ] args ) { WordNet wordNet = new WordNet ( args [ 0 ] , args [ 1 ] ) ; String nounA = "1820_s" ; String nounB = "1840" ; int dist = wordNet . distance ( nounA , nounB ) ; String sap = wordNet . sap ( nounA , nounB ) ; System . out . println ( "Dist: " + dist + ", sap: " + sap ) ; System . out . println ( wordNet . isNoun ( "401-k" ) ) ; }
do unit testing of this class
do unit testing of this class