Skip to content
#

transformer-models

Here are 75 public repositories matching this topic...

AymenBenk
AymenBenk commented Jun 29, 2021

`import numpy as np
import aspect_based_sentiment_analysis as absa
from aspect_based_sentiment_analysis import alignment
from aspect_based_sentiment_analysis import Example

text = "I love mascara"
aspects = ['mascara']

recognizer = absa.aux_models.BasicPatternRecognizer()
nlp = absa.load(pattern_recognizer=recognizer)
task = nlp(text=text, aspects=aspects)
slack = task.examples

pri

good first issue

Improve this page

Add a description, image, and links to the transformer-models topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the transformer-models topic, visit your repo's landing page and select "manage topics."

Learn more