adding support for user defined cleaning rules

and morpheme segmentations

for https://github.com/iLanguage/iLanguageCloud/issues/51