i want to make stop words remover.
how to build stopwords remover in c++?
Collapse
X
-
Tags: None
-
Since it's C++, I would use the C++ Standard Template Library and process my natural language input into a vector<string>. The stop words would be in a set<string>. Then just process the vector<string> from begin()to end()testing each string to be a member of set<string>. If it is, delete the string from the vector.
This would be just a few lines of code.
Comment