You can remember the meaning of 台词 with this easy mnemonic:
I am bad at memorizing actor's lines, even surnames (台) or classic works (词) like Shakespeare.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.