Improve performance in pair-replacements. Fix bug in isNotCapitalized
Merge pull request #20 from jaumeortola/master

Improve performance in pair-replacements. Fix bug in isNotCapitalized