Comments (6)
谢谢提醒!
[email protected] 需要 split 的这个设计确实很二,已经修复该问题。
from nodejieba.
词性标注 具体 有哪些词性?
uj ul n v 总表有吗
from nodejieba.
@willin 参考一下这个 https://gist.github.com/luw2007/6016931
from nodejieba.
thx
@yanyiwu 不过jieba部分没有中文注解 如 df
mg
a 形容词
ad 副形词
an 名形词
ag 形容词性语素
b 区别词
c 连词
d 副词
df *********************
dg 副语素
e 叹词
f 方位词
g 语素
h 前接成分
i 成语
j 简称略语
k 后接成分
l 习用语
m 数词
mg *********************
mq 数量词
n 名词
ng 名词性语素
nr 人名
nrfg *********************
nrt *********************
ns 地名
nt 机构团体名
nz 其它专名
o 拟声词
p 介词
q 量词
r 代词
rg 代词性语素
rr 人称代词
rz 指示代词
s 处所词
t 时间词
tg 时间词性语素
u 助词
ud *********************
ug *********************
uj *********************
ul *********************
uv *********************
uz *********************
v 动词
vd 副动词
vg 动词性语素
vi 不及物动词(内动词)
vn 名动词
vq *********************
x 非语素字
y 语气词
z 状态词
zg *********************
from nodejieba.
最近有个需求要做智能控制,所以分词上有很多问题会需要请教,能给个联系方式吗,比如微信什么的
{ cut: [ '把', '卧室', '所有', '的', '灯', '都', '关', '了' ],
tag:
[ { word: '把', tag: 'p' },
{ word: '卧室', tag: 'n' },
{ word: '所有', tag: 'b' },
{ word: '的', tag: 'uj' },
{ word: '灯', tag: 'n' },
{ word: '都', tag: 'd' },
{ word: '关', tag: 'v' },
{ word: '了', tag: 'ul' } ],
extract: [ { word: '卧室', weight: 8.20023407859 } ] }
{ cut: [ '把', '卧室', '全部', '的', '灯', '都', '关', '了' ],
tag:
[ { word: '把', tag: 'p' },
{ word: '卧室', tag: 'n' },
{ word: '全部', tag: 'n' },
{ word: '的', tag: 'uj' },
{ word: '灯', tag: 'n' },
{ word: '都', tag: 'd' },
{ word: '关', tag: 'v' },
{ word: '了', tag: 'ul' } ],
extract: [ { word: '卧室', weight: 8.20023407859 } ] }
{ cut: [ '把', '卧室', '全部', '的', '灯关', '了' ],
tag:
[ { word: '把', tag: 'p' },
{ word: '卧室', tag: 'n' },
{ word: '全部', tag: 'n' },
{ word: '的', tag: 'uj' },
{ word: '灯关', tag: 'x' },
{ word: '了', tag: 'ul' } ],
extract:
[ { word: '灯关', weight: 11.739204307083542 },
{ word: '卧室', weight: 8.20023407859 } ] }
三个句子是差不多的。分别是把卧室全部的灯关了
,把卧室全部的灯都关了
和把卧室所有的灯都关了
,结果全部
算名词,所有
算区别词。这样的结果跟我设想的很不一样啊。。。。
- 灯关 x =_=!!!
- 全部 n | 所有 b
from nodejieba.
微信联系方式在README.md 最下面就有啊。
from nodejieba.
Related Issues (20)
- Unable to compile on Windows 11 with node-jieba 2.5.2/2.6.0 HOT 3
- The reason why installation failed on CentOS may be the version number
- 在老项目中 node 5.1.0,nodejieba v1.0.0,执行不下去的问题
- 老大,啥时候能解决v2.6.0发版问题呀 HOT 5
- README 中的文章都访问不了,大佬可以更新一下嘛,想看看实现思路 HOT 3
- 请问有没有同学遇到alinode(fully-static)动态加载的问题
- unable to install [email protected] for arch=aarch HOT 2
- Cannot build nodejieba with Node 18 HOT 2
- can not build in electron HOT 2
- 在線演示的網站倒了,打算轉用github pages或其他工具嗎?
- Does not segment 民不畏死 from the Tao Te Ching?
- Lacking of maintenance HOT 7
- Dict update
- 安装2.5.2失败 HOT 15
- 从2.6.0降低版本安装2.5.2 服务器报错 error: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found HOT 1
- 安装,找不到 nodejieba包 HOT 1
- cannot build in electron 20, node 16
- nodejieba.node is not a valid Win32 application HOT 5
- npm i error HOT 1
- 为什么windows不支持了,binary没法下载
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodejieba.