How does forced alignment work in automatic speech recognition?
Comparison of Forced-Alignment Speech Recognition and Humans for Generating Reference VAD
[Desktop Entry] | |
Name=Cursor App | |
Type=Application | |
Categories=Utility;Development; | |
Exec=sh -c '/{HOME PATH HERE}/Applications/cursor/cursor.AppImage --no-sandbox; $SHELL' | |
Icon=/{HOME PATH HERE}/Applications/cursor/cursor.jpg |
GIT_PATH="~/gitlab" | |
cd $GIT_PATH && for repo in $(find . -type d -name ".git" | sed 's|/.git||'); do | |
cd "$repo" 2>/dev/null || continue | |
if [ -d .git ]; then | |
author=$(git config user.name 2>/dev/null || echo "unknown") | |
email=$(git config user.email 2>/dev/null || echo "unknown") | |
commit_count=0 | |
if [ "$author" != "unknown" ]; then | |
commit_count=$(git log --oneline --author="$author" 2>/dev/null | wc -l) |
curl -o .git/hooks/prepare-commit-msg https://gist.githubusercontent.com/muhrifqii/a8a4e140040f54b3452ef14b9c31d9c3/raw | |
chmod +x .git/hooks/prepare-commit-msg |
#!/bin/bash | |
FILE=$1 | |
MESSAGE=$(cat $FILE) | |
TICKET="$(git rev-parse --abbrev-ref HEAD | grep -Eo '(\w+/)?(\w+-)?[0-9]+' | tail -1 | grep -Eo '(\w+[-])?[0-9]+' | tr "[:lower:]" "[:upper:]") :" | |
if [[ $TICKET == " : " || "$MESSAGE" == "$TICKET"* ]];then | |
exit 0; | |
fi | |
echo "$TICKET $MESSAGE" > $FILE |
#!/bin/sh | |
text_magenta=$(tput setaf 5) | |
text_bold=$(tput bold) | |
text_normal=$(tput sgr0) | |
archives_path=~/"Library/Developer/Xcode/Archives" | |
derived_data_path=~/"Library/Developer/Xcode/DerivedData" | |
simulator_data_path=~/"Library/Developer/CoreSimulator/Devices" | |
device_support_path=~/"Library/Developer/Xcode/iOS DeviceSupport" |
from scipy.optimize import brentq | |
from scipy.interpolate import interp1d | |
eer = brentq(lambda x : 1. - x - interp1d(fpr, tpr)(x), 0., 1.) | |
thresh = interp1d(fpr, thresholds)(eer) |
import numpy as np | |
def rastaplp(signal, sr = 16000, modelorder = 8): | |
# powerspectrum | |
p_spectrum = powspec(signal, sr) | |
# group powerspectrum to critical band | |
a_spectrum = audspec(p_spectrum, sr) | |
nbands = len(a_spectrum[0]) |