当前位置:网站首页>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
边栏推荐
- VirtualBox 安装增强功能
- Pycharm 打开远程目录 Remote Host
- [content of content type request header]
- CentOS installs multiple versions of PHP and switches
- 对象与对象变量
- SWT/ANR问题--StorageManagerService卡住
- [JS] [Nuggets] get people who are not followers
- Clickhouse 消除由group by产生的间隙
- @ConfigurationProperties和@Value的区别
- Batch import of Excel data in applet
猜你喜欢

Electron pit Addon

How to maintain efficient collaboration in remote office and achieve stable growth of projects | community essay solicitation

Delete duplicate email

Sitge joined the opengauss open source community to jointly promote the ecological development of the database industry

视觉特效,图片转成漫画功能

halcon变量窗口的图像变量不显示,重启软件和电脑都没用

SWT / anr problem - binder stuck

Batch import of Excel data in applet

@The difference between configurationproperties and @value

如何在智汀中實現智能鎖與燈、智能窗簾電機場景聯動?
随机推荐
The image variables in the Halcon variable window are not displayed, and it is useless to restart the software and the computer
如何在智汀中实现智能锁与灯、智能窗帘电机场景联动?
SWT / anr problem - SWT caused by long execution time of native method
视觉特效,图片转成漫画功能
VirtualBox 安装增强功能
[2022] Jiangxi postgraduate mathematical modeling scheme and code
RocketQA:通过跨批次负采样(cross-batch negatives)、去噪的强负例采样(denoised hard negative sampling)与数据增强(data augment
SWT / anr problem - deadlock
halcon变量窗口的图像变量不显示,重启软件和电脑都没用
SWT/ANR问题--Binder Stuck
Leetcode(524)——通过删除字母匹配到字典里最长单词
Small program cloud development -- wechat official account article collection
【2022年】江西省研究生数学建模方案、代码
How to learn and read code
Ernie gram, an explicit and complete n-gram mask language model, implements explicit n-gram semantic unit knowledge modeling.
CorelDRAW 2022 Chinese Simplified 64 bit direct download
对象与对象变量
The latest CSDN salary increase technology stack in 2022 overview of APP automated testing
Delete duplicate email
AS400 大廠面試