Skip to content

Commit

Permalink
code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
teresaloeffelhardt authored May 31, 2024
1 parent 9add319 commit 9f42d57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flair/datasets/sequence_labeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -4851,7 +4851,7 @@ def __init__(
**corpusargs,
) -> None:
"""Initialize the NoisyNER corpus.
:param version: Chooses the labelset for the data.
v0 (default): clean labels
v1 to v7: different kinds of noisy labelsets (details: https://ojs.aaai.org/index.php/AAAI/article/view/16938)
Expand Down Expand Up @@ -4896,7 +4896,7 @@ def __init__(

@classmethod
def _set_path(cls, base_path) -> Path:
base_path = flair.cache_root/"datasets"/"estner" if not base_path else Path(base_path)
base_path = flair.cache_root / "datasets" / "estner" if not base_path else Path(base_path)
return base_path

@classmethod
Expand Down Expand Up @@ -4968,7 +4968,7 @@ def _write_instances(cls, version, base_path, split, data):
for instance in data:
out_file.write(column_separator.join(instance))
out_file.write("\n")


class MASAKHA_POS(MultiCorpus):
def __init__(
Expand Down

0 comments on commit 9f42d57

Please sign in to comment.