write term extraction impl, extend labeled relations impl, add jape for ling filter.