summaryrefslogtreecommitdiff
path: root/tc
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-03-07 17:37:41 +0100
committerPatrick Simianer <p@simianer.de>2014-03-07 17:37:41 +0100
commit133533638df8f748eb2982c1a762adb013d2ae4e (patch)
treee2cb7afefd15a1d4ce347d22c50bd2f452802e45 /tc
parent9d693723ba7bcf380182e8bd4d622f6d8eff4e3a (diff)
tc
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
+