小编jet*_*d13的帖子

测试点击python应用程序

click是一个python包,用于为您的应用程序创建漂亮的命令行界面.我一直在玩点击,今天在github 上推了这个简单的罗马数字转换器.

我现在要做的是测试我的点击应用程序.我正在阅读文档,但不知道如何运行测试.

有没有人有测试点击应用程序的经验?

python python-click

7
推荐指数
1
解决办法
5140
查看次数

如何使用python为文本添加标点符号?

我在玩IBM Watson Speech To Text Service API.对于那些不知道这项服务被用来转录音频的人.您将音频文件上载到服务并返回文本.到目前为止,该服务一直很好,但问题是返回的文本不包含标点符号.我试过解决这个问题nltk,但没有结果.

nltk我试过的一些代码.

#string is the text
string = """Hey guys today I'm gonna show you how to make bulletproof coffee so free guys and never heard a blooper coffee it's been around since like two thousand two been around for awhile but i think it's been a lot more popular now probably within the last maybe year two years so for me I recently just started doing bulletproof coffee …
Run Code Online (Sandbox Code Playgroud)

python nltk

6
推荐指数
2
解决办法
2667
查看次数

标签 统计

python ×2

nltk ×1

python-click ×1