gistlib
other ruby categories
text-processing code snippets in ruby
how do i count how often each word occurs in "wa ta're wa ba 100 ba ba 100 200" such that (two words contracted like `ta're` are counted as one) and numbers are also counted as words? in ruby
gistlib
by LogSnag