当前位置:网站首页>How to use Jieba participle in unity
How to use Jieba participle in unity
2022-07-01 02:23:00 【kiss_ the_ rain86】
step1 stay VS Install in nuget package

search jieba, install 
After installation unity Find the installed package in the root directory of the project :
Your project name /Packages/jieba.NET
Click in , Click on lib, Find out what works for you unity in .net Version of dll, Copy into unity Project assets/Plugins In the folder ( If not, create a new one )
If an error is reported , Say you have package Not loaded , In the same way, search first nuget, And then copy it dll To plugins.
step2 To specify jieba Of config Folder
jieba In bag Resources In the folder is the related setting file . It is recommended to put it in unity Somewhere in the project , Then directly indicate the path in the code , For example, I put it in Assets/Scripts/TellStory/Voice/jiebaConfig Under the folder , So in use jieba Write the following line before :
JiebaNet.Segmenter.ConfigManager.ConfigFileBaseDir = Application.dataPath + @“/Scripts/TellStory/Voice/jiebaConfig”;
step3 To use
How to use it? Read the official instructions directly :
https://github.com/anderscui/jieba.NET
边栏推荐
- (summary I) Halcon Foundation's target finding features + becoming a regular
- C#生成putty格式的ppk文件(支持passphrase)
- 端口号和进程号的区别?
- Electron pit Addon
- ANR问题的分析与解决思路
- 先写API文档还是先写代码?
- int和位数组互转
- [content of content type request header]
- SWT/ANR问题--StorageManagerService卡住
- The image variables in the Halcon variable window are not displayed, and it is useless to restart the software and the computer
猜你喜欢

VirtualBox installation enhancements

With one-stop insight into industry hot spots, the new function "traffic market" of feigua data station B is launched!

Qu'est - ce que le PMP?

求两个线段公共部分的长度

运算符重载的初识
![[2022] Jiangxi postgraduate mathematical modeling scheme and code](/img/f4/86b0dc2bd49c3a54c1e0538b31d458.png)
[2022] Jiangxi postgraduate mathematical modeling scheme and code

CorelDRAW 2022中文精简64位直装版下载

機器學習10-信念貝葉斯分類器

Machine learning 10 belief Bayesian classifier

Go import self built package
随机推荐
Focusing on green and low carbon, data center cooling has entered a new era of "intelligent cooling"
Machine learning 9-universal approximator radial basis function neural network, examining PDA and SVM from a new perspective
SWT/ANR问题--StorageManagerService卡住
SWT/ANR问题--Dump时间过长导致的SWT
修复表中的名字(首字符大写,其他小写)
URLs and URIs
js防抖和节流
Int and bit group turn to each other
SWT / anr problem - SWT caused by too long dump time
Alphabet rearrange inator 3000 (dictionary tree custom sorting)
Winodws 快速添加开机启动项
Pycharm 打开远程目录 Remote Host
视觉特效,图片转成漫画功能
halcon变量窗口的图像变量不显示,重启软件和电脑都没用
Ernie gram, an explicit and complete n-gram mask language model, implements explicit n-gram semantic unit knowledge modeling.
Alphabet-Rearrange-Inator 3000(字典树自定义排序)
[proteus simulation] Arduino UNO +74c922 keyboard decoding drive 4x4 matrix keyboard
SWT / anr issues - ams/wms
SWT / anr problem - deadlock
P6773 [NOI2020] 命运(dp、线段树合并)