[Help] Word-Length Frequency menu

User Tag List

Results 1 to 3 of 3
  1. #1
    Fragged Rabbit's Avatar Active Member
    Reputation
    39
    Join Date
    Feb 2007
    Posts
    169
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Help] Word-Length Frequency

    ill also let you have my life time subscription of Honorbuddy and Gatherbuddy. (I need an A that bad, its considered one test grad
    Last edited by Fragged Rabbit; 05-13-2010 at 06:10 PM.

    [Help] Word-Length Frequency
  2. #2
    ltlwinters's Avatar Member
    Reputation
    1
    Join Date
    Jan 2008
    Posts
    15
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey, do you still need help with this assignment?
    And by word-length frequency do you mean like...
    a - give it a paragraph
    b - count the length of all the words
    c - show stats on which lengths compared to other lengths in some format (like 2 letter words, 19%, 3 letter words, 30% etc etc)

    if not, please specify what you mean by word length frequency. I'd love to help a fellow programmer out!

  3. #3
    Phygar's Avatar ( ͡° ͜ʖ ͡°)
    Reputation
    444
    Join Date
    Nov 2007
    Posts
    1,591
    Thanks G/R
    7/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It should be really easy to do actually, just look through every single character and remove the things like punctuation and quotations. Next, look through everything again for whitespace and subtract the location of the last whitespace character from the location of the newest whitespace character. Just make an integer array and do something like this each time it finds new whitespace
    Code:
    frequencyArray[space between whitespace characters - 1]++;
    The frequency of 1 letter words is in frequencyArray[1]
    The frequency of 2 letter words is in frequencyArray[2]...

Similar Threads

  1. [Question] Extract in words I'm chinese person I need help
    By a0930323046 in forum Pokemon GO Chat
    Replies: 2
    Last Post: 08-27-2016, 06:11 PM
  2. [HELP] Shadow word death script
    By gamehard in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 12-13-2013, 01:49 PM
  3. [Help] CPU emitting high frequency when idle.
    By Ground Zero in forum Hardware
    Replies: 2
    Last Post: 01-04-2012, 05:59 AM
  4. Need Help With Word Editing/Building!
    By svedin in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 06-28-2009, 03:03 PM
All times are GMT -5. The time now is 05:39 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search