If you just want to avoid importing nltk, you can use Porter stemmer here.
http://tartarus.org/martin/PorterStemmer/. It is just a single Python file.

On Fri, May 25, 2012 at 4:45 PM, Philipp Singer <[email protected]> wrote:

> Hey!
>
> Is it possible to easly include stemming to text feature extraction in
> scikit-learn?
>
> I know that nltk has an implementation of the Porter stemmer, but I do
> not want to change my whole
> text feature extraction process to nltl if possible. Would be nice if I
> could include that somehow easyly.
>
> Thanks,
> Philipp
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>



-- 
Best Wishes
--------------------------------------------
Meng Xinfan(蒙新泛)
Institute of Computational Linguistics
Department of Computer Science & Technology
School of Electronic Engineering & Computer Science
Peking University
Beijing, 100871
China
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to