1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/examples/word_counter
2019-10-27 10:03:15 +03:00
..
.gitignore bring back examples 2019-06-29 12:34:32 +02:00
cinderella.txt bring back examples 2019-06-29 12:34:32 +02:00
README.md examples: fix word_counter 2019-10-16 02:52:36 +03:00
word_counter.v compiler/vlib: replace substr/left/right with [start..end] everywhere 2019-10-27 10:03:15 +03:00

usage: word_counter [text_file]
using cinderella.txt
a => 25
able => 2
after => 1
afterwards => 1
again => 10
against => 2
all => 12
allow => 1
allowed => 2
along => 1
also => 2
always => 2
an => 4
and => 140
anew => 1
anger => 1
another => 2
answered => 1
any => 1
anyone => 2
...