Python and Dart Integration in Flutter Mobile Application

一世执手 提交于 2020-06-24 14:16:59

问题


Can i do these two things:

  1. Is there any library in dart for Sentiment Analysis?
  2. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!