-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.rmd
60 lines (43 loc) · 1.16 KB
/
index.rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
title: "jiebaR 中文分词文档"
knit: "bookdown::render_book"
date: "`r paste('更新于 ',Sys.Date())`"
documentclass: book
bibliography: [book.bib]
biblio-style: apalike
link-citations: yes
site: true
description: "jiebaR 中文分词"
url: 'https\://jiebaR.qinwf.com'
github-repo: qinwf/jiebaR_doc
---
# 简介
<img width="0" height="0" src="./Rlogo.png"></img>
```{r setup, include=FALSE}
options(htmltools.dir.version = FALSE, formatR.indent = 2)
library(methods)
library(jiebaR)
set.seed(100)
```
通过 CRAN 安装:
```r
install.packages("jiebaR")
```
新建一个分词器
```{r}
library(jiebaR)
分词器 = worker()
```
然后就是分词了,
```{r}
segment("我是一段文本", 分词器)
```
就是这么简单!
## 遇到了问题?
请将能够**重复**这个问题的对应**代码**加上对应的**数据(文本)**的**源文件**
+ 发送至用户邮件列表 [[email protected]](mailto:[email protected])
+ 或者访问 https://groups.google.com/d/forum/jiebaR
+ 或者在 [GitHub](https://github.com/qinwf/jiebaR) 提交 issues。
<HR />
## 旧版文档
[旧版文档](https://qinwenfeng.com/doc/jiebaR_v0_8/)