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

Commit

Permalink
minor search mods
Browse files Browse the repository at this point in the history
  • Loading branch information
fulton committed Nov 17, 2019
1 parent 6c7307d commit a50d79b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 20 deletions.
5 changes: 0 additions & 5 deletions src/main/java/com/andromeda/araserver/skills/GetInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ public String main(String mainurl, KeyWord keyWord) {
System.out.println(term);
//NLP
ArrayList<WordGraph> graph = new SortWords(keyWord, "what is the weather in portland oregon ?").getTopics();
try {
getFast("ten times ten");
} catch (IOException e) {
e.printStackTrace();
}
try {
outputModels.addAll(searchBing(term));
} catch (IOException e) {
Expand Down
22 changes: 7 additions & 15 deletions src/test/java/com/andromeda/araserver/test/test1.java
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
package com.andromeda.araserver.test;

import com.andromeda.araserver.util.KeyWord;
import junit.framework.TestCase;
import junit.framework.TestResult;
import org.junit.Test;

import java.io.FileInputStream;
import java.io.InputStream;

/*
public class test1 extends TestCase {
@Override
protected void runTest() throws Throwable {
//System.out.println(new KeyWord("this is a test", new FileInputStream("")));
super.runTest();
}
public class test1 {
@Test
public void mainTest(){


@Override
public TestResult run() {
return super.run();
}
}*/

}

0 comments on commit a50d79b

Please sign in to comment.