VTK
dox/TextAnalysis/vtkNGramExtraction.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkNGramExtraction.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00015 /*-------------------------------------------------------------------------
00016   Copyright 2008 Sandia Corporation.
00017   Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
00018   the U.S. Government retains certain rights in this software.
00019 -------------------------------------------------------------------------*/
00020 
00050 #ifndef __vtkNGramExtraction_h
00051 #define __vtkNGramExtraction_h
00052 
00053 #include <vtkTableAlgorithm.h>
00054 
00055 class VTK_TEXT_ANALYSIS_EXPORT vtkNGramExtraction :
00056   public vtkTableAlgorithm
00057 {
00058 public:
00059   static vtkNGramExtraction* New();
00060   vtkTypeMacro(vtkNGramExtraction, vtkTableAlgorithm);
00061   void PrintSelf(ostream& os, vtkIndent indent);
00062 
00064 
00065   vtkSetMacro(N, vtkIdType);
00066   vtkGetMacro(N, vtkIdType);
00068 
00069 //BTX
00070 protected:
00071   vtkNGramExtraction();
00072   ~vtkNGramExtraction();
00073 
00074   virtual int RequestData(
00075     vtkInformation* request,
00076     vtkInformationVector** inputVector,
00077     vtkInformationVector* outputVector);
00078 
00079 private:
00080   vtkNGramExtraction(const vtkNGramExtraction &); // Not implemented.
00081   void operator=(const vtkNGramExtraction &); // Not implemented.
00082 
00083   vtkIdType N;
00084 //ETX
00085 };
00086 
00087 #endif // __vtkNGramExtraction_h
00088