mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Merge pull request #1509 from abhi18av/patch-1
Create examples.py for Hindi language
This commit is contained in:
commit
3a0f34d567
2
.github/CONTRIBUTOR_AGREEMENT.md
vendored
2
.github/CONTRIBUTOR_AGREEMENT.md
vendored
|
@ -101,6 +101,6 @@ mark both statements:
|
||||||
| Name | Abhinav Sharma |
|
| Name | Abhinav Sharma |
|
||||||
| Company name (if applicable) | Fourtek I.T. Solutions Pvt. Ltd. |
|
| Company name (if applicable) | Fourtek I.T. Solutions Pvt. Ltd. |
|
||||||
| Title or role (if applicable) | Machine Learning Engineer |
|
| Title or role (if applicable) | Machine Learning Engineer |
|
||||||
| Date | 3 Novermber 2017 |
|
| Date | 3 November 2017 |
|
||||||
| GitHub username | abhi18av |
|
| GitHub username | abhi18av |
|
||||||
| Website (optional) | https://abhi18av.github.io/ |
|
| Website (optional) | https://abhi18av.github.io/ |
|
||||||
|
|
22
spacy/lang/hi/examples.py
Normal file
22
spacy/lang/hi/examples.py
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# coding: utf8
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
|
||||||
|
"""
|
||||||
|
Example sentences to test spaCy and its language models.
|
||||||
|
|
||||||
|
>>> from spacy.lang.hi.examples import sentences
|
||||||
|
>>> docs = nlp.pipe(sentences)
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
sentences = [
|
||||||
|
"एप्पल 1 अरब डॉलर के लिए यू.के. स्टार्टअप खरीदने पर विचार कर रहा है",
|
||||||
|
"स्वायत्त कार निर्माताओं की ओर बीमा दायित्व रखती है",
|
||||||
|
"सैन फ्रांसिस्को फुटवे डिलीवरी रोबोटों पर प्रतिबंध लगाने का विचार कर रहा है",
|
||||||
|
"लंदन यूनाइटेड किंगडम का बड़ा शहर है।",
|
||||||
|
"आप कहाँ हैं?",
|
||||||
|
"फ्रांस के राष्ट्रपति कौन हैं?",
|
||||||
|
"संयुक्त राज्य की राजधानी क्या है?",
|
||||||
|
"बराक ओबामा का जन्म हुआ था?"
|
||||||
|
]
|
Loading…
Reference in New Issue
Block a user