Faster port of Language detection built by Shuyo in Python
Project description
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.
Description: # langua
A faster port of https://code.google.com/archive/p/language-detection/ in Python
Basic usage
===========
To detect the language of the text:
```python
>>> from langua import DetectLang
>>> dt = DetectLang()
>>> dt.detect("War doesn't show who's right, just who's left.")
'en'
>>> dt.detect("Ein, zwei, drei, vier")
'de'
```
Keywords: language detection library
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
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.
Description: # langua
A faster port of https://code.google.com/archive/p/language-detection/ in Python
Basic usage
===========
To detect the language of the text:
```python
>>> from langua import DetectLang
>>> dt = DetectLang()
>>> dt.detect("War doesn't show who's right, just who's left.")
'en'
>>> dt.detect("Ein, zwei, drei, vier")
'de'
```
Keywords: language detection library
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
langua-1.0.2.tar.gz
(978.4 kB
view hashes)
Built Distribution
langua-1.0.2-py2.py3-none-any.whl
(992.1 kB
view hashes)
Close
Hashes for langua-1.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe2dd52682ae6735dd9ab605e48d880706f1bdc9d42c3274d8f8b6e048a665fa |
|
MD5 | f308b5b87b4bc2e220100f9cd47778a0 |
|
BLAKE2b-256 | 3b84cc29a686d91fb1bc666eb726ad3306333f40800323e1158dea916f20944a |