summaryrefslogtreecommitdiff
path: root/tc
diff options
context:
space:
mode:
Diffstat (limited to 'tc')
-rwxr-xr-xtc9
1 files changed, 9 insertions, 0 deletions
diff --git a/tc b/tc
new file mode 100755
index 0000000..07eab5d
--- /dev/null
+++ b/tc
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+
+require 'nlp_ruby'
+
+
+while line = STDIN.gets
+ puts tokenize(line.strip).size
+end
+