gpt4 book ai didi

pl.edu.icm.model.bwmeta.y.YElement.getOneLanguage()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-16 21:18:40 27 4
gpt4 key购买 nike

本文整理了Java中pl.edu.icm.model.bwmeta.y.YElement.getOneLanguage()方法的一些代码示例,展示了YElement.getOneLanguage()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YElement.getOneLanguage()方法的具体详情如下:
包路径:pl.edu.icm.model.bwmeta.y.YElement
类名称:YElement
方法名:getOneLanguage

YElement.getOneLanguage介绍

暂无

代码示例

代码示例来源:origin: pl.edu.icm.yadda/yadda-polindex

private LanguageEnum convertLanguage(YElement yElement) {
  LanguageEnum result = DEFAULT_LANGUAGE;
  
  YLanguage ylanguage = yElement.getOneLanguage();
  
  if (YLanguage.Undetermined != ylanguage) {
    try {
      result = LanguageEnum.fromValue( ylanguage.getShortCode() );
    } catch (IllegalArgumentException e) {
      logArticleWarning(yElement.getId(), "language {} can not be converted to polindex language, default language ({}) is set", ylanguage, DEFAULT_LANGUAGE);
    }
  }
  
  return result;
}

代码示例来源:origin: pl.edu.icm.yadda/yadda-analysis-impl

if(yElement.getOneLanguage()!=null){
bibEntry.setField(BibEntry.FIELD_LANGUAGE, yElement.getOneLanguage().getBibliographicCode());

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com