所以我目前正在與布朗語料庫合作,而且我遇到了一個小問題。爲了應用標記化特徵,我首先需要將布朗語料庫加入句子。這是我到目前爲止有: from nltk.corpus import brown
import nltk
target_text = [s for s in brown.fileids()
if s.startswith('ca01') or s.startswit
我試圖建立一層CNN,但我遇到了一些問題。 事實上,compilator說我 ValueError: Error when checking model input: expected conv1d_1_input to have 3 dimensions, but got array with shape (569, 30) 這是代碼 import numpy
from keras.model