porter.h

来自「根据潜在语义分析进行查询。将文本中的特征集合做LSI变换。」· C头文件 代码 · 共 60 行

H
60
字号
// IRTools Copyright (C) 2000
// This is free software.  See the file COPYING for details.

/*

  IRT_Porter Class

  Pretty simple class: just a Porter stemmer.  This could be integrated
  with the stem class, except the porter.cc file is a little irt_int

  gbn 7/31/2000

*/

//#ifndef IRT_PORTER_INCLUDED
//#define IRT_PORTER_INCLUDED

// All IS files should include irt_common.h
//#ifndef IRT_COMMON_INCLUDED
//# include "irt_common.h"
//#endif

// Friend class
// #ifndef IRT_STEM_INCLUDED
// # include "stem.h"
// #endif

class IRT_Porter {

 public:

  // Constructor:
  IRT_Porter () {
  } // End of constructor for class IRT_Porter

  // Destructor:
  ~IRT_Porter() {
  } // End of destructor for class IRT_Porter

  // Copy:
  //  IRT_Porter( IRT_Porter ) { IRT_Porter }

  // Stem a word; this permanently changes the char* to the stemmed word
  //irt_int IRT_Porter::Porter (char *word);
	int IRT_Porter::Porter (char *word);

 private:

 protected:

};



//#endif




⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?