#include <iostream> #include <vector> using namespace std; class Frequency { public: int getFrequency(vector<string>& article, int n, string word) { int count = 0; for (int i = 0; i < n; ++i) { if (article[i]==word) { count++; ...