Class BilouCodec

java.lang.Object
opennlp.tools.namefind.BilouCodec
All Implemented Interfaces:
SequenceCodec<String>

public class BilouCodec extends Object implements SequenceCodec<String>
The default SequenceCodec implementation according to the BILOU scheme.
  • B: 'beginning' of a NE
  • I: 'inside', the word is inside a NE
  • L: 'last', the last (I) word inside a NE
  • O: 'outside', the word is a regular word outside a NE
  • U: 'unit', any standalone token following words outside of NE
See paper by Roth D. and Ratinov L. (2009): Design Challenges and Misconceptions in Named Entity Recognition.
See Also: