Text this: Blind recognition of primitive BCH code based on average cosine conformity