Swift string handling

It is quite important for many NLP aplications to have fast string processing. Checking if a word starts with capital if ends with “ing” etc… It is paramount for NLP. Specially for production systems where you can’t assume there is “a dictionary of correct words” mapped to integers. There are spelling mistakes, “joinedwords” etc…