Fetching details from the dictionary...

(spoken) line (in a play, film, comic, etc.); one's lines
comment; remark; phrase; words
stock phrase; set phrase; cliché; platitude
ベテラン俳優は難しい台詞を完璧に覚えていた。
The actor had memorized the lines perfectly.
何度見てもこの映画の名台詞が心に残って印象的だった。
The dialogue in this movie was impressive.
舞台での台詞を完璧に覚えた。
She perfectly memorized her lines on stage.