Class SRXSentenceTokenizer

    • Constructor Detail

      • SRXSentenceTokenizer

        public SRXSentenceTokenizer​(Language language)
        Build a sentence tokenizer based on the rules in the segment.srx file that comes with LanguageTool.
      • SRXSentenceTokenizer

        public SRXSentenceTokenizer​(Language language,
                                    String srxInClassPath)
        Parameters:
        srxInClassPath - the path to an SRX file in the classpath
        Since:
        3.2