Welcome To Snipplr
Everyone's Recent Bash Snippets Tagged text
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
When you run this over a text.txt with some text you will get the word distribution on output_ngram.txt as follows:
30 m
29 por
29 aplicaci
27 modelo
27 datos
24 con
21 este
21 esta
20 En
18 posible
18 palabras
1...
0
536
posted 12 years ago by clopez
For any text document this snippet generates an output file that looks like this:
30 m
29 por
29 aplicaci
27 modelo
27 datos
24 con
21 este
21 esta
0
448
posted 12 years ago by clopez
Searches down the current directory every file whose name matches (case insensitively) {{file_pattern}} for the regexp {{text}}.
0
564
posted 13 years ago by jarnaldich
Using a sorted list remove all the lines in file2 from file1
0
441
posted 13 years ago by benpjohnson
« Prev 1 Next »