Word frequency: Difference between revisions
→{{header|FutureBasic}}
Line 2,399:
CFMutableArrayRef wordArr = fn MutableArrayWithCapacity( 0 )
// Create word
NSInteger totalWords = 0
// Enumerate each unique word, get its frequency, create its own key/value pair dictionary, add each dictionary into master array
for wrd in array
totalWords++
|