pattersonkl / google-refine

Automatically exported from code.google.com/p/google-refine
0 stars 0 forks source link

Question about a word count feature/transformation -- is this possible? #301

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello -- I have a question about an operation I would very much like to 
perform, but do not know how. Specifically, I want to get the word count for 
the number of words in a given cell, so that I could perform some 
transformation that would produce a parallel column with numerical values 
denoting the word count for each cell in the "project description" column. In 
other words, I want to be able to compare the length of descriptions across a 
huge number of projects. 

Is there a way to do this? What are the commands one uses? Where can I go to 
read more about them? 

Thank you so much - I am a very enthusiastic novice here... 

Also, I'm using the latest download of google refine for a Mac OS X.

Best, 
elizabeth

Original issue reported on code.google.com by elizabet...@gmail.com on 6 Jan 2011 at 10:17

GoogleCodeExporter commented 8 years ago
Please direct questions to the mailing list. This issue tracking system is only 
for bugs and feature requests.

You can try to create a new column based on that column, using this expression

value.split(/\s+/).length()

Original comment by dfhu...@gmail.com on 7 Jan 2011 at 5:14