• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java Sharable类的典型用法和代码示例

java 1次浏览

本文整理汇总了Java中gate.creole.metadata.Sharable的典型用法代码示例。如果您正苦于以下问题:Java Sharable类的具体用法?Java Sharable怎么用?Java Sharable使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

Sharable类属于gate.creole.metadata包,在下文中一共展示了Sharable类的16个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: setEndpoint

点赞 2

import gate.creole.metadata.Sharable; //导入依赖的package包/类
/**
 * For internal use by the duplication mechanism only.
 */
@Sharable
public void setEndpoint(ApiEndpoint endpoint) {
  this.endpoint = endpoint;
}
 

开发者ID:GateNLP,
项目名称:cloud-client,
代码行数:8,
代码来源:GateCloudPR.java

示例2: setLastCallTime

点赞 2

import gate.creole.metadata.Sharable; //导入依赖的package包/类
/**
 * For internal use by the duplication mechanism only.
 */
@Sharable
public void setLastCallTime(long[] lastCallTime) {
  this.lastCallTime = lastCallTime;
}
 

开发者ID:GateNLP,
项目名称:cloud-client,
代码行数:8,
代码来源:GateCloudPR.java

示例3: setTagger

点赞 2

import gate.creole.metadata.Sharable; //导入依赖的package包/类
/**
 * For internal use by the duplication mechanism only.
 */
@Sharable
public void setTagger(MaxentTagger tagger) {
  this.tagger = tagger;
}
 

开发者ID:GateNLP,
项目名称:gateplugin-Stanford_CoreNLP,
代码行数:8,
代码来源:Tagger.java

示例4: setTagger

点赞 2

import gate.creole.metadata.Sharable; //导入依赖的package包/类
/**
 * For internal use by the duplication mechanism only.
 */
@Sharable
public void setTagger(AbstractSequenceClassifier<CoreLabel> tagger) {
  this.tagger = tagger;
}
 

开发者ID:GateNLP,
项目名称:gateplugin-Stanford_CoreNLP,
代码行数:8,
代码来源:NER.java

示例5: setChunkerModel

点赞 2

import gate.creole.metadata.Sharable; //导入依赖的package包/类
/**
 * For internal use by the duplication mechanism.
 */
@Sharable
public void setChunkerModel(ChunkerModel model) {
  this.model = model;
}
 

开发者ID:vita-us,
项目名称:ViTA,
代码行数:8,
代码来源:OpenNlpChunker.java

示例6: setSentenceModel

点赞 2

import gate.creole.metadata.Sharable; //导入依赖的package包/类
/**
 * For internal use by the duplication mechanism.
 */
@Sharable
public void setSentenceModel(SentenceModel model) {
  this.model = model;
}
 

开发者ID:vita-us,
项目名称:ViTA,
代码行数:8,
代码来源:OpenNlpSentenceSplit.java

示例7: setModelsMap

点赞 2

import gate.creole.metadata.Sharable; //导入依赖的package包/类
/**
 * For internal use by the duplication mechanism.
 */
@Sharable
public void setModelsMap(Map<String, TokenNameFinderModel> models) {
  this.models = models;
}
 

开发者ID:vita-us,
项目名称:ViTA,
代码行数:8,
代码来源:OpenNLPNameFin.java

示例8: setTokenizerModel

点赞 2

import gate.creole.metadata.Sharable; //导入依赖的package包/类
/**
 * For internal use by the duplication mechanism.
 */
@Sharable
public void setTokenizerModel(TokenizerModel model) {
  this.model = model;
}
 

开发者ID:vita-us,
项目名称:ViTA,
代码行数:8,
代码来源:OpenNlpTokenizer.java

示例9: setPosModel

点赞 2

import gate.creole.metadata.Sharable; //导入依赖的package包/类
/**
 * For internal use by the duplication mechanism.
 */
@Sharable
public void setPosModel(POSModel model) {
  this.model = model;
}
 

开发者ID:vita-us,
项目名称:ViTA,
代码行数:8,
代码来源:OpenNlpPOS.java

示例10: setExistingTagger

点赞 2

import gate.creole.metadata.Sharable; //导入依赖的package包/类
@Sharable
public void setExistingTagger(NumbersTagger existingTagger) {
  this.existingTagger = existingTagger;
}
 

开发者ID:Network-of-BioThings,
项目名称:GettinCRAFTy,
代码行数:5,
代码来源:NumbersTagger.java

示例11: setExistingTagger

点赞 2

import gate.creole.metadata.Sharable; //导入依赖的package包/类
@Sharable
public void setExistingTagger(MeasurementsTagger existingTagger) {
  this.existingTagger = existingTagger;
}
 

开发者ID:Network-of-BioThings,
项目名称:GettinCRAFTy,
代码行数:5,
代码来源:MeasurementsTagger.java

示例12: setClassLoader

点赞 2

import gate.creole.metadata.Sharable; //导入依赖的package包/类
/**
 * <em>This method is public only for the benefit of {@link Factory#duplicate}
 * and should not be called directly</em>
 */
@Sharable
public void setClassLoader(GateClassLoader classLoader) {
  this.classLoader = classLoader;
}
 

开发者ID:Network-of-BioThings,
项目名称:GettinCRAFTy,
代码行数:9,
代码来源:Transducer.java

示例13: setClassLoaderRefCount

点赞 2

import gate.creole.metadata.Sharable; //导入依赖的package包/类
/**
 * <em>This method is public only for the benefit of {@link Factory#duplicate}
 * and should not be called directly</em>
 */
@Sharable
public void setClassLoaderRefCount(AtomicInteger classLoaderRefCount) {
  this.classLoaderRefCount = classLoaderRefCount;
}
 

开发者ID:Network-of-BioThings,
项目名称:GettinCRAFTy,
代码行数:9,
代码来源:Transducer.java

示例14: setExistingTransducer

点赞 2

import gate.creole.metadata.Sharable; //导入依赖的package包/类
/**
 * <em>This method is public only for the benefit of {@link Factory#duplicate}
 * and should not be called directly</em>
 */
@Sharable
public void setExistingTransducer(Transducer existingTransducer) {
  this.existingTransducer = existingTransducer;
}
 

开发者ID:Network-of-BioThings,
项目名称:GettinCRAFTy,
代码行数:9,
代码来源:Transducer.java

示例15: setStanfordParser

点赞 1

import gate.creole.metadata.Sharable; //导入依赖的package包/类
/**
 * Inject an existing instance of the LexicalizedParser. <b>This method is
 * intended for use by {@link Factory#duplicate} and should not be called
 * directly.</b>
 */
@Sharable
public void setStanfordParser(LexicalizedParser parser) {
  this.stanfordParser = parser;
}
 

开发者ID:GateNLP,
项目名称:gateplugin-Stanford_CoreNLP,
代码行数:10,
代码来源:Parser.java

示例16: setStanfordParser

点赞 1

import gate.creole.metadata.Sharable; //导入依赖的package包/类
/**
 * Inject an existing instance of the LexicalizedParser.
 * <b>This method is intended for use by {@link Factory#ducplicate}
 * and should not be called directly.</b>
 */
@Sharable
public void setStanfordParser(LexicalizedParser parser) {
  this.stanfordParser = parser;
}
 

开发者ID:vita-us,
项目名称:ViTA,
代码行数:10,
代码来源:Parser.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)