⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 porter.h

📁 根据潜在语义分析进行查询。将文本中的特征集合做LSI变换。
💻 H
字号:
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -