summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorBenjamin Culkin <scorpress@gmail.com>2024-01-21 15:45:20 -0500
committerBenjamin Culkin <scorpress@gmail.com>2024-01-21 15:45:20 -0500
commitc91b60b74f56d830d823372c1a0b60dc8ac884d3 (patch)
treedc52d6acd10cb61a464c36c1f804a5b47be29123 /src/examples
parent726e6e3f24f81a3cfa1fc5b25de4c1da654069e5 (diff)
Fix a few things
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
+}