fixed behavior if caulculate_similarity takes empty script.
fixed regex for spliting literals
Merge pull request #28 from niyaton/fix-shingles

Fix shingles