Package com.google.refine.model
Class Recon
java.lang.Object
com.google.refine.model.Recon
- All Implemented Interfaces:
HasFields
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intObject[]final longintlongint -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRecon(long id, long judgmentHistoryEntry) Recon(long id, long judgmentHistoryEntry, Recon.Judgment judgment, ReconCandidate match, String error, Object[] features, List<ReconCandidate> candidates, String service, String identifierSpace, String schemaSpace, String judgmentAction, Integer judgmentBatchSize, Integer matchRank) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCandidate(ReconCandidate candidate) protected voiddup()dup(long judgmentHistoryEntry) booleanfieldAlsoHasFields(String name) getError()getFeature(int feature) Object[]getField(String name, Properties bindings) longgetId()intlonggetMatch()protected StringDeprecated.static StringjudgmentToString(Recon.Judgment judgment) Deprecated.static Reconstatic ReconmakeFreebaseRecon(long judgmentHistoryEntry) Deprecated.static ReconmakeWikidataRecon(long judgmentHistoryEntry) voidsetFeature(int feature, Object v) static Recon.JudgmentDeprecated.
-
Field Details
-
Feature_typeMatch
public static final int Feature_typeMatch- See Also:
-
Feature_nameMatch
public static final int Feature_nameMatch- See Also:
-
Feature_nameLevenshtein
public static final int Feature_nameLevenshtein- See Also:
-
Feature_nameWordDistance
public static final int Feature_nameWordDistance- See Also:
-
Feature_max
public static final int Feature_max- See Also:
-
s_featureMap
-
id
public final long id -
service
-
identifierSpace
-
schemaSpace
-
features
-
candidates
-
judgment
-
judgmentAction
-
judgmentHistoryEntry
public long judgmentHistoryEntry -
judgmentBatchSize
public int judgmentBatchSize -
match
-
error
-
matchRank
public int matchRank
-
-
Constructor Details
-
Recon
-
Recon
protected Recon(long id, long judgmentHistoryEntry) -
Recon
public Recon(long id, long judgmentHistoryEntry, Recon.Judgment judgment, ReconCandidate match, String error, Object[] features, List<ReconCandidate> candidates, String service, String identifierSpace, String schemaSpace, String judgmentAction, Integer judgmentBatchSize, Integer matchRank)
-
-
Method Details
-
judgmentToString
Deprecated. -
stringToJudgment
Deprecated. -
makeFreebaseRecon
Deprecated. -
makeWikidataRecon
-
dup
-
dup
-
copyTo
-
addCandidate
-
getBestCandidate
-
getFeature
-
setFeature
-
getField
-
fieldAlsoHasFields
- Specified by:
fieldAlsoHasFieldsin interfaceHasFields
-
judgmentToString
Deprecated. -
getId
public long getId() -
getJudgmentHistoryEntry
public long getJudgmentHistoryEntry() -
getServiceURI
-
getIdentifierSpace
-
getSchemaSpace
-
getJudgment
-
getMatch
-
getError
-
getCandidates
-
getfeatures
-
getJudgmentAction
-
getJudgmentBatchSize
public int getJudgmentBatchSize() -
getMatchRank
-
loadStreaming
- Throws:
IOException
-