Skip to content

srinivasmangipudi/wordprocessor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

wordprocessor

Usage:

'prompt$ cat {path_to_file} | php wordprocessor.php 1' : Pipe text to STDIN

'prompt$ php wordprocessor.php 2 {num_of_words}' : Generates words randomly from within PHP

'prompt$ php wordprocessor.php 3' : GETs 1000 words from random.org API


Sample Output - with included text file: The Project Gutenberg EBook of The Complete Works of William Shakespeare

$ cat ws.txt | php wordprocessor.php 1

Array(

[the] => 1

[project] => 331

[gutenberg] => 326

[ebook] => 17

[of] => 18307

[the] => 27842

[complete] => 248

[works] => 284

[william] => 354

[shakespeare] => 272

...

[locating] => 1

[gutindex] => 1)

** WordMapCount: 23802

** RunTime: 8 secs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages