Alpha Video Training
Results 1 to 4 of 4

Thread: Word Counts from Text File

  1. #1
    Member
    Real Name
    CP Good
    Join Date
    Sep 2009
    Posts
    243

    Default Word Counts from Text File

    I am trying to locate a function (that I think exists) that will take a text file as input and return a list of words found in the file and the number of times each word appears. I want to make sure this function does not exist before I write a script to do this task.

    I need a memory refresh!

    Thank you,

    CPGood

  2. #2
    "Certified" Alphaholic Stan Mathews's Avatar
    Real Name
    Stan Mathews
    Join Date
    Apr 2000
    Location
    Bowling Green, KY
    Posts
    25,119

    Default Re: Word Counts from Text File

    File.to_string() to get the text into a variable.
    KEYWORDS() to get the unique words.
    Don't know of anything built in that will give a count of each keyword.
    Last edited by Stan Mathews; 04-08-2013 at 12:29 PM.
    There can be only one.

  3. #3
    Member
    Real Name
    CP Good
    Join Date
    Sep 2009
    Posts
    243

    Default Re: Word Counts from Text File

    Hi Stan,

    Thank you!

    CPGood

  4. #4
    "Certified" Alphaholic G Gabriel's Avatar
    Real Name
    G. Gabriel
    Join Date
    Oct 2004
    Posts
    7,204

    Default Re: Word Counts from Text File

    occurs_words()

Similar Threads

  1. No Word Wrap in Text Properties?
    By MoGrace in forum Alpha Five Version 8
    Replies: 4
    Last Post: 07-31-2011, 10:07 PM
  2. Open Word, Add text, save and close Word
    By Mike Wilson in forum Alpha Five Version 9 - Desktop Applications
    Replies: 5
    Last Post: 02-23-2010, 12:40 PM
  3. Copy text from Word to Letter
    By John Fringer in forum Alpha Five Version 9 - Desktop Applications
    Replies: 6
    Last Post: 04-15-2008, 09:58 AM
  4. Text Word Wrap Missing?
    By Peter.Greulich in forum Alpha Five Version 7
    Replies: 2
    Last Post: 11-19-2006, 11:15 PM
  5. Bug in Bubble help text's word wrap text
    By Lew Choy Onn in forum Alpha Five Version 6
    Replies: 6
    Last Post: 10-22-2004, 09:29 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •