You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/usr/bin/env python3
- # -*-coding:utf-8-*-
- """
- * Copyright (C) 2018 OwnThink.
- *
- * Name : __init__.py
- * Author : Yener <yener@ownthink.com>
- * Version : 0.01
- * Description :
- """
- from jiagu import analyze
-
- any = analyze.Analyze()
-
- init = any.init
-
- # 分词
- seg = any.cws
- cws = any.cws
- cut = any.cws
-
- # 词性标注
- pos = any.pos
-
- # 命名实体识别
- ner = any.ner
-
- # 依存句法分析
- # parser
-
- # 加载用户字典
- # load_userdict
-
- # 自定义分词模型
- load_model = any.load_model
-
- # 关键字抽取
- keywords = any.keywords
-
- # 中文摘要
- summarize = any.summarize
-
- # 新词发现
- findword = any.findword
|