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 hashes)
Built Distribution
arasents-0.0b0-py3-none-any.whl
(367.3 kB
view hashes)