lothelanor / actib

This repository will soon contain all scripts and links to the annotated corpora of Tibetan.
MIT License
11 stars 1 forks source link

multiple empty folder creation #3

Closed lothelanor closed 1 year ago

lothelanor commented 2 years ago

Since the botok update and the freeze implementation the Seg-POS script (pos-directory.py) creates 1 or 2 extra folders for the results, which are empty. All results are there but they end up in the third results folder.

eroux commented 1 year ago

how can I trigger this error? I tried python3 pos-directory.py Ramayana and it creates

Ramayana-out-11022023_16-52-54/
├── pos
│   └── Ramayana_normalised.txt
├── pyrrha
│   └── Ramayana_normalised.txt
└── seg
    └── Ramayana_normalised.txt

which seem right...

lothelanor commented 1 year ago

on my Mac OS BigSur (11.6.8) I get:

Ramayana-out-11022023_16-52-54/
├── pos
│   └── Ramayana_normalised.txt
├── pyrrha
│   └── Ramayana_normalised.txt
└── seg
    └── Ramayana_normalised.txt
Ramayana-out-11022023_16-52-55/
├── pos
├── pyrrha
├── seg

So one folder WITH resulting text files and another one with subfolders but without the results.