Emeka,
What you are looking for is a word stemmer. You might want to take a look
at something like Porter Stemmer.
-Greg
On Wed, Mar 23, 2011 at 5:35 PM, Emeka wrote:
> Hello All,
>
> I have a file containing dictionary of words ... I would like to play with
> the file in this way. Say I pi
I am trying to extract numeric values from a data file and I'm having
trouble writing a regular expression that would do this.
My data looks like this: <{5, 26}{20, 42, 64}{23, 48}>
I am trying to turn this into a list of lists [ [5, 26], [20, 42, 64],
[23,48] ]
Any pointers would be greatly app
Hi everyone,
I am new to Perl and I am having some trouble working with hashes of hashes.
I am trying to write a simple Markov Chain text generator and thought
it might be a good idea to keep track of state transitions in a hash.
Here is some of the code I have..
===