Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
fixed the issue!!!!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
fulton committed Nov 20, 2019
1 parent 93c0907 commit 5c57d51
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
8 changes: 8 additions & 0 deletions .idea/artifacts/Ara_Server_jar.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified bin/jar/Ara-Server.jar
Binary file not shown.
12 changes: 1 addition & 11 deletions src/main/java/com/andromeda/araserver/Run.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,22 +51,12 @@ private Run(int port) throws IOException {
" along with this program. If not, see <https://www.gnu.org/licenses/>.");
ClassLoader classloader = Thread.currentThread().getContextClassLoader();
InputStream is = classloader.getResourceAsStream("parse.bin");





;
model = new ParserModel(is);
parser = ParserFactory.create(model);





keyWord = new KeyWord(is);
System.out.println("test 1 done");
Objects.requireNonNull(keyWord.getKeyWords("What is the weather in south oregon ?", parser))[0].show();
keyWord.getKeyWords("What is the weather in south oregon ?", parser)[0].show();

keyWord.getKeyWords("What is the weather in south atlanta ?", parser)[0].show();
System.out.println("done");
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/andromeda/araserver/test/NLPtests.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class NLPtests {
public void mainTest(){
ClassLoader classloader = Thread.currentThread().getContextClassLoader();
InputStream is = classloader.getResourceAsStream("parse.bin");
new KeyWord(is).getKeyWords("Hello unit test")[0].show();
//new KeyWord(is).getKeyWords("Hello unit test")[0].show();

}

Expand Down

0 comments on commit 5c57d51

Please sign in to comment.