mirror of
https://github.com/explosion/spaCy.git
synced 2025-03-04 11:25:51 +03:00
run isort
This commit is contained in:
parent
8b64741502
commit
b502de4691
|
@ -57,6 +57,7 @@ def _split_doc(doc: Doc) -> bool:
|
|||
else:
|
||||
return False
|
||||
|
||||
|
||||
def _collect_modifiers(token: Token) -> List[str]:
|
||||
"""Collects adverbial modifiers for a given token.
|
||||
|
||||
|
|
|
@ -337,12 +337,18 @@ def test_split_noun_coordination(
|
|||
|
||||
# test 10:
|
||||
case10_split = split_noun_coordination(noun_construction_case10)
|
||||
assert case10_split == ['fresh apples', 'quite sour apples', 'fresh chicken wings', 'quite sour chicken wings']
|
||||
assert case10_split == [
|
||||
"fresh apples",
|
||||
"quite sour apples",
|
||||
"fresh chicken wings",
|
||||
"quite sour chicken wings",
|
||||
]
|
||||
|
||||
# test 11:
|
||||
case11_split = split_noun_coordination(noun_construction_case11)
|
||||
pass
|
||||
|
||||
|
||||
################### test factory ##############################
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user