This commit is contained in:
2013-10-20 10:04:24 +00:00
parent b7306cb084
commit d63efb5f21
5 changed files with 163 additions and 68 deletions

View File

@@ -9,6 +9,11 @@
#pragma once
#endif // _MSC_VER > 1000
#include <map>
#include <string>
enum HM_CONDITION_TYPE
{
HM_CONDITION_TYPE_FALSE = -1,
@@ -33,6 +38,8 @@ public:
///////////////////////////////////////////////////////////
// 공시 문장분석 : 긍정/부정.
enum HM_CONDITION_TYPE DetectConditionTitle( CString & strTitle, int nSrcType );
std::map<std::string, std::string> m_SynonymList;
private:
BOOL Init_Item_Single( CStringArray &array, CString strFile );
@@ -43,7 +50,8 @@ private:
// Not 검색기능.
BOOL SearchNot( CStringArray &array, CString &strSource );
private:
void LoadSysnonyms(const CString& FileName);
CStringArray m_arrTextNot; // 공시 부정문구.
CStringArray m_arrTextAnd; // 공시 긍정문구.
@@ -53,6 +61,8 @@ private:
CStringArray m_arrNewsPlusNot; // 뉴스플러스_부정문구.
CStringArray m_arrManual; // 수동 문구.
};
#endif // !defined(AFX_CONDITION_H__44C2F7E9_C1A6_4017_9143_69C3C4FC9E54__INCLUDED_)