Class JidCorpusParser<J>

    • Field Detail

      • ASCII_LINE_FEED_UNICODE_END_OF_LINE

        public static final char ASCII_LINE_FEED_UNICODE_END_OF_LINE
        See Also:
        Constant Field Values
      • ASCII_RECORD_SEPARATOR_UNICODE_INFORMATION_SEPARATOR_TWO

        public static final char ASCII_RECORD_SEPARATOR_UNICODE_INFORMATION_SEPARATOR_TWO
        See Also:
        Constant Field Values
      • ASCII_UNIT_SEPARATOR_UNICODE_INFORMATION_SEPARATOR_ONE

        public static final char ASCII_UNIT_SEPARATOR_UNICODE_INFORMATION_SEPARATOR_ONE
        See Also:
        Constant Field Values
      • END_OF_RECORD

        public static final java.lang.String END_OF_RECORD
      • CONTROL_CHARACTERS

        protected static final char[] CONTROL_CHARACTERS
      • CONTROL_CHARACTERS_AND_NEWLINE

        protected static final char[] CONTROL_CHARACTERS_AND_NEWLINE
    • Constructor Detail

      • JidCorpusParser

        protected JidCorpusParser​(java.lang.String input)
        Construct a new valid JID corpus parser.
        Parameters:
        input - the string to parse.
      • JidCorpusParser

        protected JidCorpusParser​(java.lang.String input,
                                  boolean tracing)
        Construct a new valid JID corpus parser.
        Parameters:
        input - the string to parse.
        tracing - if tracing of the parser should be enabled.
    • Method Detail

      • parse

        public java.util.List<J> parse()
        Parse the input.
        Returns:
        a list of parsed ValidJids.
      • getParserRootRule

        protected abstract org.parboiled.Rule getParserRootRule()