Permalink
Browse files

added new wordform features: multiple files, comments, post-morpholog…

…y wordforms etc

git-svn-id: http://sphinxsearch.googlecode.com/svn/trunk@3181 8b96e2b9-35c5-2c16-bc47-5122d61876d4
  • Loading branch information...
1 parent 42dd8cf commit e8b82d9d1f5d55c6c39e0fb02321ee2130a7c7ef glook committed Apr 10, 2012
View
@@ -193,13 +193,13 @@ class CSphStopwordBuilderDict : public CSphDict
virtual SphWordID_t GetWordID ( const BYTE * pWord, int iLen, bool );
virtual void LoadStopwords ( const char *, ISphTokenizer * ) {}
- virtual bool LoadWordforms ( const char *, ISphTokenizer *, const char * ) { return true; }
+ virtual bool LoadWordforms ( const CSphVector<CSphString> &, ISphTokenizer *, const char *, CSphString & ) { return true; }
virtual bool SetMorphology ( const char *, bool, CSphString & ) { return true; }
virtual void Setup ( const CSphDictSettings & tSettings ) { m_tSettings = tSettings; }
virtual const CSphDictSettings & GetSettings () const { return m_tSettings; }
virtual const CSphVector <CSphSavedFile> & GetStopwordsFileInfos () { return m_dSWFileInfos; }
- virtual const CSphSavedFile & GetWordformsFileInfo () { return m_tWFFileInfo; }
+ virtual const CSphVector <CSphSavedFile> & GetWordformsFileInfos () { return m_dWFFileInfos; }
virtual const CSphMultiformContainer * GetMultiWordforms () const { return NULL; }
virtual bool IsStopWord ( const BYTE * ) const { return false; }
@@ -219,7 +219,7 @@ class CSphStopwordBuilderDict : public CSphDict
// fake setttings
CSphDictSettings m_tSettings;
CSphVector <CSphSavedFile> m_dSWFileInfos;
- CSphSavedFile m_tWFFileInfo;
+ CSphVector <CSphSavedFile> m_dWFFileInfos;
};
Oops, something went wrong.

0 comments on commit e8b82d9

Please sign in to comment.