zoukankan      html  css  js  c++  java
  • Stanford CoreNLP--常量定义

     在运行Stanford CoreNLP过程中会用到tokenize,pos等参数,这些以常量形式定义在edu.stanford.nlp.pipeline.Annotator中,具体如下:

    /**
    * These are annotators which StanfordCoreNLP knows how to create.
    * Add new annotators and/or annotators from other groups here!
    */
    String STANFORD_TOKENIZE = "tokenize";
    String STANFORD_CLEAN_XML = "cleanxml";
    String STANFORD_SSPLIT = "ssplit";
    String STANFORD_POS = "pos";
    String STANFORD_LEMMA = "lemma";
    String STANFORD_NER = "ner";
    String STANFORD_REGEXNER = "regexner";
    String STANFORD_ENTITY_MENTIONS = "entitymentions";
    String STANFORD_GENDER = "gender";
    String STANFORD_TRUECASE = "truecase";
    String STANFORD_PARSE = "parse";
    String STANFORD_DETERMINISTIC_COREF = "dcoref";
    String STANFORD_COREF = "coref";
    String STANFORD_MENTION = "mention"; // TODO(jebolton) Merge with entitymention
    String STANFORD_RELATION = "relation";
    String STANFORD_SENTIMENT = "sentiment";
    String STANFORD_COLUMN_DATA_CLASSIFIER = "cdc";
    String STANFORD_DEPENDENCIES = "depparse";
    String STANFORD_NATLOG = "natlog";
    String STANFORD_OPENIE = "openie";
    String STANFORD_QUOTE = "quote";
    String STANFORD_UD_FEATURES = "udfeats";
    String STANFORD_LINK = "entitylink";
    String STANFORD_KBP = "kbp";

  • 相关阅读:
    LCPhash求解
    BSGS
    洛谷—— P1849 [USACO12MAR]拖拉机Tractor
    BZOJ——2101: [Usaco2010 Dec]Treasure Chest 藏宝箱
    洛谷—— P1561 [USACO12JAN]爬山Mountain Climbing
    BZOJ——1601: [Usaco2008 Oct]灌水
    洛谷—— P1342 请柬
    [SDOI2009]Elaxia的路线 SPFA+Topo
    1737 配对
    51Nod 1378 夹克老爷的愤怒
  • 原文地址:https://www.cnblogs.com/csts/p/5489628.html
Copyright © 2011-2022 走看看