Blob Blame History Raw
diff -up Pyphen-0.7/pyphen/__init__.py.shared_dicts Pyphen-0.7/pyphen/__init__.py
--- Pyphen-0.7/pyphen/__init__.py.shared_dicts	2013-07-21 00:51:04.606945135 -0600
+++ Pyphen-0.7/pyphen/__init__.py	2013-07-21 00:52:58.757932594 -0600
@@ -40,8 +40,8 @@ hdcache = {}
 parse_hex = re.compile(r'\^{2}([0-9a-f]{2})').sub
 parse = re.compile(r'(\d?)(\D?)').findall
 
-# included dictionaries
-dictionaries_root = os.path.join(os.path.dirname(__file__), 'dictionaries')
+# dictionaries provided by hyphen-xx RPM packages, e.g. hyphen-en
+dictionaries_root = '/usr/share/hyphen'
 LANGUAGES = dict(
     (filename[5:-4], os.path.join(dictionaries_root, filename))
     for filename in os.listdir(dictionaries_root)