[FYR] refactor segment accuracy, extract a hooker while compare two segment results
[FYR] add test for segment result comparator
[FYR] refactor SegmentResultCompareHook, make it can record word index