mirror of
https://github.com/Steffo99/unimore-bda-6.git
synced 2024-11-25 17:24:20 +00:00
15 lines
206 B
Python
15 lines
206 B
Python
|
import nltk
|
||
|
import nltk.sentiment
|
||
|
|
||
|
|
||
|
def create_sentiment_analysis_model() -> ntlk.sentiment.SentimentAnalyzer:
|
||
|
analyzer = nltk.sentiment.SentimentAnalyzer()
|
||
|
|
||
|
|
||
|
def train():
|
||
|
...
|
||
|
|
||
|
|
||
|
def test():
|
||
|
...
|