Skip to content

Commit

Permalink
Update test_tnt.py
Browse files Browse the repository at this point in the history
  • Loading branch information
isnowfy committed Nov 26, 2013
1 parent c1fcc06 commit c545bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_tnt.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def getdata(filename='brown.txt'):
line = line.strip()
if not line:
continue
words = map(lambda x: x.split('/'), line.split(' '))
words = map(lambda x: x.split('/'), line.split())
data.append(words)
return data

Expand Down

0 comments on commit c545bed

Please sign in to comment.