[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hash Function

From: Jonathan Karsch
Subject: Hash Function
Date: Wed, 05 Dec 2012 10:07:26 -0500


I am trying to figure out how many distinct words are in a text document, and 
how many instances there are of each.
I was wondering if there is a way to create a hash table in Octave after I have 
read in the document line-by-line. I would also need to go through with 
something like myhash(%word) =+1 so it can hash each word.

Thank you,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]