A small package for sentiments analysis
Project description
Arasents : طھطظ„ظٹظ„ ط§ظ„ظ…ط´ط§ط¹ط± ظپظٹ ط§ظ„ظ†طµظˆطµ ط§ظ„ط¹ط±ط¨ظٹط©
Arasents ظ…ظƒطھط¨ط© ط¨ط³ظٹط·ط© ظ„ط§ط³طھظ†طھط§ط¬ ط§ظ„ظ…ط´ط§ط¹ط± ظ…ظ† ط§ظ„ظ†طµ ط§ظ„ط¹ط±ط¨ظٹ طŒ ظ„ط§ طھط³طھط®ط¯ظ… nltk ظˆظ„ط§ ط£ظٹط© ط®ظˆط§ط±ط²ظ…ظٹط© ظ„طھطظ„ظٹظ„ ط§ظ„ظ†طµظˆطµ .
ط£ظ†ظ…ط§ط· ط§ظ„ظ…ط´ط§ط¹ط± ط§ظ„طھظٹ ظٹطھظ… ط§ط³طھط®ط±ط§ط¬ظ‡ط§ :
ط·ط±ظٹظ‚ط© ط§ظ„ط§ط³طھط®ط¯ط§ظ… :
import arasents
my_text = arasents.text("ط£ظ†طھ ظ‚ط§ط±ط¦ ط¬ظٹط¯")
print ( my_text.sentiments() )
{ 'positive': 100.0 , 'text': 'ط£ظ†طھ ظ‚ط§ط±ط¦ ط¬ظٹط¯' }
import arasents
my_text = arasents.text('ظ‡ظˆ ظƒط³ظˆظ„ ط¬ط¯ط§')
print ( my_text.sentiments() )
{ 'negative': 100.0, 'text': 'ظ‡ظˆ ظƒط³ظˆظ„ ط¬ط¯ط§' }
import arasents
my_text = arasents.text('ط°ظƒط±ظٹط§طھ ..')
print ( my_text.sentiments() )
{'neutral': 100.0, 'text': 'ط°ظƒط±ظٹط§طھ ..'}
import arasents
my_text = arasents.text('ظ‡ظٹ ط¬ظ…ظٹظ„ط© ظˆظ„ظƒظ†ظ‡ط§ ط³ظٹط¦ط©')
print ( my_text.sentiments() )
{'positive': 50.0, 'negative': 50.0, 'text': 'ظ‡ظٹ ط¬ظ…ظٹظ„ط© ظˆظ„ظƒظ†ظ‡ط§ ط³ظٹط¦ط©'}
ظ…ظ„ط§طط¸ط§طھ ظ…ظ‡ظ…ط© :
ط§ظ„ظ…ظƒطھط¨ط© طھط¬ط±ظٹط¨ظٹط© ظˆطھظ… ط§ظ†ط´ط§ط¦ظ‡ط§ ظپظٹ ظ…ط±طظ„ط© ط§ظ„طھط¹ظ„ظ… طŒ ظپظٹ ط§ظ†طھط¸ط§ط± ط§ظ„طھط·ظˆظٹط± .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
arasents-0.0b0.tar.gz
(365.8 kB
view details)
Built Distribution
arasents-0.0b0-py3-none-any.whl
(367.3 kB
view details)
File details
Details for the file arasents-0.0b0.tar.gz
.
File metadata
- Download URL: arasents-0.0b0.tar.gz
- Upload date:
- Size: 365.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed763df962c939926a37bae28772c61b09c099cc2f05081723152e1d6665815f |
|
MD5 | d329b649b750e435392e5232ac4bc683 |
|
BLAKE2b-256 | bb5732f10bdce118712750704d64bde029fa1ce846af0a3cd16b81944f90494f |
File details
Details for the file arasents-0.0b0-py3-none-any.whl
.
File metadata
- Download URL: arasents-0.0b0-py3-none-any.whl
- Upload date:
- Size: 367.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba9e5544f21227da9f7ad7dcf133cc8f8358652a352dad0ca65b99c4e71e4a8f |
|
MD5 | 5ffd9499a8fc9264b272540b25b44115 |
|
BLAKE2b-256 | 18fa41a0f8283ff4dc58775ed05a98872f9271807559c315c85da9c6fccb33e1 |