mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-04 20:30:24 +03:00
Remove extra list call
This commit is contained in:
parent
2adfc4eb9f
commit
5a2f3dabda
|
@ -4077,7 +4077,7 @@
|
|||
"nlp.add_pipe('pythainlp')",
|
||||
"doc = nlp('ผมเป็นคนไทย แต่มะลิอยากไปโรงเรียนส่วนผมจะไปไหน ผมอยากไปเที่ยว')",
|
||||
"",
|
||||
"print(list(list(doc.sents)))",
|
||||
"print(list(doc.sents))",
|
||||
"# output: [ผมเป็นคนไทย แต่มะลิอยากไปโรงเรียนส่วนผมจะไปไหน , ผมอยากไปเที่ยว]"
|
||||
],
|
||||
"code_language": "python",
|
||||
|
|
Loading…
Reference in New Issue
Block a user