All Projects โ†’ NeelShah18 โ†’ emot

NeelShah18 / emot

Licence: MIT license
Open source Emoticons and Emoji detection library: emot

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to emot

wink-sentiment
Accurate and fast sentiment scoring of phrases with #hashtags, emoticons :) & emojis ๐ŸŽ‰
Stars: โœญ 51 (-71.35%)
Mutual labels:  emoji, emoticons
emoji-strip
Strip emoji from a string in Node.js and browsers.
Stars: โœญ 73 (-58.99%)
Mutual labels:  emoji, emoticons
Tika Python
Tika-Python is a Python binding to the Apache Tikaโ„ข REST services allowing Tika to be called natively in the Python community.
Stars: โœญ 997 (+460.11%)
Mutual labels:  detection, extraction
Emoji Mart
One component to pick them all ๐Ÿ‘Š๐Ÿผ
Stars: โœญ 4,687 (+2533.15%)
Mutual labels:  emoji, emoticons
ThePhish
ThePhish: an automated phishing email analysis tool
Stars: โœญ 676 (+279.78%)
Mutual labels:  detection
darknet
php ffi darknet
Stars: โœญ 21 (-88.2%)
Mutual labels:  detection
emoji-prediction
๐Ÿค“๐Ÿ”ฎ๐Ÿ”ฌ Emoji prediction from a text using machine learning
Stars: โœญ 41 (-76.97%)
Mutual labels:  emoji
deTiN
DeTiN is designed to measure tumor-in-normal contamination and improve somatic variant detection sensitivity when using a contaminated matched control.
Stars: โœญ 46 (-74.16%)
Mutual labels:  detection
hashflags-function
โšก A collection of Azure functions related to Twitter hashflags
Stars: โœญ 15 (-91.57%)
Mutual labels:  emoji
a11y-react-emoji
โš›๏ธ An accessible Emoji component for React applications
Stars: โœญ 69 (-61.24%)
Mutual labels:  emoji
tools-generation-detection-synthetic-content
Compilation of the state of the art of tools, articles, forums and links of interest to generate and detect any type of synthetic content using deep learning.
Stars: โœญ 107 (-39.89%)
Mutual labels:  detection
tensorflow object detection helper tool
tensorflow object detection api helper tool ( custom object detection )
Stars: โœญ 30 (-83.15%)
Mutual labels:  detection
vemdezapbe.be
Vem de zap bb ๐Ÿ˜๐Ÿ˜Š๐Ÿ˜‚
Stars: โœญ 33 (-81.46%)
Mutual labels:  emoji
3D Ground Segmentation
A ground segmentation algorithm for 3D point clouds based on the work described in โ€œFast segmentation of 3D point clouds: a paradigm on LIDAR data for Autonomous Vehicle Applicationsโ€, D. Zermas, I. Izzat and N. Papanikolopoulos, 2017. Distinguish between road and non-road points. Road surface extraction. Plane fit ground filter
Stars: โœญ 55 (-69.1%)
Mutual labels:  extraction
emoji-to-scale
Your favorite emojis. To scale.
Stars: โœญ 334 (+87.64%)
Mutual labels:  emoji
rafiki-zsh
๐Ÿ‘€๐Ÿ‘ป A zsh friend to watch over you.
Stars: โœญ 50 (-71.91%)
Mutual labels:  emoji
apple-emoji-linux
Apple Color Emoji for Linux
Stars: โœญ 392 (+120.22%)
Mutual labels:  emoji
Hand-Digits-Recognition
Recognize your own handwritten digits with Tensorflow, embedded in a PyQT5 GUI. The Neural Network was trained on MNIST.
Stars: โœญ 11 (-93.82%)
Mutual labels:  detection
slack-emoji-import
Simple bulk emoji importer for slack
Stars: โœญ 35 (-80.34%)
Mutual labels:  emoji
ember-emojione
EmojiOne helper and components for your Ember App
Stars: โœญ 16 (-91.01%)
Mutual labels:  emoji

Downloads GitHub issues GitHub forks GitHub stars GitHub license

Description of the emot:3.1 library

Emot is a python library to extract the emojis and emoticons from a text(string). All the emojis and emoticons are taken from a reliable source details are listed in source section.

Emot 3.1 release moto is: high-performance detection library for data-science specially for large scale datasets of text.

Emot use advance dynamic pattern generation. It means everytime when you create object it generate pattern based on the database(emo_unicode.py). You can add/delete/modify that file under library to create other dynamic pattern.

3.0 version provide more option such as bulk processing. It is useful when you have long list of "sentence or word" and want to use multiprocessing power to speedup the process.

It means you can dynamically create pattern for the emoji or emoticons and run it in multiprocessing to get maximum performance from multiple cores.

Again, I am thankful for all support and help from the community around the world. I hope this will help and make your life easier.

Compatibility

version 3.0 only support python 3.X.

Python 2.X is no longer supported.

Working

The Emot library takes a string/list of string as an input and returns a dictonary.

There are one class name emot containing four different function.

emot.emoji:

  • Input: It has one input: string
  • Output: It will return dictionary with 4 different value: dict
    • value = list of emojis
    • location = list of location list of emojis
    • mean = list of meaning
    • flag = True/False. False means library didn't find anything and True means we find something.

emot.emoticons

  • Input: It has one input: string
  • Output: It will return dictionary with 4 different value: dict
    • value = list of emoticons
    • location = list of location list of emoticons
    • mean = list of meaning
    • flag = True/False. False means library didn't find anything and True means we find something.

emot.bulk_emoji

  • Input: Two input: List of string and CPU cores pool: list[], int
    • By default CPU cores pool value is half of total available cores: multiprocessing.cpu_count()/2
  • Output: It will return list of dictionary with 4 different value: list of dict
    • value = list of emojis
    • location = list of location list of emojis
    • mean = list of meaning
    • flag = True/False. False means library didn't find anything and True means we find something.

emot.bulk_emoticons

  • Input: Two input: List of string and CPU cores pool: list[], int
    • By default CPU cores pool value is half of total available cores: multiprocessing.cpu_count()/2
  • Output: It will return list of dictionary with 4 different value: list of dict
    • value = list of emoticons
    • location = list of location list of emoticons
    • mean = list of meaning
    • flag = True/False. False means library didn't find anything and True means we find something.

Example

>>> import emot 
>>> emot_obj = emot.core.emot() 
>>> text = "I love python โ˜ฎ ๐Ÿ™‚ โค :-) :-( :-)))" 
>>> emot_obj.emoji(text) 
>>> {'value': ['โ˜ฎ', '๐Ÿ™‚', 'โค'], 'location': [[14, 15], [16, 17], [18, 19]], 'mean': [':peace_symbol:', 
':slightly_smiling_face:', ':red_heart:'], 'flag': True} 
>>> emot_obj.emoticons(test) >>> {'value': [':-)', ':-(', ':-)))'], 'location': [[20, 23], [24, 27], [28, 33]], 
'mean': ['Happy face smiley', 'Frown, sad, angry or pouting', 'Very very Happy face or smiley'], 'flag': True} 

Running bulk string emoji and emoticons detection. When user has access multiple processing cores.

>>> import emot 
>>> emot_obj = emot.core.emot() 
>>> bulk_test = ["I love python โ˜ฎ ๐Ÿ™‚ โค :-) :-( :-)))", "I love python 
๐Ÿ™‚ โค :-) :-( :-)))", "I love python โ˜ฎ โค :-) :-( :-)))", "I love python โ˜ฎ ๐Ÿ™‚ :-( :-)))"] 
>>>
>>> emot_obj.bulk_emoji(bulk_test) 
>>> [{'value': ['โ˜ฎ', '๐Ÿ™‚', 'โค'], 'location': [[14, 15], [16, 17], [18, 19]], 
    'mean': [':peace_symbol:', ':slightly_smiling_face:', ':red_heart:'], 'flag': True}, {'value': ['๐Ÿ™‚', 'โค'], 
    'location': [[14, 15], [16, 17]], 'mean': [':slightly_smiling_face:', ':red_heart:'], 'flag': True}, {'value': [
    'โ˜ฎ', 'โค'], 'location': [[14, 15], [16, 17]], 'mean': [':peace_symbol:', ':red_heart:'], 'flag': True}, 
    {'value': ['โ˜ฎ', '๐Ÿ™‚'], 'location': [[14, 15], [16, 17]], 'mean': [':peace_symbol:', ':slightly_smiling_face:'], 
    'flag': True}] 
>>>
>>> emot_obj.bulk_emoticons(bulk_test)
>>> [{'value': [':-)', ':-(', ':-)))'], 'location': [[20, 23], [24, 27], [28, 33]], 'mean': ['Happy face smiley', 
    'Frown, sad, angry or pouting', 'Very very Happy face or smiley'], 'flag': True}, {'value': [':-)', ':-(', ':-)))'], 
    'location': [[18, 21], [22, 25], [26, 31]], 'mean': ['Happy face smiley', 'Frown, sad, angry or pouting', 'Very 
    very Happy face or smiley'], 'flag': True}, {'value': [':-)', ':-(', ':-)))'], 'location': [[18, 21], [22, 25], 
    [26, 31]], 'mean': ['Happy face smiley', 'Frown, sad, angry or pouting', 'Very very Happy face or smiley'], 
    'flag': True}, {'value': [':-(', ':-)))'], 'location': [[18, 21], [22, 27]], 'mean': ['Frown, sad, angry or 
    pouting', 'Very very Happy face or smiley'], 'flag': True}]

Installation

Via pip:

$ pip install emot --upgrade

From master branch:

$ git clone https://github.com/NeelShah18/emot.git
$ cd emot
$ python setup.py install

Developing

$ git clone https://github.com/NeelShah18/emot.git
$ cd emot

Sources

Emoji Cheat Sheet

Official unicode list

official emoticons list

Authors

Neel Shah / @NeelShah18

Shubham Rohilla / @kakashubham

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].