fix spliting by words in base algorithm
doc: add base algorithm class description