question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Broken docs for `speechbrain.alignment.ctc_segmentation`

See original GitHub issue

Hi, thanks for maintaining such a wonderful library.

Looks like the documentation for speechbrain.alignment.ctc_segmentation is broken: https://speechbrain.readthedocs.io/en/latest/API/speechbrain.alignment.ctc_segmentation.html

I guess this is caused by unneeded shebang, as shown in the following: https://github.com/speechbrain/speechbrain/blob/develop/speechbrain/alignment/ctc_segmentation.py#L1-L2

Perhaps this could be related to #819 ?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
amrit110commented, Nov 15, 2021

yes exactly @Gastron, so ill update the PR to add ctc_segmentation to docs-requirements.txt and remove numba from the mock setting.

As for other warnings, and formatting to docstrings, ill look at it and post on a separate issue.

1reaction
amrit110commented, Nov 13, 2021

Hi @seungwonpark, seems like the issue might be that the ctc-segmentation package (https://github.com/lumaku/ctc-segmentation) needs to be installed before compiling the docs. So, perhaps a solution could be to add ctc-segmentation to requirements.txt file. It is then assumed that along with the top level repo requirements and the additional requirements for docs in docs/docs-requirements.txt, needs to be installed before compiling the html docs using make html. I could add a PR if you agree @Gastron

Read more comments on GitHub >

github_iconTop Results From Across the Web

speechbrain.alignment.ctc_segmentation module
Perform CTC segmentation to align utterances within audio files. This uses the ctc-segmentation Python package. Install it with pip or see the installing ......
Read more >
lumaku/ctc-segmentation - GitHub
ctc_segmentation computes character-wise alignments from the CTC log posterior probabilites.
Read more >
speechbrain/m-ctc-t-large · KenLM, finetuning? - Hugging Face
Yes! We got a big improvement on LibriSpeech when we decoded using an n-gram language model. I haven't tried finetuning in Hugging Face, ......
Read more >
Forced Alignment with Wav2Vec2 - PyTorch
Forced Alignment with Wav2Vec2. Author: Moto Hira. This tutorial shows how to align transcript to speech with torchaudio , using CTC segmentation algorithm ......
Read more >
End-to-End Dependency Parsing of Spoken French
entific research documents, whether they are pub- lished or not. ... Figure 2: Feature grouping using CTC segmentation.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found