added composite state, ignoring unknown words