add remove segment function

add a function to judge if a segment should be removed.
.
aaa
Merge branch 'master' of https://github.com/ohluyao/NLPAccount

Conflicts:
	TestNLPIR/TestNLPIR/Program.cs
ttt