vtkNGramExtraction Class Reference

#include <vtkNGramExtraction.h>


Detailed Description

Converts a collection of tokens into a collection of N-grams.

Given a table containing tokens, generates a table containing N-grams.

Inputs: Input port 0: (required) A vtkTable containing document, begin, end, and text columns.

Outputs: Output port 0: A vtkTable containing "document", "begin", "end", "type", and "text" columns.

Use SetInputArrayToProcess(0, ...) to specify the "document" array. Use SetInputArrayToProcess(1, ...) to specify the "begin" array. Use SetInputArrayToProcess(2, ...) to specify the "end" array. Use SetInputArrayToProcess(3, ...) to specify the "text" array.

Thanks:
Developed by Timothy M. Shead (tshead@sandia.gov) at Sandia National Laboratories.
BTX vtkIdType N; ETX

Events:
vtkCommand::ProgressEvent
Tests:
vtkNGramExtraction (Tests)

The documentation for this class was generated from the following file:

Generated on Mon Sep 27 18:35:49 2010 for VTK by  doxygen 1.5.6