Skip to main content

A small package for sentiments analysis

Project description

Arasents : طھط­ظ„ظٹظ„ ط§ظ„ظ…ط´ط§ط¹ط± ظپظٹ ط§ظ„ظ†طµظˆطµ ط§ظ„ط¹ط±ط¨ظٹط©

Arasents ظ…ظƒطھط¨ط© ط¨ط³ظٹط·ط© ظ„ط§ط³طھظ†طھط§ط¬ ط§ظ„ظ…ط´ط§ط¹ط± ظ…ظ† ط§ظ„ظ†طµ ط§ظ„ط¹ط±ط¨ظٹ طŒ ظ„ط§ طھط³طھط®ط¯ظ… nltk ظˆظ„ط§ ط£ظٹط© ط®ظˆط§ط±ط²ظ…ظٹط© ظ„طھط­ظ„ظٹظ„ ط§ظ„ظ†طµظˆطµ .

ط£ظ†ظ…ط§ط· ط§ظ„ظ…ط´ط§ط¹ط± ط§ظ„طھظٹ ظٹطھظ… ط§ط³طھط®ط±ط§ط¬ظ‡ط§ :

  • Negative : ظ…ط´ط§ط¹ط± ط³ظ„ط¨ظٹط© .
  • positive : ظ…ط´ط§ط¹ط± ط§ظٹط¬ط§ط¨ظٹط©.
  • neutral : ظ…ط´ط§ط¹ط± ظ…ط­ط§ظٹط¯ط© .
  • ط·ط±ظٹظ‚ط© ط§ظ„ط§ط³طھط®ط¯ط§ظ… :

    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


    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)

    Uploaded Source

    Built Distribution

    arasents-0.0b0-py3-none-any.whl (367.3 kB view hashes)

    Uploaded Python 3

    Supported by

    AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page