Class ArabicSegmenter

  • All Implemented Interfaces:
    WordSegmenter, ThreadsafeProcessor<String,​String>, Serializable

    public class ArabicSegmenter
    extends Object
    implements WordSegmenter, ThreadsafeProcessor<String,​String>
    Arabic word segmentation model based on conditional random fields (CRF). This is a re-implementation (with extensions) of the model described in (Green and DeNero, 2012). This package includes a JFlex-based orthographic normalization package that runs on the input prior to processing by the CRF-based segmentation model. The normalization options are configurable, but must be consistent for both training and test data.
    Author:
    Spence Green
    See Also:
    Serialized Form
    • Constructor Detail

      • ArabicSegmenter

        public ArabicSegmenter​(Properties props)
        Make an Arabic Segmenter.
        Parameters:
        props - Options for how to tokenize. See the main method of ArabicTokenizer for details
      • ArabicSegmenter

        public ArabicSegmenter​(ArabicSegmenter other)
        Copy constructor.
        Parameters:
        other -