@@ -0,0 +1,1133 @@
+package roart.parse;%0A%0Aimport java.util.ArrayList;%0A%0Aimport org.junit.Test;%0Aimport static org.junit.Assert.*;%0A%0Aimport edu.stanford.nlp.pipeline.Annotation;%0Aimport roart.model.parse.ParseData;%0Aimport roart.parse.MyParse;%0A%0Apublic class MyParseTest %7B%0A%0A    @Test%0A    public void method2() %7B%0A        String question = %22Which is the best performing commodity stock?%22;%0A        System.out.println(%22q2 %22 + question);%0A        MyParse parse = new MyParse();%0A        //parse.parseSentence(question);%0A        String q2 = %22Which is the best performing stocks?%22;%0A        //parse.parseSentence(q2);%0A        String q3 = %22Which is the best performing swedish stocks last year?%22;%0A        //parse.parseSentence(q3);%0A        String q4 = %22Which is the ten best performing swedish stocks last three years?%22;%0A        q4 = %22Which is the ten best performing swedish stocks one month period after June 1 2017?%22;%0A        //parse.parseSentence(q4);%0A        //parse.mymethod3(text2);%0A        System.out.println(q4);%0A        ParseData mydata = parse.parseme(q4);%0A        System.out.println(mydata);%0A        assertEquals(%22P1M%22, mydata.getTime().getPeriod());%0A    %7D%0A%0A%7D

Test it.