edsnlp.pipelines.ner.scores.tnm.models
TnmEnum
Bases: Enum
Source code in edsnlp/pipelines/ner/scores/tnm/models.py
7 8 9 |
|
__str__()
Source code in edsnlp/pipelines/ner/scores/tnm/models.py
8 9 |
|
Unknown
Bases: TnmEnum
Source code in edsnlp/pipelines/ner/scores/tnm/models.py
12 13 |
|
unknown = 'x'
class-attribute
Modifier
Bases: TnmEnum
Source code in edsnlp/pipelines/ner/scores/tnm/models.py
16 17 18 19 20 21 22 23 |
|
clinical = 'c'
class-attribute
histopathology = 'p'
class-attribute
neoadjuvant_therapy = 'y'
class-attribute
recurrent = 'r'
class-attribute
autopsy = 'a'
class-attribute
ultrasonography = 'u'
class-attribute
multifocal = 'm'
class-attribute
Tumour
Bases: TnmEnum
Source code in edsnlp/pipelines/ner/scores/tnm/models.py
26 27 28 |
|
unknown = 'x'
class-attribute
in_situ = 'is'
class-attribute
TNM
Bases: BaseModel
Source code in edsnlp/pipelines/ner/scores/tnm/models.py
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
|
modifier: Optional[Union[int, Modifier]] = None
class-attribute
tumour: Optional[Union[int, Tumour]] = None
class-attribute
node: Optional[Union[int, Unknown]] = None
class-attribute
metastasis: Optional[Union[int, Unknown]] = None
class-attribute
version: Optional[str] = None
class-attribute
version_year: Optional[int] = None
class-attribute
coerce_o(v)
Source code in edsnlp/pipelines/ner/scores/tnm/models.py
41 42 43 44 45 |
|
validate_year(v)
Source code in edsnlp/pipelines/ner/scores/tnm/models.py
47 48 49 50 51 52 53 54 55 56 57 |
|
norm()
Source code in edsnlp/pipelines/ner/scores/tnm/models.py
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
|