GreynirAPI:用于Greynir NLP解析器的REST API

时间:2021-02-09 21:14:54
【文件属性】:
文件名称:GreynirAPI:用于Greynir NLP解析器的REST API
文件大小:54KB
文件格式:ZIP
更新时间:2021-02-09 21:14:54
Python GreynirAPI 该Web应用程序为 Icelandic自然语言处理引擎提供了REST API。 该API使用框架在Python 3.6+中实现。 它通过或任何符合ASGI的服务器运行。 建立 在存储库根目录中创建一个Python虚拟环境(需要Python 3.6或更高版本, 或CPython)。 $ virtualenv -p /path/to/python3 venv 激活虚拟环境: $ source venv/bin/activate 安装依赖项: $ pip install -r requirements.txt 安装符合ASGI的服务器(建议使用uvicorn ): $ pip install uvicorn 运行网络应用 激活虚拟环境后,从存储库根目录运行以下命令: $ uvicorn main:app 或在开发模式下: $ uvicorn main:ap
【文件预览】:
GreynirAPI-master
----.github()
--------workflows()
----LICENSE.txt(1KB)
----main.py(4KB)
----requirements.txt(64B)
----README.md(3KB)
----tests()
--------test_app.py(7KB)
----.gitignore(815B)
----static()
--------logo.png(56KB)

网友评论