https://github.com/willf/oxford_language_model
Python client for the Project Oxford web language model API
https://github.com/willf/oxford_language_model
Last synced: about 1 year ago
JSON representation
Python client for the Project Oxford web language model API
- Host: GitHub
- URL: https://github.com/willf/oxford_language_model
- Owner: willf
- License: mit
- Created: 2015-12-28T18:53:20.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-28T19:04:38.000Z (over 10 years ago)
- Last Synced: 2025-03-24T12:52:25.841Z (about 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Python client for the Project Oxford web language model API
This is a client for the Project Oxford Web Language Model API
Information about the Web Language Model API can be found at
https://msdn.microsoft.com/en-US/library/mt628626.aspx
You will need a subscription key to use this services. There are limits to
the number of calls one can make to this service, and rate limits. This client
does not concern itself with these limits.
Example uses:
> import oxford_language_model
> client = oxford_language_model.Client()
> tobreak = 'thebeatles'
> print(client.break_into_words(tobreak)[0]['words'])
"the beatles"
> print(client.generate_next_words('the world wide')[0]['word'])
"web"