public class ToIOBConverter extends Object
| Constructor and Description |
|---|
ToIOBConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
convert(File from,
File to,
boolean singleFile) |
void |
convert(InputStream input,
BufferedWriter output) |
static void |
main(String[] args) |
String |
mapPennTreebankToPennBioIETag(String tag) |
String |
mapPosTagToPhraseType(String tag) |
String |
mapTokenToPennBioIETag(String token,
String originalTag) |
void |
repairEnvironment(List<de.julielab.jcore.ae.opennlp.chunk.convert.ToIOBConverter.ChunkRecord> sentenceRecords,
int i,
de.julielab.jcore.ae.opennlp.chunk.convert.ToIOBConverter.ChunkRecord cr) |
public void convert(File from, File to, boolean singleFile) throws Exception
Exceptionpublic void convert(InputStream input, BufferedWriter output) throws Exception
Exceptionpublic void repairEnvironment(List<de.julielab.jcore.ae.opennlp.chunk.convert.ToIOBConverter.ChunkRecord> sentenceRecords, int i, de.julielab.jcore.ae.opennlp.chunk.convert.ToIOBConverter.ChunkRecord cr)
Copyright © 2018 JULIE Lab Jena, Germany. All rights reserved.