Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Threaded View
Lucene.Net, mail # user - Tokenize a string


Copy link to this message
-
Tokenize a string
vicente garcia 2012-06-15, 12:01
Hi, I have a little doubt.

I'd like to tokenize a string. Something like this:

StandardAnalyzer analyzer = new StandardAnalyzer("hola mi nombre es Vicente");

List<string> tokens = analyzer.GetTokens();

And tokens is: [hola] [mi] [nombre] [es] [Vicente]

is this possible?

Thanks :)
--
LinkedIn profile: http://www.linkedin.com/in/vicentegarcia

Twiter: http://twitter.com/clrstack

Blog: http://geeks.ms/blogs/vgarcia