I would like to parse sentences from text. I do not want to use NLP libraries, as they probably not support my language.
My idea is something like this:
sentence_begin = space_AnyCapitalLetter
sentence_middle = minimum_5_letters
sencence_end = ". " or "? " or "! "
sentece = sencente_begin + sentence_middle + sentence_end
Unfortunatelly I do not have any idea how to make the working code..
Other idea I have, is to use .split function, like this
x = any capitall letter (don´t know how to set)
text.split(". x" or "? x" or "! x") (don´t know how to set more options for split, as "or" probably not work)
Thanks for any help. Or maybe this is completely wrong approach, so I will be happy for any other suggestion.