पैकेज, रिपॉज़िटरी और ऐप श्रेणियाँ खोजें

पैकेज विवरणv0.0.5

sentiment_dart

Sentiment Dart एक dart मॉड्यूल है जो किसी भी पाठ ब्लॉक पर सेंटिमेंट विश्लेषण करने के लिए AFINN-165 शब्द सूची का उपयोग करता है

AndroidiOSWebmacOSWindowsLinux
30-दिन डाउनलोड
1.5 हज़ार
लाइक
19
Pub अंक
150

पैकेज इंस्टॉल करें

flutter pub add sentiment_dart

पैकेज अवलोकन

सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।

Sentiment Dart एक हल्का डार्ट पैकेज है जो AFINN-165 शब्द सूची का उपयोग करके टेक्स्ट पर भावना विश्लेषण करता है, शब्दों को उनके भावनात्मक ध्रुवीयता के आधार पर संख्यात्मक अंक देता है। यह डेवलपर्स को फ्लटर ऐप्स में उपयोगकर्ता इनपुट, समीक्षा या सोशल मीडिया कंटेंट की भावना का त्वरित मूल्यांकन करने में सक्षम बनाता है। पैकेज आसानी से एकीकृत किया जा सकता है और बाहरी API की आवश्यकता के बिना मूलभूत भावना निर्धारण के लिए आदर्श है। यह Android, iOS, Web, macOS, Windows और Linux को समर्थन देता है, जिससे यह एक विविध अनुप्रयोग के लिए उपयुक्त होता है।

उपयोग

  • उपयोगकर्ता समीक्षाओं का विश्लेषण करना
  • सोशल मीडिया सेंटिमेंट की निगरानी
  • ग्राहक प्रतिक्रिया का मूल्यांकन करना
  • चैट संदेशों में भावना का पता लगाना
  • सामग्री संवर्धन

मुख्य विशेषताएँ

  • AFINN-165 शब्द सूची का उपयोग करता है
  • हल्का और तेज़
  • प्लेटफॉर्म के अनुकूल समर्थन
  • सरल API एकीकरण
  • कोई बाहरी निर्भरता नहीं

इनके लिए उपयुक्त

  • मूल भावना विश्लेषण
  • टेक्स्ट इनपुट के साथ फ्लटर ऐप्स
  • रियल-टाइम फीडबैक प्रणाली
  • शैक्षिक परियोजनाएँ
  • कम लेटेंसी सेंटिमेंट चेक

विचार योग्य बातें

  • पूर्वनिर्धारित शब्द स्कोर पर सीमित
  • गहन अधिगम या संदर्भ जागरूकता नहीं
  • शायद उपहास या जटिल भाषा के बुनियादी तत्वों को संभाल नहीं पाएगा
  • उच्च-सटीक उद्यम उपयोग केस के लिए उपयुक्त नहीं

मूल README

संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।

Sentiment Dart

Sentiment Dart is a dart module that uses the AFINN-165 wordlist and Emoji Sentiment Ranking to perform sentiment analysis on arbitrary blocks of input text. Sentiment Dart heavily inspired by the Javascript package sentiment

Usage

import 'package:sentiment_dart/sentiment_dart.dart';

main() {
  void main() {

  print(Sentiment.analysis('i hate you piece of shit 💩'));

  print(Sentiment.analysis('i hate you piece of shit 💩',emoji: true));
}
}

output

{score: -7, comparative: -1.1666666666666667, words: [i, hate, you, piece, of, shit], good words: [], badword: [[hate, -3], [shit, -4]]}

{score: -8, comparative: -1.1428571428571428, words: [i, hate, you, piece, of, shit, 💩], good words: [], badword: [[hate, -3], [shit, -4], [💩, -1]]}
Other language

example

import 'package:sentiment_dart/sentiment_dart.dart';

main() {
  void main() {


  print(Sentiment.analysis('ti odio un pezzo di merda 💩',languageCode: 'it'));

  print(Sentiment.analysis('ti odio un pezzo di merda 💩',emoji: true,languageCode: 'it'));

}
}

output

{score: -7, comparative: -1.1666666666666667, words: [ti, odio, un, pezzo, di, merda], good words: [], badword: [[odio, -3], [merda, -4]]}

{score: -8, comparative: -1.1428571428571428, words: [ti, odio, un, pezzo, di, merda, 💩], good words: [], badword: [[odio, -3], [merda, -4], [💩, -1]]}
Custom language

example

import 'package:sentiment_dart/sentiment_dart.dart';

main() {
  void main() {


  var customLang = {'i': 1, 'love': 1, 'dart': 5,'car':2};
  print(Sentiment.analysis('i love dart',customLang: customLang));
}
}

output

{score: 7, comparative: 2.3333333333333335, words: [i, love, dart], good words: [[i, 1], [love, 1], [dart, 5]], badword: []}

How it works ?

AFINN is a list of words rated for valence with an integer between minus five (negative) and plus five (positive). Sentiment analysis is performed by cross-checking the string tokens (words, emojis) with the AFINN list and getting their respective scores.

source

Languages and code

language code
English en
Italian it
french fr
german de

Contribution 🤓

Happy 😍 to recieve or provide contributions related to this package.

Features and bugs 🐛

Please file feature requests and bugs at the issue tracker.

Contact 📧

if you have any questions , feel free to wite us on

श्रेणियाँ

निर्भरताएँ

निर्भरता सूची 1 आइटम

सोर्स रिपॉज़िटरी

इस पैकेज का उपयोग करने वाले प्रोजेक्ट

अभी कोई डेटा उपलब्ध नहीं है।