public class OutputVW_LDA extends Object implements IMLOutput<SubstanceRecord>
Modifier and Type | Field and Description |
---|---|
protected boolean |
enabled |
protected File |
file |
Constructor and Description |
---|
OutputVW_LDA(String folder,
String file,
boolean enabled) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
open() |
void |
print(org.apache.commons.csv.CSVRecord record,
int columnid)
| word_id:word_ct word_id:word_ct word_id:word_ct word_id:word_ct
|
void |
setEnabled(boolean enabled) |
SubstanceRecord |
transform(org.apache.commons.csv.CSVRecord record,
int columnid) |
protected boolean enabled
protected File file
public void setEnabled(boolean enabled)
setEnabled
in interface IMLOutput<SubstanceRecord>
public void open() throws Exception
open
in interface IMLOutput<SubstanceRecord>
Exception
public void print(org.apache.commons.csv.CSVRecord record, int columnid) throws Exception
| word_id:word_ct word_id:word_ct word_id:word_ct word_id:word_ct
print
in interface IMLOutput<SubstanceRecord>
Exception
public void close() throws Exception
close
in interface IMLOutput<SubstanceRecord>
Exception
public SubstanceRecord transform(org.apache.commons.csv.CSVRecord record, int columnid)
transform
in interface IMLOutput<SubstanceRecord>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.