-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCommonWord.cpp
More file actions
44 lines (36 loc) · 1.03 KB
/
CommonWord.cpp
File metadata and controls
44 lines (36 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// CommonWord.cpp: implementation of the CCommonWord class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "ARS.h"
#include "CommonWord.h"
#include "ARSDocument.h"
#include "KeyWord.h"
#include "IndexTermsInDoc.h"
#include "DBManpulation.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
extern CDBManpulation ARSdb;
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CCommonWord::CCommonWord()
{
}
CCommonWord::~CCommonWord()
{
}
void CCommonWord::AddCommonWord(char *pNewWord)
{
/////////Add the new word to the Common word table in ARS Database; ////
}
BOOL CCommonWord::IsWordCommon(char *pMatchWord)
{
///////needing a strategy for matching the input word to words in table //
char WordValue[15];
strcpy(WordValue, pMatchWord);
return ARSdb.MatchCommonWord(WordValue);
}