gov.nist.nlpir.irf.feature
Class IdxFeatWordInText
java.lang.Object
|
+--gov.nist.nlpir.irf.feature.IndexingFeature
|
+--gov.nist.nlpir.irf.feature.IdxFeatWordInString
|
+--gov.nist.nlpir.irf.feature.IdxFeatWordInText
- public class IdxFeatWordInText
- extends IdxFeatWordInString
Container for elements of an Indexing Feature, the feature
itself (a term, vector, label, etc.) and the source document
that it was generated from.
- Version:
- $Revision: 1.1 $
- Author:
- This software was produced by NIST, an agency of the U.S. government,
and by statute is not subject to copyright in the United States.
Recipients of this software assume all responsibilities associated with
its operation, modification and maintenance.
Field Summary |
private int |
paragraphCount
Paragraph number information. |
Method Summary |
int |
getParagraphCount()
Gets the paragraph number information. |
void |
setParagraphCount(int paragraphCount)
Sets the paragraph number information. |
java.lang.String |
toString()
returns string representation of indexing feature showing
feature and source. |
Methods inherited from class java.lang.Object |
,
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
paragraphCount
private int paragraphCount
- Paragraph number information.
IdxFeatWordInText
public IdxFeatWordInText(ProxyDataElem feature,
ProxyDocument sourceDoc,
ProxyDataElem sourceField,
int wordCount,
int paragraphCount)
- Parameters:
f
- feature to be storeds
- source document to be stored
toString
public java.lang.String toString()
- returns string representation of indexing feature showing
feature and source.
- Returns:
- string representation of indexing feature
- Overrides:
- toString in class IdxFeatWordInString
getParagraphCount
public final int getParagraphCount()
- Gets the paragraph number information.
setParagraphCount
public final void setParagraphCount(int paragraphCount)
- Sets the paragraph number information.