ltest bug fixes
This commit is contained in:
10
README.md
10
README.md
@@ -14,9 +14,17 @@ creates anki hsk decks from a list of words
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```console
|
```console
|
||||||
git clone https://github.com/resemble-ai/chatterbox
|
install qwen models https://github.com/QwenLM/Qwen3-TTS
|
||||||
|
modelscope download --model Qwen/Qwen3-TTS-12Hz-0.6B-CustomVoice --local_dir ./Qwen3-TTS-12Hz-0.6B-CustomVoice
|
||||||
git clone https://gitea.wolfang.info.ve/wolfang/anki-hsk-creator
|
git clone https://gitea.wolfang.info.ve/wolfang/anki-hsk-creator
|
||||||
|
install cuda 13.2 https://developer.nvidia.com/cuda-downloads
|
||||||
|
install pythorch for cuda 13.2 https://pytorch.org/get-started/locally/
|
||||||
git clone https://gitea.wolfang.info.ve/wolfang/anki-hsk-creator-data
|
git clone https://gitea.wolfang.info.ve/wolfang/anki-hsk-creator-data
|
||||||
|
set local .env file
|
||||||
|
HF_TOKEN =
|
||||||
|
DATA_FOLDER =
|
||||||
|
GWEN_FOLDER =
|
||||||
|
ARGOS_DEVICE_TYPE = auto
|
||||||
```
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2026-present Wolfang Torres <wolfang.torres@gmail.com>
|
# SPDX-FileCopyrightText: 2026-present Wolfang Torres <wolfang.torres@gmail.com>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
__version__ = "0.2.3"
|
__version__ = "0.2.4"
|
||||||
|
|||||||
@@ -125,7 +125,12 @@ def dictionary_bulk_process(words_list: list[str], process_file: ProcessFile):
|
|||||||
meanings_text = "\n".join(
|
meanings_text = "\n".join(
|
||||||
f"{n+1}: {meaning}" for n, meaning in enumerate(pos_meanings)
|
f"{n+1}: {meaning}" for n, meaning in enumerate(pos_meanings)
|
||||||
)
|
)
|
||||||
entry = entries[0]
|
pos_entries = []
|
||||||
|
for meaning in pos_meanings:
|
||||||
|
for ent in entries:
|
||||||
|
if meaning in ent.meanings:
|
||||||
|
pos_entries.append(ent)
|
||||||
|
entry = pos_entries[0]
|
||||||
tsv_writer.writerow(
|
tsv_writer.writerow(
|
||||||
{
|
{
|
||||||
"n": number,
|
"n": number,
|
||||||
|
|||||||
Reference in New Issue
Block a user