Auto-format [ci skip]

This commit is contained in:
Ines Montani 2019-03-11 17:10:50 +01:00
parent b0b990e405
commit cdd418b93e
5 changed files with 7 additions and 7 deletions

View File

@ -16,6 +16,7 @@ class HebrewDefaults(Language.Defaults):
stop_words = STOP_WORDS stop_words = STOP_WORDS
writing_system = {"direction": "rtl", "has_case": False, "has_letters": True} writing_system = {"direction": "rtl", "has_case": False, "has_letters": True}
class Hebrew(Language): class Hebrew(Language):
lang = "he" lang = "he"
Defaults = HebrewDefaults Defaults = HebrewDefaults

View File

@ -16,6 +16,7 @@ class ChineseDefaults(Language.Defaults):
stop_words = STOP_WORDS stop_words = STOP_WORDS
writing_system = {"direction": "ltr", "has_case": False, "has_letters": False} writing_system = {"direction": "ltr", "has_case": False, "has_letters": False}
class Chinese(Language): class Chinese(Language):
lang = "zh" lang = "zh"
Defaults = ChineseDefaults # override defaults Defaults = ChineseDefaults # override defaults

View File

@ -328,12 +328,10 @@ A tuple of tokens coordinated to `span.root`.
> assert [t.text for t in apples_conjuncts] == [u"oranges"] > assert [t.text for t in apples_conjuncts] == [u"oranges"]
> ``` > ```
| Name | Type | Description | | Name | Type | Description |
| ---------- | ------- | -------------------- | | ----------- | ------- | ----------------------- |
| **RETURNS** | `tuple` | The coordinated tokens. | | **RETURNS** | `tuple` | The coordinated tokens. |
## Span.lefts {#lefts tag="property" model="parser"} ## Span.lefts {#lefts tag="property" model="parser"}
Tokens that are to the left of the span, whose heads are within the span. Tokens that are to the left of the span, whose heads are within the span.

View File

@ -221,8 +221,8 @@ A tuple of coordinated tokens, not including the token itself.
> assert [t.text for t in apples_conjuncts] == [u"oranges"] > assert [t.text for t in apples_conjuncts] == [u"oranges"]
> ``` > ```
| Name | Type | Description | | Name | Type | Description |
| ---------- | ------- | -------------------- | | ----------- | ------- | ----------------------- |
| **RETURNS** | `tuple` | The coordinated tokens. | | **RETURNS** | `tuple` | The coordinated tokens. |
## Token.children {#children tag="property" model="parser"} ## Token.children {#children tag="property" model="parser"}