Collect words from a document and store them in Triples. More...
Public Member Functions | |
GatherDocument (int document, TripleList< T > *tripleList) | |
Iniitialise the class with an id and list. | |
void | insertTerm (S *word) |
Insert a word found in the document. | |
int | documentNumber (void) |
Return the document id. |
Collect words from a document and store them in Triples.
This class is used to collect the set of words from a document and provide the list of Triples representing the document.