Skip to content

Commit

Permalink
Merge remote-tracking branch 'theoriginal/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
lotia committed Jul 7, 2011
2 parents cb4f974 + e08e6e8 commit bf6347c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.pyc
5 changes: 4 additions & 1 deletion parse.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python
import sys
import nltk

def get_parts(text):
Expand All @@ -12,4 +14,5 @@ def get_parts(text):
return dic

if __name__ == '__main__':
get_parts("hi how are you")
print get_parts(sys.argv[1])

0 comments on commit bf6347c

Please sign in to comment.