I have strings that are spelled correctly but in all lower case (except for the first character), that I would like to correct for capitalisation (in English - so basically just names of things...). I tried pyspellcheck, autocorrect and symspellpy, which do not consider capitalisation afaik.
So for example the string 'And then we went to see frank from england to have a beer with him.'
should be corrected to 'And then we went to see Frank from England to have a beer with him.'
.
Do you know any library that can do that?
You can do it with spaCy:
Don't forget to download the spaCy language model: