没有合适的资源?快使用搜索试试~ 我知道了~
classify-poetry:在给定的文本摘录中识别类型诗歌
需积分: 5 0 下载量 199 浏览量
2021-07-24
17:21:13
上传
评论
收藏 21KB ZIP 举报
温馨提示
分类诗歌 识别给定摘录中的诗歌类型 安装 此包 :需要 Node 12+ 才能使用它,并且必须使用import ed 而不是require d。 npm install classify-poetry 用法 诗歌分类 import { classifyPoetry } from "classify-poetry" ; const types = classifyPoetry ( "detect a haiku \n pleased to do, says algorithm \n thanks algorithm" ) ; console . log ( types ) ; // ["haiku"] 检测特定类型 美国广播公司 import { abc } from "classify-poetry" ; abc ( sampleText ) ; // => true or f
资源推荐
资源评论
资源评论
愛幻想的小水瓶
- 粉丝: 28
- 资源: 4547
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功