📄 porter.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 + -