public class SpotReader extends Object implements Iterator<Spot>
spot source-id target-id
source-id
is the integer id of the entity containing the
anchor, while target-id
is the target of the anchor. The file is
lexicographically sorted by the spot, source-id and then target-id. spot doc frequency
). The file is sorted by
the spot.Spot
Modifier and Type | Class and Description |
---|---|
static class |
SpotReader.SpotFrequency
Contains the text of a spot and its document frequency in the collection.
|
static class |
SpotReader.SpotFrequencyParser
Parse a line containing the encoded version of a SpotFrequency object.
|
static class |
SpotReader.SpotSrcTarget |
static class |
SpotReader.SpotSrcTargetParser |
Constructor and Description |
---|
SpotReader(String spotSrcTargetFile,
String spotDocFreqFile) |
Copyright © 2013. All rights reserved.