Skip to content

Commit

Permalink
refacto: span_getter/setter in ner/misc pipes & update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
percevalw committed Sep 12, 2023
1 parent aa750d0 commit c50dfce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion edsnlp/pipelines/core/terminology/terminology.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from itertools import chain
from typing import Any, Dict, List, Literal, Optional
from typing import Any, Dict, List, Optional

from spacy.language import Language
from spacy.tokens import Doc, Span
from typing_extensions import Literal

from edsnlp.matchers.phrase import EDSPhraseMatcher
from edsnlp.matchers.regex import RegexMatcher
Expand Down
3 changes: 2 additions & 1 deletion edsnlp/pipelines/ner/umls/factory.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from typing import Any, Dict, Literal, Union
from typing import Any, Dict, Union

from spacy.language import Language
from typing_extensions import Literal

from edsnlp.pipelines.core.terminology.terminology import TerminologyMatcher

Expand Down

0 comments on commit c50dfce

Please sign in to comment.