medcat.tokenizing.spacy_impl.tokens
Classes:
Attributes:
-
logger–
Document
Document(delegate: Doc)
Methods:
-
get_addon_data– -
get_available_addon_paths– -
get_tokens– -
has_addon_data– -
isupper– -
register_addon_path– -
set_addon_data–
Attributes:
-
base(BaseDocument) – -
linked_ents(list[MutableEntity]) – -
ner_ents(list[MutableEntity]) – -
text(str) –
Source code in medcat-v2/medcat/tokenizing/spacy_impl/tokens.py
197 198 199 200 | |
get_addon_data
Source code in medcat-v2/medcat/tokenizing/spacy_impl/tokens.py
245 246 247 248 | |
get_available_addon_paths
Source code in medcat-v2/medcat/tokenizing/spacy_impl/tokens.py
250 251 252 | |
get_tokens
get_tokens(start_index: int, end_index: int) -> list[MutableToken]
Source code in medcat-v2/medcat/tokenizing/spacy_impl/tokens.py
228 229 230 231 232 233 234 235 | |
has_addon_data
Source code in medcat-v2/medcat/tokenizing/spacy_impl/tokens.py
242 243 | |
isupper
isupper() -> bool
Source code in medcat-v2/medcat/tokenizing/spacy_impl/tokens.py
264 265 | |
register_addon_path
classmethod
Source code in medcat-v2/medcat/tokenizing/spacy_impl/tokens.py
254 255 256 257 258 | |
set_addon_data
Source code in medcat-v2/medcat/tokenizing/spacy_impl/tokens.py
237 238 239 240 | |
Entity
Entity(delegate: Span)
Methods:
-
get_addon_data– -
get_available_addon_paths– -
has_addon_data– -
register_addon_path– -
set_addon_data–
Attributes:
-
base(BaseEntity) – -
confidence(float) – -
context_similarity(float) – -
cui– -
detected_name– -
end_char_index(int) – -
end_index(int) – -
id– -
label(int) – -
link_candidates(list[str]) – -
start_char_index(int) – -
start_index(int) – -
text(str) –
Source code in medcat-v2/medcat/tokenizing/spacy_impl/tokens.py
118 119 120 121 122 123 124 125 126 | |
cui
instance-attribute
cui = ''
detected_name
instance-attribute
detected_name = ''
id
instance-attribute
id = -1
get_addon_data
Source code in medcat-v2/medcat/tokenizing/spacy_impl/tokens.py
140 141 142 143 | |
get_available_addon_paths
Source code in medcat-v2/medcat/tokenizing/spacy_impl/tokens.py
145 146 147 | |
has_addon_data
Source code in medcat-v2/medcat/tokenizing/spacy_impl/tokens.py
137 138 | |
register_addon_path
classmethod
Source code in medcat-v2/medcat/tokenizing/spacy_impl/tokens.py
149 150 151 152 153 | |
set_addon_data
Source code in medcat-v2/medcat/tokenizing/spacy_impl/tokens.py
132 133 134 135 | |
Token
Token(delegate: Token)
Attributes:
-
base(BaseToken) – -
char_index(int) – -
index(int) – -
is_digit(bool) – -
is_punctuation(bool) – -
is_stop(bool) – -
is_upper(bool) – -
lemma(str) – -
lower(str) – -
norm(str) – -
tag(Optional[str]) – -
text(str) – -
text_versions(list[str]) – -
text_with_ws(str) – -
to_skip(bool) –
Source code in medcat-v2/medcat/tokenizing/spacy_impl/tokens.py
25 26 | |