• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

script/program request

  • Thread starter Deleted member 82943
  • Start date
D

Deleted member 82943

Guest
Hello everyone,

I'm doing a research paper on bias and need a program to tally and read words in an article. for example the output should look like this:

the: 100 is: 100 obama: 20 etc

if money is needed I could front a some cash for this

Thanks!
 
What language?

In VBScript its pretty easy, just create an ADORRecordset with word and count as paramters, then pass the entire file as text to it and make it go through every word and check if its already in the Recordset, if it is, count++, if it isn't add a record and set the word paramter and count parameter.
 
anything, it could be a webpage i.e written in javascript or c++ from the commandline just so long as I can see the output. it should take ideally a html webpage or a properly formatted txt file as input and then count the words and the frequency
 
The Natural Language Toolkit has a bunch of programs that support doing language and text processing. I believe there is a program included to perform word counts.

http://www.nltk.org/
 
unix:
cat $FILE | tr '\t ' '\n\n' | sort | uniq -c | sort -rn

paypal $500 please, thanks!
 
lol, j/k.

Actually I love doing stuff like that. We have tons of log files at work and it is really easy to use various tools to slice and dice the data and generate reports from them.
 
Wow does the unix line work oh HTML or formatted txt files?
 
Back
Top