summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/java/bjc/inflexion/examples/InflexionTester.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/examples/java/bjc/inflexion/examples/InflexionTester.java b/src/examples/java/bjc/inflexion/examples/InflexionTester.java
index 5ca1378..12513d0 100644
--- a/src/examples/java/bjc/inflexion/examples/InflexionTester.java
+++ b/src/examples/java/bjc/inflexion/examples/InflexionTester.java
@@ -27,7 +27,7 @@ import java.util.Scanner;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
-import org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream;
+//import org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream;
import bjc.inflexion.InflectionML;
import bjc.inflexion.nouns.Nouns;
@@ -79,6 +79,7 @@ public class InflexionTester {
}
}
+
@SuppressWarnings("unused")
private static void wikitest(final Scanner scn, final Nouns nounDB) {
System.out.print("Enter name of dump file: ");
@@ -88,7 +89,8 @@ public class InflexionTester {
try (InputStream compressedStream = new FileInputStream(fname)) {
// both managed by above stream
@SuppressWarnings("resource")
- final InputStream stream = new BZip2CompressorInputStream(compressedStream);
+ // final InputStream stream = new BZip2CompressorInputStream(compressedStream);
+ final InputStream stream = new FileInputStream("");
@SuppressWarnings("resource")
final BufferedReader reader
= new BufferedReader(new InputStreamReader(stream));
@@ -266,4 +268,4 @@ public class InflexionTester {
ioex.printStackTrace();
}
}
-} \ No newline at end of file
+}