Commits

Tomaz Curk  committed 0762e09

  • Participants
  • Parent commits a5dfaf9

Comments (0)

Files changed (1)

         else:
             raise TypeError        
 
-    __languageDataPath = os.path.join(os.path.dirname(__file__), 'language_data')
+    import textConfiguration
+    __languageDataPath = textConfiguration.datasetsPath
     langData = {
 #            'en' : (lambda x: x, [], lambda x: re.split(r'\b', x, re.DOTALL)),
             'en' : (orngTextWrapper.lemmagen(os.path.join(__languageDataPath,'lem-en.bin')).lemmatizeText,