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

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

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

import com.github.houbb.chinese.phrase.api.IChinesePhrase;
import com.github.houbb.chinese.phrase.api.IChinesePhraseContext;
import com.github.houbb.chinese.phrase.support.data.likely.IChinesePhraseLikelyData;
import com.github.houbb.heaven.annotation.ThreadSafe;

import java.util.List;

/**
 * 

project: chinese-phrase-ChiensePhrase

*

create on 2020/3/18 21:38

* * @author Administrator * @since 1.0.0 */ @ThreadSafe public class ChinesePhrase implements IChinesePhrase { @Override public List likely(String phrase, IChinesePhraseContext context) { final IChinesePhraseLikelyData likelyData = context.likelyData(); return likelyData.likelyList(phrase); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy