https://github.com/dcavar/spacyxmlrpc
spaCy XML-RPC example
https://github.com/dcavar/spacyxmlrpc
Last synced: 8 months ago
JSON representation
spaCy XML-RPC example
- Host: GitHub
- URL: https://github.com/dcavar/spacyxmlrpc
- Owner: dcavar
- License: apache-2.0
- Created: 2017-07-18T23:03:27.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-18T23:19:06.000Z (about 9 years ago)
- Last Synced: 2024-12-29T00:55:15.554Z (over 1 year ago)
- Language: Python
- Size: 7.81 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# spaCy XML-RPC example
(C) 2017 by [Damir Cavar]
This [spaCy] XML-RPC example shows how you can fire up a [spaCy] server and communicate with it using
[XML-RPC in Python].
The initialization of [spaCy] could be slow and not practicle for processing of big data and large text collections.
## Command Line
Start the server using the command line:
python spacyRPCServer.py
The default parameters are:
- port: 8000
- hostname: localhost
- language: en
Use for *--help* option for details:
python spacyRPCServer.py --help
## License
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
[spaCy]: https://spacy.io/ "spaCy"
[XML-RPC in Python]: https://docs.python.org/3/library/xmlrpc.html "Python 3 XML-RPC"
[Damir Cavar]: http://damir.cavar.me/ "Damir Cavar homepage"