Remove words from a subtitle file that aren't in a wordlist (of common words)
问题 I have some subtitle files, and I'm not intending to learn every single word in these subtitles, there is no need to learn some hard terms like: cleidocranial, dysplasia... I found this script here: Remove words from a cell that aren't in a list. But I have no idea how to modify it or run it. (I'm using linux) Here is our example: subtitle file (.srt): 2 00:00:13,000 --> 00:00:15,000 People with cleidocranial dysplasia are good. wordlist of 3000 common words (.txt): ... people with are good .