The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to filter the words, if that word contains the expected letter venu_eie UNIX for Advanced & Expert Users 3 03-19-2008 01:00 PM
how i display number in words amitpansuria High Level Programming 3 08-26-2007 08:02 AM
Can a shell script pull the first word (or nth word) off each line of a text file? tricky Shell Programming and Scripting 5 08-17-2006 06:29 AM
return a word between two words bryan UNIX for Dummies Questions & Answers 4 05-23-2006 01:56 PM
How to replace a word with a series of words in a file brap45 Shell Programming and Scripting 2 02-21-2006 02:33 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 05-23-2008
smacherla smacherla is offline
Registered User
  
 

Join Date: May 2008
Location: India
Posts: 6
Display most top 10 occurring words along with number of ocurences of word inthe text

I need Display the most top 10 occurring words along with the number of occurences of those words in the given text.

Sample text as below:


"The Travails of Single South Indian men of conservative upbringing" or "Why we don't get any..."
Yet another action packed weekend in Mumbai, full of fun, frolic and introspection. I have learnt many things. For example having money when none of your friends have any is as good as not having any. And after spending much time in movie theatres, cafes and restaurants I have gathered many insights into the endless monotony that is the love life of south Indian men. What I have unearthed is most disheartening.
Disheartening because comprehension of these truths will not change our status anytime soon. However there is also cause for joy. We never stood a chance anyway. What loads the dice against virile, gallant, well educated, good looking, sincere mallus and tams? ( Kandus were once among us, but Bangalore has changed all that.)
Our futures are shot to hell as soon as our parents bestow upon us names that are anything but alluring. I cannot imagine a more foolproof way of making sure the child remains single till classified advertisements or that maternal uncle in San Francisco thinks otherwise. Name him " Parthasarathy Venkatachalapthy" and his inherent capability to combat celibacy is obliterated before he could even talk.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:25 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0