weka.deduping.blocking
Class TokenInstanceOccurrence

java.lang.Object
  extended byweka.deduping.blocking.TokenInstanceOccurrence

public class TokenInstanceOccurrence
extends java.lang.Object

A lightweight object for storing information about an occurrence of a token (a.k.a word, term) in a record.


Field Summary
 int count
          The number of times it occurs in the Document
 InstanceReference instanceRef
          A reference to the Document where it occurs
 
Constructor Summary
TokenInstanceOccurrence(InstanceReference instanceRef, int count)
          Create an occurrence with these values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instanceRef

public InstanceReference instanceRef
A reference to the Document where it occurs


count

public int count
The number of times it occurs in the Document

Constructor Detail

TokenInstanceOccurrence

public TokenInstanceOccurrence(InstanceReference instanceRef,
                               int count)
Create an occurrence with these values