BatchalignHK 0.7.22.post24__tar.gz → 0.7.22.post26__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.7.22.post24 → batchalignhk-0.7.22.post26}/BatchalignHK.egg-info/PKG-INFO +1 -1
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/PKG-INFO +1 -1
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/cli/cli.py +1 -1
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/formats/chat/generator.py +6 -2
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/utr/tencent_utr.py +32 -10
- batchalignhk-0.7.22.post26/batchalign/version +3 -0
- batchalignhk-0.7.22.post24/batchalign/version +0 -3
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/BatchalignHK.egg-info/SOURCES.txt +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/BatchalignHK.egg-info/dependency_links.txt +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/BatchalignHK.egg-info/entry_points.txt +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/BatchalignHK.egg-info/requires.txt +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/BatchalignHK.egg-info/top_level.txt +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/LICENSE +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/MANIFEST.in +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/README.md +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/__main__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/cli/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/cli/dispatch.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/constants.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/document.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/errors.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/core.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/exception.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/logging.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/realtime_meeting.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/speech_recognizer.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/speech_synthesizer.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/speech_transcriber.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/stream_input_tts.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/token.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/util.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/version.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/_abnf.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/_app.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/_cookiejar.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/_core.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/_exceptions.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/_handshake.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/_http.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/_logging.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/_socket.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/_ssl_compat.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/_url.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/_utils.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/tests/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/tests/echo-server.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/tests/test_abnf.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/tests/test_app.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/tests/test_cookiejar.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/tests/test_http.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/tests/test_url.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/tests/test_websocket.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/formats/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/formats/base.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/formats/chat/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/formats/chat/file.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/formats/chat/lexer.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/formats/chat/parser.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/formats/chat/utils.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/formats/textgrid/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/formats/textgrid/file.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/formats/textgrid/generator.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/formats/textgrid/parser.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/resolve.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/speaker/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/speaker/config.yaml +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/speaker/infer.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/speaker/utils.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/training/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/training/run.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/training/utils.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/utils.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/utterance/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/utterance/cantonese_infer.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/utterance/dataset.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/utterance/execute.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/utterance/infer.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/utterance/prep.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/utterance/train.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/wave2vec/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/wave2vec/infer_fa.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/whisper/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/whisper/infer_asr.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/whisper/infer_fa.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/analysis/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/analysis/eval.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/aliyun.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/funaudio.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2chinese.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/deu.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/ell.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/eng.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/eus.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/fra.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/hrv.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/ind.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/jpn.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/nld.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/por.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/spa.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/tha.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/oai_whisper.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/rev.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/tencent.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/utils.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/whisper.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/whisperx.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/avqi/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/avqi/engine.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/base.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/cleanup/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/cleanup/cleanup.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/cleanup/disfluencies.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/cleanup/parse_support.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/cleanup/retrace.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/cleanup/support/filled_pauses.eng +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/cleanup/support/replacements.eng +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/cleanup/support/test.test +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/diarization/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/diarization/pyannote.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/dispatch.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/fa/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/fa/wave2vec_fa.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/fa/whisper_fa.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/morphosyntax/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/morphosyntax/coref.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/morphosyntax/en/irr.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/morphosyntax/fr/apm.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/morphosyntax/fr/apmn.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/morphosyntax/fr/case.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/morphosyntax/ja/verbforms.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/morphosyntax/ud.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/opensmile/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/opensmile/engine.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/pipeline.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/speaker/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/speaker/nemo_speaker.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/translate/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/translate/gtrans.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/translate/seamless.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/translate/utils.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/utr/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/utr/funaudio_utr.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/utr/rev_utr.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/utr/utils.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/utr/whisper_utr.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/utterance/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/utterance/ud_utterance.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/tests/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/tests/conftest.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/tests/formats/chat/test_chat_file.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/tests/formats/chat/test_chat_generator.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/tests/formats/chat/test_chat_lexer.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/tests/formats/chat/test_chat_parser.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/tests/formats/chat/test_chat_utils.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/tests/formats/textgrid/test_textgrid.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/tests/pipelines/analysis/test_eval.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/tests/pipelines/asr/test_asr_pipeline.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/tests/pipelines/asr/test_asr_utils.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/tests/pipelines/cleanup/test_disfluency.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/tests/pipelines/cleanup/test_parse_support.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/tests/pipelines/fa/test_fa_pipeline.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/tests/pipelines/fixures.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/tests/pipelines/test_pipeline.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/tests/pipelines/test_pipeline_models.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/tests/test_document.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/utils/__init__.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/utils/abbrev.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/utils/compounds.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/utils/config.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/utils/dp.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/utils/names.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/utils/utils.py +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/setup.cfg +0 -0
- {batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/setup.py +0 -0
|
@@ -123,7 +123,7 @@ def align(ctx, in_dir, out_dir, whisper, wav2vec, tencent, funaudio, **kwargs):
|
|
|
123
123
|
def loader(file):
|
|
124
124
|
return (
|
|
125
125
|
CHATFile(path=os.path.abspath(file)).doc,
|
|
126
|
-
{"pauses": kwargs.get("pauses", False)
|
|
126
|
+
{"pauses": kwargs.get("pauses", False)010803.cha
|
|
127
127
|
)
|
|
128
128
|
|
|
129
129
|
def writer(doc, output):
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/formats/chat/generator.py
RENAMED
|
@@ -33,6 +33,10 @@ def generate_chat_utterance(utterance: Utterance, special_mor=False, write_wor=T
|
|
|
33
33
|
if merge_letters:
|
|
34
34
|
main_line = re.sub(r"([a-z]) ", r"\1", main_line)
|
|
35
35
|
main_line = re.sub(r"([a-z])([^a-z])", r"\1 \2", main_line)
|
|
36
|
+
main_line = re.sub(r"([a-z]) (\d+)", r"\1\2", main_line)
|
|
37
|
+
main_line = re.sub(r"([a-z]) @", r"\1@", main_line)
|
|
38
|
+
main_line = re.sub(r"([a-z]) :", r"\1:", main_line)
|
|
39
|
+
main_line = re.sub(r"([a-z]) >", r"\1>", main_line)
|
|
36
40
|
main_line = re.sub(r"«", "“", main_line)
|
|
37
41
|
main_line = re.sub(r"»", "”", main_line)
|
|
38
42
|
main_line = re.sub(r"—", "-", main_line)
|
|
@@ -161,8 +165,8 @@ def generate_chat_preamble(doc, birthdays=[]):
|
|
|
161
165
|
header = []
|
|
162
166
|
header.append("@Languages:\t"+", ".join(doc.langs))
|
|
163
167
|
header.append("@Participants:\t"+", ".join([f"{i.id} {i.name}" for i in doc.tiers]))
|
|
164
|
-
if not check_utterances_ordered(doc):
|
|
165
|
-
|
|
168
|
+
# if not check_utterances_ordered(doc):
|
|
169
|
+
# header.append("@Options:\tbullets")
|
|
166
170
|
header.append("\n".join([f"@ID:\t{i.lang}|{i.corpus}|{i.id}|{i.birthday}|{i.additional[0]}|{i.additional[1]}|{i.additional[2]}|{i.name}|{i.additional[3]}|{i.additional[4]}|" for i in doc.tiers]))
|
|
167
171
|
for i in birthdays:
|
|
168
172
|
header.append(f"@{i.id}:\t{i.content}")
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/utr/tencent_utr.py
RENAMED
|
@@ -32,9 +32,13 @@ import base64
|
|
|
32
32
|
from tencentcloud.common.credential import Credential
|
|
33
33
|
from tencentcloud.asr.v20190614.asr_client import AsrClient, models
|
|
34
34
|
|
|
35
|
+
from qcloud_cos import CosConfig
|
|
36
|
+
from qcloud_cos import CosS3Client
|
|
37
|
+
|
|
35
38
|
import asyncio
|
|
36
39
|
import tempfile
|
|
37
40
|
import os
|
|
41
|
+
import uuid
|
|
38
42
|
|
|
39
43
|
|
|
40
44
|
import logging
|
|
@@ -50,9 +54,21 @@ class TencentUTREngine(BatchalignEngine):
|
|
|
50
54
|
try:
|
|
51
55
|
id = config["asr"]["engine.tencent.id"]
|
|
52
56
|
key = config["asr"]["engine.tencent.key"]
|
|
57
|
+
region = config["asr"]["engine.tencent.region"]
|
|
58
|
+
bucket_name = config["asr"]["engine.tencent.bucket"]
|
|
53
59
|
except KeyError:
|
|
54
60
|
raise ConfigError("No Tencent Cloud key found. Tencent Cloud was not set up! Please write one yourself and place it at ~/.batchalign.ini.")
|
|
55
61
|
|
|
62
|
+
config = CosConfig(
|
|
63
|
+
Region=region,
|
|
64
|
+
SecretId=id,
|
|
65
|
+
SecretKey=key,
|
|
66
|
+
Token=None,
|
|
67
|
+
Scheme="https"
|
|
68
|
+
)
|
|
69
|
+
self.__bucket = CosS3Client(config)
|
|
70
|
+
self.__bucket_name = bucket_name
|
|
71
|
+
|
|
56
72
|
self.__lang_code = lang
|
|
57
73
|
|
|
58
74
|
if lang == "yue":
|
|
@@ -130,10 +146,20 @@ class TencentUTREngine(BatchalignEngine):
|
|
|
130
146
|
# audio = AudioSegment.from_file(processed_path)
|
|
131
147
|
|
|
132
148
|
L.info(f"Uploading '{pathlib.Path(f).stem}'...")
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
149
|
+
bucket = self.__bucket
|
|
150
|
+
bucket_name = self.__bucket_name
|
|
151
|
+
uid = str(uuid.uuid4())
|
|
152
|
+
|
|
153
|
+
response = bucket.upload_file(
|
|
154
|
+
Bucket=bucket_name,
|
|
155
|
+
LocalFilePath=f,
|
|
156
|
+
Key=uid+pathlib.Path(f).suffix,
|
|
157
|
+
PartSize=1,
|
|
158
|
+
MAXThread=10,
|
|
159
|
+
EnableMD5=False
|
|
160
|
+
)
|
|
161
|
+
|
|
162
|
+
|
|
137
163
|
|
|
138
164
|
req = models.CreateRecTaskRequest()
|
|
139
165
|
if lang in {'zho', 'yue', 'wuu', 'nan','hak'}:
|
|
@@ -143,12 +169,8 @@ class TencentUTREngine(BatchalignEngine):
|
|
|
143
169
|
req.ResTextFormat = 1
|
|
144
170
|
req.SpeakerDiarization = 1
|
|
145
171
|
req.ChannelNum = 1
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
req.SourceType = 1
|
|
149
|
-
else:
|
|
150
|
-
req.Url = f
|
|
151
|
-
req.SourceType = 0
|
|
172
|
+
req.Url = response["Location"]
|
|
173
|
+
req.SourceType = 0
|
|
152
174
|
resp = client.CreateRecTask(req)
|
|
153
175
|
|
|
154
176
|
L.info(f"Tencent is transcribing '{pathlib.Path(f).stem}'...")
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/BatchalignHK.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/BatchalignHK.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/BatchalignHK.egg-info/requires.txt
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/BatchalignHK.egg-info/top_level.txt
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
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/exception.py
RENAMED
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/realtime_meeting.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/speech_recognizer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/stream_input_tts.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/_abnf.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/_app.py
RENAMED
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/_core.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/_http.py
RENAMED
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/_socket.py
RENAMED
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/_url.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/extern/nls/websocket/_utils.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
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/formats/chat/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/formats/textgrid/__init__.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/formats/textgrid/file.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/formats/textgrid/generator.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/formats/textgrid/parser.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/speaker/__init__.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/speaker/config.yaml
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/speaker/infer.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/speaker/utils.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/training/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/training/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/utterance/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/utterance/dataset.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/utterance/execute.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/utterance/infer.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/utterance/prep.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/utterance/train.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/wave2vec/__init__.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/wave2vec/infer_fa.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/whisper/__init__.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/whisper/infer_asr.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/models/whisper/infer_fa.py
RENAMED
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/analysis/__init__.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/analysis/eval.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/__init__.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/aliyun.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/funaudio.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2chinese.py
RENAMED
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/deu.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/ell.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/eng.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/eus.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/fra.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/hrv.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/ind.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/jpn.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/nld.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/por.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/spa.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/num2lang/tha.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/oai_whisper.py
RENAMED
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/tencent.py
RENAMED
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/whisper.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/asr/whisperx.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/avqi/__init__.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/avqi/engine.py
RENAMED
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/cleanup/__init__.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/cleanup/cleanup.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/cleanup/retrace.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/fa/__init__.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/fa/wave2vec_fa.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/fa/whisper_fa.py
RENAMED
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/morphosyntax/coref.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/morphosyntax/ud.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/opensmile/__init__.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/opensmile/engine.py
RENAMED
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/speaker/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/translate/__init__.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/translate/gtrans.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/translate/seamless.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/translate/utils.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/utr/__init__.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/utr/funaudio_utr.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/utr/rev_utr.py
RENAMED
|
File without changes
|
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/utr/whisper_utr.py
RENAMED
|
File without changes
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/pipelines/utterance/__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
|
{batchalignhk-0.7.22.post24 → batchalignhk-0.7.22.post26}/batchalign/tests/pipelines/fixures.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
|