Download presentation
Presentation is loading. Please wait.
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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.