public class FeatsReader extends Object
| Constructor and Description |
|---|
FeatsReader() |
| Modifier and Type | Method and Description |
|---|---|
static <F> Stream<F> |
read(InputStream in,
Parser<F> fp)
Reads a list of feature values from an input stream.
|
static <F> Stream<F> |
read(String path,
Parser<F> fp)
Reads a list of feature values from a file.
|
public static <F> Stream<F> read(String path, Parser<F> fp) throws IOException
F - feat typepath - path to filefp - feat parserIOException - when I/O problemspublic static <F> Stream<F> read(InputStream in, Parser<F> fp) throws IOException
F - feat typein - input stream to read fromfp - feat parserIOException - when I/O problemsCopyright © 2016. All rights reserved.