#include #include #include using namespace std; #include "stem.h" int main() { char term[50]; set stoplist; stoplist.insert("to"); stoplist.insert("from"); stoplist.insert("a"); stoplist.insert("the"); stoplist.insert("an"); stoplist.insert("for"); cout << "Please enter a single English word: "; cin >> term; if (stoplist.count(term) != 0) cout << "It should be stopped" << endl; Stem(term); cout << "The stem of it is " << term << endl; return 0; }