Skip to content
This repository was archived by the owner on Mar 22, 2025. It is now read-only.
This repository was archived by the owner on Mar 22, 2025. It is now read-only.

DDT data download only works for ".danlp" directory #107

@smaakage85

Description

@smaakage85

I stumbled upon the bug below. I tried to fix it, but the code for download/unzip was not transparent to me (needs refactoring?).

from danlp.datasets.ddt import DDT
import os
from pathlib import Path

cache_dir = os.path.join(str(Path.home()), '.notdanlp')
ner = DDT(cache_dir = cache_dir)
# data are not saved (cached) in cache_dir

ddt_dir = os.path.join(cache_dir, "ddt")
os.listdir(ddt_dir)

Best,
Lars

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions