All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.stanford.nlp.trees.tregex.TregexParserConstants Maven / Gradle / Ivy

Go to download

Stanford Parser processes raw text in English, Chinese, German, Arabic, and French, and extracts constituency parse trees.

The newest version!
/* Generated By:JavaCC: Do not edit this line. TregexParserConstants.java */
package edu.stanford.nlp.trees.tregex;


/**
 * Token literal values and constants.
 * Generated by org.javacc.parser.OtherFilesGen#start()
 */
interface TregexParserConstants {

  /** End of File. */
  int EOF = 0;
  /** RegularExpression Id. */
  int RELATION = 4;
  /** RegularExpression Id. */
  int MULTI_RELATION = 5;
  /** RegularExpression Id. */
  int REL_W_STR_ARG = 6;
  /** RegularExpression Id. */
  int NUMBER = 7;
  /** RegularExpression Id. */
  int IDENTIFIER = 8;
  /** RegularExpression Id. */
  int BLANK = 9;
  /** RegularExpression Id. */
  int REGEX = 10;
  /** RegularExpression Id. */
  int VARNAME = 11;

  /** Lexical state. */
  int DEFAULT = 0;

  /** Literal token values. */
  String[] tokenImage = {
    "",
    "\" \"",
    "\"\\r\"",
    "\"\\t\"",
    "",
    "\"<...\"",
    "",
    "",
    "",
    "\"__\"",
    "",
    "",
    "\"|\"",
    "\"\\n\"",
    "\"(\"",
    "\")\"",
    "\"!\"",
    "\"@\"",
    "\"#\"",
    "\"%\"",
    "\"=\"",
    "\"~\"",
    "\"&\"",
    "\"?\"",
    "\"[\"",
    "\"]\"",
    "\"{\"",
    "\";\"",
    "\"}\"",
  };

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy