from sklearn.preprocessing import LabelEncoder
l_labels = ['[PAD]'] + ['NN', 'ADJ', 'PRON']
le = LabelEncoder()
le.fit(l_labels)
le.trasform('[PAD]')
>>>> 3
I want the encodind of '[PAD]' to be 0. Is it possible to bind a label to an encoding with LabelEncoder ?