Presentation is loading. Please wait.

Presentation is loading. Please wait.

Project 1 General Approach.

Similar presentations


Presentation on theme: "Project 1 General Approach."— Presentation transcript:

1 Project 1 General Approach

2 General Approach Input text file Create a Text object
Using the Text object with its List of Tokens

3 DistinctWordList For each token that is not a delimiter, create a DistinctWord Search DistinctWordList to see if it is present If not, add it to the DistinctWordList If so, increment its count

4 SentenceList Search List of Tokens for any of .?!
Everything up to and including first match is a sentence Starting with Token after the first .?!, repeat the process

5 ParaGraphList Similar to SentenceList but look for consecutive “newline” characters


Download ppt "Project 1 General Approach."

Similar presentations


Ads by Google