stop.h

来自「信息检索中常用的技术」· C头文件 代码 · 共 37 行

H
37
字号
/********************************   stop.h   *********************************    Purpose: Stop list DFA generator and driver module header.    Notes:   This module implements a fast finite state machine generator,             and a driver, for implementing stop list filters.**/#ifndef STOP_H#define STOP_H#include "strlist.h"               /* this code relies on the StrList package *//******************************************************************************//******************************   Public Types   ******************************/typedef struct _DfaStruct *DFA;      /* Deterministic Finite Automaton object *//******************************************************************************//****************************   Public Routines   *****************************/#ifdef __STDC__extern DFA   BuildDFA( StrList words );extern char *GetTerm( FILE *stream, DFA machine, int size, char *output );#elseextern DFA   BuildDFA();extern char *GetTerm();#endif#endif

⌨️ 快捷键说明

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