Randomise sentences
in
Programming Questions
•
2 years ago
I'm trying to create a Processing sketch that can read the text from a file (preferably a .txt file) and then randomise the order of the sentences. So far I've succeeded in loading the text into an array but I've not found a way to recognise sentences instead. Can anyone advise how you'd do this?
I eventually want it to be able to recognise paragraphs and such, but baby steps ;-)
I eventually want it to be able to recognise paragraphs and such, but baby steps ;-)
1