Almost Done: Need some Help in Generating FEATURE VECTORS

Diez B. Roggisch deets_noospaam at web.de
Fri Mar 5 19:44:16 CET 2004


You could create a dict that maps every word to the feature index - then for
creating the feature vector you simply create a list with size of the # of
words in the dict an set in this list the corresponding index.

-- 
Regards,

Diez B. Roggisch



More information about the Python-list mailing list