This assignment uses pointers to perform something done often in computer applications: the parsing of text to find “words” (i.e., strings delineated by some delimiter). Assume you are working in the marketing department of a company that sells computers and accessories. Your team has been tasked with determining how customers perceive your products based on customer surveys. The questions in the surveys are open-ended. That is, customers write product reviews as paragraphs about their perceptions of your products. Your job is to prepare the customer responses to facilitate a sentiment analysis. Program executes without crashing Appropriate Internal Documentation main() Declares variables appropriately (uses pointers where needed for tokenization and creates a Review object for storage of Words) Prompts user to enter a filename with appropriate error checking Contains a loop to tokenize each word in the product review using the strtok_s function Calls the AddWord function in the Review class (passing in each token) Review class: Constructor(s) as appropriate Data members: vector of Word objects Functions: AddWord, DisplayWords, getters/setters as appropriate Word class Constructor(s) as appropriate Data members: word and frequency Functions: ConvertToLowerCase, getters/setters as appropriat
This assignment uses pointers to perform something done often in computer applications: the parsing of text to find “words” (i.e., strings delineated by some delimiter). Assume you are working in the marketing department of a company that sells computers and accessories. Your team has been tasked with determining how customers perceive your products based on customer surveys. The questions in the surveys are open-ended. That is, customers write product reviews as paragraphs about their perceptions of your products. Your job is to prepare the customer responses to facilitate a sentiment analysis. Program executes without crashing Appropriate Internal Documentation main() Declares variables appropriately (uses pointers where needed for tokenization and creates a Review object for storage of Words) Prompts user to enter a filename with appropriate error checking Contains a loop to tokenize each word in the product review using the strtok_s function Calls the AddWord function in the Review class (passing in each token) Review class: Constructor(s) as appropriate Data members: vector of Word objects Functions: AddWord, DisplayWords, getters/setters as appropriate Word class Constructor(s) as appropriate Data members: word and frequency Functions: ConvertToLowerCase, getters/setters as appropriat
This assignment uses pointers to perform something done often in computer applications: the parsing of text to find “words” (i.e., strings delineated by some delimiter). Assume you are working in the marketing department of a company that sells computers and accessories. Your team has been tasked with determining how customers perceive your products based on customer surveys. The questions in the surveys are open-ended. That is, customers write product reviews as paragraphs about their perceptions of your products. Your job is to prepare the customer responses to facilitate a sentiment analysis. Program executes without crashing Appropriate Internal Documentation main() Declares variables appropriately (uses pointers where needed for tokenization and creates a Review object for storage of Words) Prompts user to enter a filename with appropriate error checking Contains a loop to tokenize each word in the product review using the strtok_s function Calls the AddWord function in the Review class (passing in each token) Review class: Constructor(s) as appropriate Data members: vector of Word objects Functions: AddWord, DisplayWords, getters/setters as appropriate Word class Constructor(s) as appropriate Data members: word and frequency Functions: ConvertToLowerCase, getters/setters as appropriat
This assignment uses pointers to perform something done often in computer applications: the parsing of text to find “words” (i.e., strings delineated by some delimiter).
Assume you are working in the marketing department of a company that sells computers and accessories. Your team has been tasked with determining how customers perceive your products based on customer surveys. The questions in the surveys are open-ended. That is, customers write product reviews as paragraphs about their perceptions of your products. Your job is to prepare the customer responses to facilitate a sentiment analysis.
Program executes without crashing
Appropriate Internal Documentation
main()
Declares variables appropriately (uses pointers where needed for tokenization and creates a Review object for storage of Words)
Prompts user to enter a filename with appropriate error checking
Contains a loop to tokenize each word in the product review using the strtok_s function
Calls the AddWord function in the Review class (passing in each token)
Review class:
Constructor(s) as appropriate
Data members: vector of Word objects
Functions: AddWord, DisplayWords, getters/setters as appropriate
Word class
Constructor(s) as appropriate
Data members: word and frequency
Functions: ConvertToLowerCase, getters/setters as appropriate
Quantities that have magnitude and direction but not position. Some examples of vectors are velocity, displacement, acceleration, and force. They are sometimes called Euclidean or spatial vectors.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.