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 CoreNLP provides a set of natural language analysis tools which can take raw English language text input and give the base forms of words, their parts of speech, whether they are names of companies, people, etc., normalize dates, times, and numeric quantities, mark up the structure of sentences in terms of phrases and word dependencies, and indicate which noun phrases refer to the same entities. It provides the foundational building blocks for higher level text understanding applications.

There is a newer version: 4.5.7
Show 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