version 0.2.2

change funciton name splitDoc to segmentDoc