Skip to content

Commit

Permalink
chore: isort
Browse files Browse the repository at this point in the history
  • Loading branch information
dhdaines committed Mar 27, 2024
1 parent b1c052b commit fc217bc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion alexi/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@

from pdfplumber import PDF
from pdfplumber.page import Page
from pdfplumber.structure import PDFStructElement, PDFStructTree, StructTreeMissing
from pdfplumber.structure import (PDFStructElement, PDFStructTree,
StructTreeMissing)
from pdfplumber.utils import geometry
from pdfplumber.utils.geometry import T_bbox

Expand Down
3 changes: 2 additions & 1 deletion alexi/label.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@

from alexi.analyse import group_iob
from alexi.convert import FIELDNAMES, Converteur
from alexi.segment import Segmenteur, T_obj, page2features, page2labels, split_pages
from alexi.segment import (Segmenteur, T_obj, page2features, page2labels,
split_pages)

FEATNAMES = [name for name in FIELDNAMES if name != "sequence"]
DEFAULT_MODEL = Path(__file__).parent / "models" / "crfseq.joblib.gz"
Expand Down
2 changes: 1 addition & 1 deletion alexi/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import re
from typing import Optional

from .analyse import PALIERS, Document, MILIEU, MTYPE
from .analyse import MILIEU, MTYPE, PALIERS, Document

LOGGER = logging.getLogger("link")

Expand Down

0 comments on commit fc217bc

Please sign in to comment.