6#ifndef LIMA_LINGUISTICPROCESSING_ANALYSISDICTENHANCEDANALYSISDICTIONARY_H
7#define LIMA_LINGUISTICPROCESSING_ANALYSISDICTENHANCEDANALYSISDICTIONARY_H
21#define ENHANCEDANALYSISDICTIONARY_CLASSID "EnhancedAnalysisDictionary"
23class EnhancedAnalysisDictionaryPrivate;
35 std::shared_ptr<Lima::Common::AbstractAccessByString> access,
36 const std::string& dataFile);
56 virtual std::pair< DictionarySubWordIterator, DictionarySubWordIterator >
60 virtual std::pair< DictionarySuperWordIterator, DictionarySuperWordIterator >
63 virtual uint64_t
getSize()
const override;
68 void dictionaryFileChanged (
const QString & path );
69 void slotAccessFileReloaded(std::shared_ptr<Common::AbstractAccessByString> access);
#define LIMA_ANALYSISDICT_EXPORT
InitializableObjectManager< AbstractResource, ResourceInitializationParameters > Manager
AbstractAnalysisDictionary(QObject *parent=nullptr)
EnhancedAnalysisDictionary(const QString &dataFilePath=QString())
virtual DictionaryEntry getEntry(const Lima::LimaString &word) const override
get dictionary entry for a word
virtual std::pair< DictionarySubWordIterator, DictionarySubWordIterator > getSubWordEntries(const int offset, const LimaString &key) const override
Returns subwords entries.
virtual std::pair< DictionarySuperWordIterator, DictionarySuperWordIterator > getSuperWordEntries(const LimaString &key) const override
return superword entries A superword entry is an entry that begins with the given key
virtual uint64_t getSize() const override
return number of keys in dictionary
DictionaryEntry getEntryData(const StringsPoolIndex entryId) const
virtual void init(Common::XMLConfigurationFiles::GroupConfigurationStructure &unitConfiguration, Manager *manager) override