針對Tokenizer的部分,可以直接使用tf.keras裡面的tokenizer tokenizer = tf.keras.preprocessing.text.Tokenizer() tokenizer.fit_on_texts(df_train.text).
確定! 回上一頁