Skip to content

Commit

Permalink
fix debugging print -_-;;;
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Charles Campbell committed Nov 28, 2015
1 parent 69b6249 commit 601fbaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unnaturalcode/sourceModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def predictLexed(self, lexemes):

def windowedQuery(self, lexemes, returnWindows=True):
lastWindowStarts = len(lexemes)-self.windowSize
warn("Query was %i long:" % (len(lexemes),))
error("Query was %i long:" % (len(lexemes),))
if lastWindowStarts < 1:
if returnWindows:
return [(lexemes, self.queryLexed(lexemes))]
Expand Down

0 comments on commit 601fbaf

Please sign in to comment.