public class Grep extends Object
Constructor and Description |
---|
Grep() |
Modifier and Type | Method and Description |
---|---|
static List |
grep(String synsetOffset)
Search for occurrences in the given file of the offset, then find the appropriate lemma.
|
static String |
grep(String synsetOffset,
String lemma)
Search for occurrences in the given file of the offset, then find the appropriate lemma.
|
static void |
setFile(File f) |
public static void setFile(File f) throws IOException
IOException
public static List grep(String synsetOffset) throws IOException
f
- synsetOffset
- IOException
public static String grep(String synsetOffset, String lemma) throws IOException
f
- synsetOffset
- IOException