问题
Can i do these two things:
- Is there any library in dart for Sentiment Analysis?
- Can I use Python (for Sentiment Analysis) in dart?
My main motive for these questions is that I'm working on an application in a flutter and I use sentiment analysis and I have no idea that how I do that.
Can anyone please help me to solve this Problem.?
Or is there any way that I can do text sentiment analysis in the flutter app?
回答1:
You can create an api using Python then serve it your mobile app (FLUTTER) using http requests. I
回答2:
visit https://pub.dev/packages/starflut
A new flutter plugin project, which supports flutter to interact with other scripting languages such as python, java, ruby, golang, rust, etc. It is easy to use, supports android and ios platform.
回答3:
Since flutter can communicate with platform code(like java), may be u can run python in java way and retrieve the result.See platform-integration
来源:https://stackoverflow.com/questions/53519266/python-and-dart-integration-in-flutter-mobile-application