mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Fix has_unknown_spaces in Doc.copy
This commit is contained in:
parent
8870a6ded7
commit
5642507823
|
@ -983,6 +983,7 @@ cdef class Doc:
|
||||||
other.is_parsed = self.is_parsed
|
other.is_parsed = self.is_parsed
|
||||||
other.is_morphed = self.is_morphed
|
other.is_morphed = self.is_morphed
|
||||||
other.sentiment = self.sentiment
|
other.sentiment = self.sentiment
|
||||||
|
other.has_unknown_spaces = self.has_unknown_spaces
|
||||||
other.user_hooks = dict(self.user_hooks)
|
other.user_hooks = dict(self.user_hooks)
|
||||||
other.user_token_hooks = dict(self.user_token_hooks)
|
other.user_token_hooks = dict(self.user_token_hooks)
|
||||||
other.user_span_hooks = dict(self.user_span_hooks)
|
other.user_span_hooks = dict(self.user_span_hooks)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user