diff options
author | sgeerken <devnull@localhost> | 2012-07-09 00:46:52 +0200 |
---|---|---|
committer | sgeerken <devnull@localhost> | 2012-07-09 00:46:52 +0200 |
commit | 528de63c0e0258a9f626f2c79d89d6d49086d176 (patch) | |
tree | 268e82b699bd3f53d7d58684036560f7d1d148ef /dw/hyphenator.hh | |
parent | cbe5e631bdc8837d8ef3eea9053dacf70e974de7 (diff) |
Hyphenation exceptions. Some bug fixes.
Diffstat (limited to 'dw/hyphenator.hh')
-rw-r--r-- | dw/hyphenator.hh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dw/hyphenator.hh b/dw/hyphenator.hh index 905d682f..9ef3e306 100644 --- a/dw/hyphenator.hh +++ b/dw/hyphenator.hh @@ -24,10 +24,15 @@ private: lout::container::typed::HashTable <lout::object::Integer, lout::container::typed::Collection <lout::object::Integer> > *tree; + lout::container::typed::HashTable <lout::object::ConstString, + lout::container::typed::Vector + <lout::object::Integer> > *exceptions; void insertPattern (char *s); + void insertException (char *s); public: - Hyphenator (core::Platform *platform, const char *filename); + Hyphenator (core::Platform *platform, + const char *patFile, const char *excFile); ~Hyphenator(); static Hyphenator *getHyphenator (core::Platform *platform, |