BatchalignHK 0.8.0__tar.gz → 0.8.0.post1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/BatchalignHK.egg-info/PKG-INFO +1 -1
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/PKG-INFO +1 -1
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/cli/dispatch.py +105 -76
- batchalignhk-0.8.0.post1/batchalign/version +3 -0
- batchalignhk-0.8.0/batchalign/version +0 -3
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/BatchalignHK.egg-info/SOURCES.txt +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/BatchalignHK.egg-info/dependency_links.txt +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/BatchalignHK.egg-info/entry_points.txt +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/BatchalignHK.egg-info/requires.txt +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/BatchalignHK.egg-info/top_level.txt +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/LICENSE +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/MANIFEST.in +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/README.md +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/__main__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/cli/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/cli/cli.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/constants.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/document.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/errors.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/core.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/exception.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/logging.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/realtime_meeting.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/speech_recognizer.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/speech_synthesizer.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/speech_transcriber.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/stream_input_tts.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/token.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/util.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/version.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/_abnf.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/_app.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/_cookiejar.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/_core.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/_exceptions.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/_handshake.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/_http.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/_logging.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/_socket.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/_ssl_compat.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/_url.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/_utils.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/tests/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/tests/echo-server.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/tests/test_abnf.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/tests/test_app.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/tests/test_cookiejar.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/tests/test_http.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/tests/test_url.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/tests/test_websocket.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/formats/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/formats/base.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/formats/chat/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/formats/chat/file.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/formats/chat/generator.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/formats/chat/lexer.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/formats/chat/parser.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/formats/chat/utils.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/formats/textgrid/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/formats/textgrid/file.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/formats/textgrid/generator.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/formats/textgrid/parser.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/resolve.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/speaker/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/speaker/config.yaml +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/speaker/infer.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/speaker/utils.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/training/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/training/run.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/training/utils.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/utils.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/utterance/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/utterance/cantonese_infer.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/utterance/dataset.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/utterance/execute.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/utterance/infer.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/utterance/prep.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/utterance/train.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/wave2vec/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/wave2vec/infer_fa.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/whisper/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/whisper/infer_asr.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/whisper/infer_fa.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/analysis/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/analysis/eval.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/aliyun.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/funaudio.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/num2chinese.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/num2lang/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/num2lang/deu.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/num2lang/ell.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/num2lang/eng.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/num2lang/eus.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/num2lang/fra.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/num2lang/hrv.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/num2lang/ind.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/num2lang/jpn.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/num2lang/nld.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/num2lang/por.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/num2lang/spa.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/num2lang/tha.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/oai_whisper.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/rev.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/tencent.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/utils.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/whisper.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/whisperx.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/avqi/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/avqi/engine.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/base.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/cleanup/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/cleanup/cleanup.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/cleanup/disfluencies.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/cleanup/parse_support.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/cleanup/retrace.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/cleanup/support/filled_pauses.eng +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/cleanup/support/replacements.eng +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/cleanup/support/test.test +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/diarization/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/diarization/pyannote.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/dispatch.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/fa/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/fa/iic_fa.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/fa/wave2vec_fa.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/fa/wave2vec_fa_canto.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/fa/whisper_fa.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/morphosyntax/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/morphosyntax/coref.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/morphosyntax/en/irr.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/morphosyntax/fr/apm.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/morphosyntax/fr/apmn.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/morphosyntax/fr/case.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/morphosyntax/ja/verbforms.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/morphosyntax/ud.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/opensmile/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/opensmile/engine.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/pipeline.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/speaker/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/speaker/nemo_speaker.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/translate/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/translate/gtrans.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/translate/seamless.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/translate/utils.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/utr/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/utr/funaudio_utr.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/utr/rev_utr.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/utr/tencent_utr.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/utr/utils.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/utr/whisper_utr.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/utterance/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/utterance/ud_utterance.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/conftest.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/formats/chat/test_chat_file.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/formats/chat/test_chat_generator.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/formats/chat/test_chat_lexer.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/formats/chat/test_chat_parser.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/formats/chat/test_chat_utils.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/formats/textgrid/test_textgrid.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/pipelines/analysis/test_eval.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/pipelines/asr/test_asr_pipeline.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/pipelines/asr/test_asr_utils.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/pipelines/cleanup/test_disfluency.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/pipelines/cleanup/test_parse_support.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/pipelines/fa/test_fa_pipeline.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/pipelines/fixures.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/pipelines/test_pipeline.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/pipelines/test_pipeline_models.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/test_document.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/utils/__init__.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/utils/abbrev.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/utils/compounds.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/utils/config.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/utils/dp.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/utils/names.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/utils/utils.py +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/setup.cfg +0 -0
- {batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/setup.py +0 -0
|
@@ -47,103 +47,131 @@ def _get_worker_pipeline(command, lang, num_speakers, **kwargs):
|
|
|
47
47
|
lang=lang, num_speakers=num_speakers, **kwargs)
|
|
48
48
|
return _worker_pipeline
|
|
49
49
|
|
|
50
|
-
def _worker_task(file_info, command, lang, num_speakers, loader_info, writer_info, progress_queue=None, **kwargs):
|
|
50
|
+
def _worker_task(file_info, command, lang, num_speakers, loader_info, writer_info, progress_queue=None, verbose=0, **kwargs):
|
|
51
51
|
"""The task executed in each worker process."""
|
|
52
52
|
import sys
|
|
53
53
|
import os
|
|
54
54
|
import tempfile
|
|
55
|
-
|
|
55
|
+
import logging
|
|
56
|
+
|
|
56
57
|
file, output = file_info
|
|
57
58
|
pid = os.getpid()
|
|
58
|
-
|
|
59
|
-
#
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
|
|
60
|
+
# Configure logging in this worker process
|
|
61
|
+
if verbose >= 1:
|
|
62
|
+
# Ensure basicConfig is called so logging works
|
|
63
|
+
logging.basicConfig(format="%(levelname)s - %(name)s - %(message)s", level=logging.ERROR)
|
|
64
|
+
|
|
65
|
+
# Configure batchalign logger level in this worker process
|
|
66
|
+
baL = logging.getLogger('batchalign')
|
|
67
|
+
if verbose == 0:
|
|
68
|
+
baL.setLevel(logging.WARN)
|
|
69
|
+
elif verbose == 1:
|
|
70
|
+
baL.setLevel(logging.INFO)
|
|
71
|
+
else:
|
|
72
|
+
baL.setLevel(logging.DEBUG)
|
|
73
|
+
|
|
74
|
+
# Only capture output if not in verbose mode
|
|
75
|
+
# In verbose mode, let logs stream naturally to the console
|
|
76
|
+
should_capture = verbose == 0
|
|
77
|
+
|
|
78
|
+
if should_capture:
|
|
79
|
+
# Use a temporary file to capture ALL output at the FD level
|
|
80
|
+
# This is the most robust way to prevent interleaved output
|
|
81
|
+
log_file = tempfile.TemporaryFile(mode='w+')
|
|
62
82
|
old_stdout_fd = os.dup(sys.stdout.fileno())
|
|
63
83
|
old_stderr_fd = os.dup(sys.stderr.fileno())
|
|
64
|
-
|
|
65
|
-
try:
|
|
66
|
-
# Redirect FD 1 and 2 to our temp file
|
|
67
|
-
os.dup2(log_file.fileno(), sys.stdout.fileno())
|
|
68
|
-
os.dup2(log_file.fileno(), sys.stderr.fileno())
|
|
69
|
-
|
|
70
|
-
pipeline = _get_worker_pipeline(command, lang, num_speakers, **kwargs)
|
|
71
84
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
85
|
+
# Redirect FD 1 and 2 to our temp file
|
|
86
|
+
os.dup2(log_file.fileno(), sys.stdout.fileno())
|
|
87
|
+
os.dup2(log_file.fileno(), sys.stderr.fileno())
|
|
88
|
+
|
|
89
|
+
try:
|
|
90
|
+
pipeline = _get_worker_pipeline(command, lang, num_speakers, **kwargs)
|
|
91
|
+
|
|
92
|
+
def progress_callback(completed, total, tasks):
|
|
93
|
+
if not progress_queue:
|
|
94
|
+
return
|
|
95
|
+
try:
|
|
96
|
+
progress_queue.put((file, completed, total, tasks))
|
|
97
|
+
except Exception:
|
|
98
|
+
pass
|
|
99
|
+
|
|
100
|
+
# For now, we'll re-import what we need
|
|
101
|
+
from batchalign.formats.chat import CHATFile
|
|
102
|
+
|
|
103
|
+
# Morphosyntax specific loader/writer logic moved here for picklability
|
|
104
|
+
if command == "morphotag":
|
|
105
|
+
# Extract morphotag-specific arguments from kwargs
|
|
106
|
+
mwt = kwargs.pop("mwt", {})
|
|
107
|
+
retokenize = kwargs.pop("retokenize", False)
|
|
108
|
+
skipmultilang = kwargs.pop("skipmultilang", False)
|
|
109
|
+
|
|
110
|
+
cf = CHATFile(path=os.path.abspath(file), special_mor_=True)
|
|
111
|
+
doc = cf.doc
|
|
112
|
+
if str(cf).count("%mor") > 0:
|
|
113
|
+
doc.ba_special_["special_mor_notation"] = True
|
|
114
|
+
|
|
115
|
+
# Prepare arguments for the pipeline
|
|
116
|
+
pipeline_kwargs = {
|
|
117
|
+
"retokenize": retokenize,
|
|
118
|
+
"skipmultilang": skipmultilang,
|
|
119
|
+
"mwt": mwt
|
|
120
|
+
}
|
|
121
|
+
# Add any remaining kwargs
|
|
122
|
+
pipeline_kwargs.update(kwargs)
|
|
123
|
+
|
|
124
|
+
# Process
|
|
125
|
+
doc = pipeline(doc, callback=progress_callback, **pipeline_kwargs)
|
|
126
|
+
|
|
127
|
+
# Write
|
|
128
|
+
CHATFile(doc=doc, special_mor_=doc.ba_special_.get("special_mor_notation", False)).write(output)
|
|
129
|
+
|
|
130
|
+
# Add other commands as needed, or use a more generic registry
|
|
131
|
+
elif command == "align":
|
|
132
|
+
cf = CHATFile(path=os.path.abspath(file))
|
|
133
|
+
doc = cf.doc
|
|
134
|
+
kw = {"pauses": kwargs.get("pauses", False)}
|
|
135
|
+
doc = pipeline(doc, callback=progress_callback, **kw)
|
|
136
|
+
CHATFile(doc=doc).write(output, write_wor=kwargs.get("wor", True))
|
|
137
|
+
|
|
138
|
+
else:
|
|
139
|
+
loader, writer = loader_info, writer_info
|
|
140
|
+
doc = loader(os.path.abspath(file))
|
|
141
|
+
kw = {}
|
|
142
|
+
if isinstance(doc, tuple) and len(doc) > 1:
|
|
143
|
+
doc, kw = doc
|
|
144
|
+
doc = pipeline(doc, callback=progress_callback, **kw)
|
|
145
|
+
writer(doc, output)
|
|
146
|
+
|
|
147
|
+
# Flush and read captured output if we were capturing
|
|
148
|
+
if should_capture:
|
|
128
149
|
sys.stdout.flush()
|
|
129
150
|
sys.stderr.flush()
|
|
130
151
|
log_file.seek(0)
|
|
131
152
|
captured = log_file.read()
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
153
|
+
else:
|
|
154
|
+
captured = ""
|
|
155
|
+
|
|
156
|
+
return file, None, None, captured
|
|
157
|
+
except Exception as e:
|
|
158
|
+
# Flush and read captured output if we were capturing
|
|
159
|
+
if should_capture:
|
|
136
160
|
sys.stdout.flush()
|
|
137
161
|
sys.stderr.flush()
|
|
138
162
|
log_file.seek(0)
|
|
139
163
|
captured = log_file.read()
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
164
|
+
else:
|
|
165
|
+
captured = ""
|
|
166
|
+
return file, traceback.format_exc(), e, captured
|
|
167
|
+
finally:
|
|
168
|
+
# Restore original FDs only if we redirected them
|
|
169
|
+
if should_capture:
|
|
143
170
|
os.dup2(old_stdout_fd, sys.stdout.fileno())
|
|
144
171
|
os.dup2(old_stderr_fd, sys.stderr.fileno())
|
|
145
172
|
os.close(old_stdout_fd)
|
|
146
173
|
os.close(old_stderr_fd)
|
|
174
|
+
log_file.close()
|
|
147
175
|
|
|
148
176
|
# this dictionary maps what commands are executed
|
|
149
177
|
# against what BatchalignPipeline tasks are actually ran
|
|
@@ -326,6 +354,7 @@ def _dispatch(command, lang, num_speakers,
|
|
|
326
354
|
loader_info=None,
|
|
327
355
|
writer_info=None,
|
|
328
356
|
progress_queue=progress_queue,
|
|
357
|
+
verbose=ctx.obj["verbose"],
|
|
329
358
|
**kwargs)
|
|
330
359
|
|
|
331
360
|
future_to_file = {executor.submit(worker_func, (f, o)): f for f, o in zip(files, outputs)}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/_cookiejar.py
RENAMED
|
File without changes
|
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/_exceptions.py
RENAMED
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/_handshake.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/_ssl_compat.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/tests/__init__.py
RENAMED
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/tests/echo-server.py
RENAMED
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/tests/test_abnf.py
RENAMED
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/tests/test_app.py
RENAMED
|
File without changes
|
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/tests/test_http.py
RENAMED
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/extern/nls/websocket/tests/test_url.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/models/utterance/cantonese_infer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/asr/num2lang/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/cleanup/disfluencies.py
RENAMED
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/cleanup/parse_support.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/cleanup/support/test.test
RENAMED
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/diarization/__init__.py
RENAMED
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/diarization/pyannote.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/fa/wave2vec_fa_canto.py
RENAMED
|
File without changes
|
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/morphosyntax/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/morphosyntax/fr/apmn.py
RENAMED
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/morphosyntax/fr/case.py
RENAMED
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/morphosyntax/ja/verbforms.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/speaker/nemo_speaker.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/pipelines/utterance/ud_utterance.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/formats/chat/test_chat_file.py
RENAMED
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/formats/chat/test_chat_generator.py
RENAMED
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/formats/chat/test_chat_lexer.py
RENAMED
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/formats/chat/test_chat_parser.py
RENAMED
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/formats/chat/test_chat_utils.py
RENAMED
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/formats/textgrid/test_textgrid.py
RENAMED
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/pipelines/analysis/test_eval.py
RENAMED
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/pipelines/asr/test_asr_pipeline.py
RENAMED
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/pipelines/asr/test_asr_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/pipelines/fa/test_fa_pipeline.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.8.0 → batchalignhk-0.8.0.post1}/batchalign/tests/pipelines/test_pipeline_models.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|