I don’t think that 1 single sample for 1 label is going to learn well.
But, in general, assign a label to a sinlge word is in the perimeter of the Named Entity Recognition (NER). You can find many tutorial with Keras/TF like:

  
      

      keras.io
  

  
    

Keras documentation: Named Entity Recognition using Transformers 1