public class CONLLReader04 extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
EMPTY_FEAT |
static String |
NO_TYPE |
static boolean |
normalizeOn |
static String |
PIPE |
static String |
ROOT |
static String |
ROOT_LEMMA |
static String |
ROOT_POS |
static String |
STRING |
static int |
TASK08 |
static int |
TASK09 |
| Constructor and Description |
|---|
CONLLReader04() |
CONLLReader04(String file) |
CONLLReader04(String file,
int task) |
| Modifier and Type | Method and Description |
|---|---|
SentenceData09 |
getNext()
i.forms[heads[l]-1]+" "+rel+" "+
Read a instance
|
SentenceData09 |
getNext(Instances is)
Read a instance an store it in a compressed format
|
boolean |
insert(Instances is,
SentenceData09 it) |
static String |
normalize(String s) |
void |
startReading(String file) |
public static final String STRING
public static final String PIPE
public static final String NO_TYPE
public static final String ROOT_POS
public static final String ROOT_LEMMA
public static final String ROOT
public static final String EMPTY_FEAT
public static final int TASK08
public static final int TASK09
public static boolean normalizeOn
public CONLLReader04()
public CONLLReader04(String file)
public CONLLReader04(String file, int task)
public void startReading(String file)
public SentenceData09 getNext() throws Exception
Exceptionpublic final SentenceData09 getNext(Instances is) throws Exception
is - IOExceptionExceptionpublic final boolean insert(Instances is, SentenceData09 it) throws IOException
IOExceptionCopyright © 2013. All rights reserved.