public final class VectorsReader extends Object
| Constructor and Description |
|---|
VectorsReader(String file) |
| Modifier and Type | Method and Description |
|---|---|
float |
getMatrixElement(int row,
int column) |
int |
getNumWords() |
int |
getSize() |
String |
getWord(int idx) |
void |
readVectorFile() |
public final Charset ENCODING
public VectorsReader(String file)
public void readVectorFile()
throws IOException
IOExceptionpublic int getSize()
public int getNumWords()
public String getWord(int idx)
public float getMatrixElement(int row,
int column)
Copyright © 2014–2021 码农场. All rights reserved.