Sentences membership calculation in concurrent way