Skip to content

Commit

Permalink
Update import method for Travis error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amruth27m committed Mar 13, 2017
1 parent 5c47af5 commit 5c22096
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions libindic/ngram/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,14 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
import indicsyllabifier
import normalizer


import normalizer.core
class Ngram:
"""
Ngram class.You need to create an object to use the function
"""

def __init__(self):
self.normalizer = normalizer.getInstance()
self.normalizer = normalizer.core.getInstance()
self.syllabifier = indicsyllabifier.getInstance()

def syllableNgram(self, text, window_size=2):
Expand Down

0 comments on commit 5c22096

Please sign in to comment.