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

com.github.houbb.chinese.phrase.api.impl.ChinesePhraseContext Maven / Gradle / Ivy

package com.github.houbb.chinese.phrase.api.impl;

import com.github.houbb.chinese.phrase.api.IChinesePhraseContext;
import com.github.houbb.chinese.phrase.support.data.likely.IChinesePhraseLikelyData;

/**
 * 

project: chinese-phrase-IChinesePhrase

*

create on 2020/3/18 21:36

* * @author Administrator * @since 1.0.0 */ public class ChinesePhraseContext implements IChinesePhraseContext { /** * 近义词数据 * @since 0.0.3 */ private IChinesePhraseLikelyData likelyData; /** * 新建对象实例 * @since 0.0.3 * @return 上下文 */ public static ChinesePhraseContext newInstance() { return new ChinesePhraseContext(); } @Override public IChinesePhraseLikelyData likelyData() { return likelyData; } public ChinesePhraseContext likelyData(IChinesePhraseLikelyData likelyData) { this.likelyData = likelyData; return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy