`is` not considered for repeated word rule
is currently seems to register as a likely homophone, and so is excluded from the repeated word rule.
It seems like a word that could be repeated easily, and is harder to miss than a longer word, so this seems pretty important to resolve.
@grantlemons, I completely agree. I'll take a stab at it today.
Just wanna contribute this for glancing for repeating words. I do lots of audio transcriptions and besides detecting for proper nouns (that's a huge list) after that I check for repeating words and it removes them and outputs a new file. This will help identify potential repeating words that really are legit and shouldn't be touched. Just add any vtt (sub) or just change to md or txt whatever. Linux change gsed to sed.
repeatingwords.sh
"Remove repeating words - happy happy, care care care, no no no no")
echo "Remove repeating words for vtt subtitles in substitcher directory"
echo ""
read -p "Press ENTER to remove repeating words or m (Main Menu) " choice
[[ "$choice" == [Mm]* ]] && exec "$0" || echo "converting ..."
dt=$( date +%Y_%m_%d_%H_%M_%S)
[ ! -d output ] && mkdir output
mkdir output/"$dt"
cp *.vtt output/"$dt"
cd output/"$dt"
for f in *.vtt
do gsed -E \
-e "s|\bno no\b|no333no|g" \
-e "s|\bha ha\b|ha333ha|g" \
-e "s|\bher her\b|her333her|g" \
-e "s|\bbye bye\b|byebye|g" \
-e "s|\breally really\b|reallyreally|g" \
-e "s|\bstuff stuff\b|stuffstuff|g" \
-e "s|\bmany many\b|manymany|g" \
-e "s|\bvery very\b|veryvery|g" \
-e "s|\bhad had\b|hadhad|g" \
-e "s|\bblah blah\b|blahblah|g" \
-e "s|\bre re\b|rere|g" \
-e "s|\bthis this\b|thisthis|g" \
-e "s|\bthat that\b|thatthat|g" \
-e "s|\bever ever\b|everever|g" \
-e "s|\byou you\b|youyou|g" \
-e "s|\bso so\b|soso|g" \
-e "s|\bbeing being\b|beingbeing|g" \
-e "s|\b(\w+)\ \1\b|\1|g" \
-e "s|\b(\w+)\ \1\b|\1|g" \
-e "s|\b(\w+)\ \1\b|\1|g" \
-e "s|no333no|no no|g" \
-e "s|ha333ha|ha ha|g" \
-e "s|her333her|her her|g" \
-e "s|byebye|bye bye|g" \
-e "s|reallyreally|really really|g" \
-e "s|stuffstuff|stuff stuff|g" \
-e "s|manymany|many many|g" \
-e "s|veryvery|very very|g" \
-e "s|hadhad|had had|g" \
-e "s|blahblah|blah blah|g" \
-e "s|rere|re re|g" \
-e "s|thisthis|this this|g" \
-e "s|thatthat|that that|g" \
-e "s|everever|ever ever|g" \
-e "s|youyou|you you|g" \
-e "s|soso|so so|g" \
-e "s|beingbeing|being being|g" \
"$f" > "repeats_$f" ; \
git diff --no-index --word-diff=color --unified=2 --word-diff-regex=. "$f" "repeats_$f" \
| aha --black -t 'Repeating Words' -w -y 'font-size:1.3em' > "repeats_${f%.*}.html" ; \
rm "$f" ; done
cd ../..
echo ""
echo "Repeating words vtt and srt subs"
echo "as well as .html showing differences"
echo "are in output/$dt"