#ifndef _TRANSLITERATIONS_H_ #define _TRANSLITERATIONS_H_ #include #include "wordid.h" #include "prob.h" struct TransliterationsImpl; struct Transliterations { explicit Transliterations(); ~Transliterations(); void Initialize(WordID src, const std::vector& src_lets, WordID trg, const std::vector& trg_lets); void Forbid(WordID src, const std::vector& src_lets, WordID trg, const std::vector& trg_lets); void GraphSummary() const; prob_t EstimateProbability(WordID s, const std::vector& src, WordID t, const std::vector& trg) const; private: TransliterationsImpl* pimpl_; }; #endif