Skip to content
Snippets Groups Projects
Commit 6eb5efbc authored by anirudhash's avatar anirudhash
Browse files

Add Entire Project

parent 7b762c4f
No related branches found
No related tags found
No related merge requests found
...@@ -7,8 +7,10 @@ ...@@ -7,8 +7,10 @@
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" /> <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" /> <outputRelativeToContentRoot value="true" />
<module name="factchecker" /> <module name="factchecker" />
<module name="factchecksnlp1" />
</profile> </profile>
</annotationProcessing> </annotationProcessing>
<bytecodeTargetLevel>
<module name="factchecker-snlp" target="8" />
</bytecodeTargetLevel>
</component> </component>
</project> </project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" /> <component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="MavenProjectsManager"> <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="11" project-jdk-type="JavaSDK">
<option name="originalFiles">
<list>
<option value="$PROJECT_DIR$/pom.xml" />
</list>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="12" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" /> <output url="file://$PROJECT_DIR$/out" />
</component> </component>
</project> </project>
\ No newline at end of file
...@@ -30,12 +30,6 @@ ...@@ -30,12 +30,6 @@
<artifactId>httpclient</artifactId> <artifactId>httpclient</artifactId>
<version>4.3.6</version> <version>4.3.6</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.json</groupId> <groupId>org.json</groupId>
<artifactId>json</artifactId> <artifactId>json</artifactId>
......
...@@ -50,8 +50,6 @@ public class Annotator { ...@@ -50,8 +50,6 @@ public class Annotator {
{ {
return "false"; return "false";
} }
} }
else if( input.contains("birth") ) else if( input.contains("birth") )
{ {
...@@ -508,7 +506,7 @@ public class Annotator { ...@@ -508,7 +506,7 @@ public class Annotator {
} }
else if(input.contains("author.")) else if(input.contains("author."))
{ { input = input.replace(" author.","");
input = input.replace(".", ""); input = input.replace(".", "");
String[] spl = input.split(" is "); String[] spl = input.split(" is ");
String rtr = impl.wiki(spl[1]); String rtr = impl.wiki(spl[1]);
......
...@@ -2,7 +2,6 @@ import org.apache.http.HttpResponse; ...@@ -2,7 +2,6 @@ import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient; import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpPost; import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.HttpClients; import org.apache.http.impl.client.HttpClients;
import org.apache.http.message.BasicStatusLine;
import org.apache.http.util.EntityUtils; import org.apache.http.util.EntityUtils;
import org.json.JSONObject; import org.json.JSONObject;
...@@ -11,9 +10,6 @@ import java.util.*; ...@@ -11,9 +10,6 @@ import java.util.*;
public class Implementation { public class Implementation {
public String contentOfInfobox(String url) throws IOException { public String contentOfInfobox(String url) throws IOException {
HttpPost post = new HttpPost(url); HttpPost post = new HttpPost(url);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment