d?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSg;ZiBedT6edU6edV6edW6edX6edY6edZ6ed[6ed\6ed]6ed^6ed_6ed`6eda6edb6edc6edd6ede6edf6edg6edh6edi6edj6edk6edl6edm6edn6edo6edp6edq6edr6eds6edt6edu6edv6edw6edx6edy6edz6ed{6ed|6ed}6ed~6ed6ed6ed6ed6ed6ed6ed6ed6ed6ed6ed6ed6ed6ed6ed6ed6ed6ed6ed6ed6ed6ed6ed6Zidd6dd6dd6dd6dd6dd6dd6ZedZddZdZdZdefdYZdefdYZdS(s If you use the VADER sentiment analysis tools, please cite: Hutto, C.J. & Gilbert, E.E. (2014). VADER: A Parsimonious Rule-based Model for Sentiment Analysis of Social Media Text. Eighth International Conference on Weblogs and Social Media (ICWSM-14). Ann Arbor, MI, June 2014. iNgn?gnҿg~jt?gGzs[%s]t.t!t?t,t;t:t-t's"s!!s!!!s??s???s?!?s!?!s?!?!s!?!?tainttarenttcannottcanttcouldnttdarenttdidnttdoesntsain'tsaren'tscan'tscouldn'tsdaren'tsdidn'tsdoesn'ttdontthadntthasntthaventtisnttmightnttmustnttneithersdon'tshadn'tshasn'tshaven'tsisn'tsmightn'tsmustn'ttneedntsneedn'ttnevertnonetnopetnortnottnothingtnowheretoughtnttshanttshouldnttuhuhtwasnttwerentsoughtn'tsshan'ts shouldn'tsuh-uhswasn'tsweren'ttwithouttwonttwouldntswon'tswouldn'ttrarelytseldomtdespitet absolutelyt amazinglytawfullyt completelyt considerablyt decidedlytdeeplyteffingt enormouslytentirelyt especiallyt exceptionallyt extremelyt fabulouslytflippingtflippintfrickingtfrickintfriggingtfriggintfullytfuckingtgreatlythellathighlythugelyt incrediblyt intenselytmajorlytmoretmostt particularlytpurelytquitetreallyt remarkablytsot substantiallyt thoroughlyttotallyt tremendouslytubert unbelievablyt unusuallytutterlytverytalmosttbarelythardlys just enoughskind oftkindatkindofskind-oftlesstlittlet marginallyt occasionallytpartlytscarcelytslightlytsomewhatssort oftsortatsortofssort-ofisthe shitsthe bombg?sbad assis yeah rightiscut the mustardgs kiss of deaths hand to mouthcCsg}|jtx|D]}||krtSqW|r^x!|D]}d|krAtSqAWnd|kr|jd}|dkr||ddkrtSntS(s4 Determine if input contains negation words sn'ttleastiitat(textendtNEGATEtTruetindextFalse(t input_wordst include_ntt neg_wordstwordti((sf/private/var/folders/cc/xm4nqn811x9b50x1q_zpkmvdjlphkp/T/pip-build-FUwmDn/nltk/nltk/sentiment/vader.pytnegatedUs        icCs|tj|||}|S(sp Normalize the score to be between -1 and 1 using an alpha that approximates the max expected value (tmathtsqrt(tscoretalphat norm_score((sf/private/var/folders/cc/xm4nqn811x9b50x1q_zpkmvdjlphkp/T/pip-build-FUwmDn/nltk/nltk/sentiment/vader.pyt normalizeiscCsqt}d}x'|D]}|jr|d7}qqWt||}|dkrm|t|krmt}n|S(s Check whether just some words in the input are ALL CAPS :param list words: The words to inspect :returns: `True` if some but not all items in `words` are ALL CAPS ii(RotisuppertlenRm(twordst is_differentt allcap_wordsRstcap_differential((sf/private/var/folders/cc/xm4nqn811x9b50x1q_zpkmvdjlphkp/T/pip-build-FUwmDn/nltk/nltk/sentiment/vader.pytallcap_differentialrs   cCsd}|j}|tkr|t|}|dkrA|d9}n|jr||r||dkrl|t7}qy|t8}q|n|S(s\ Check if the preceding words increase, decrease, or negate/nullify the valence gii(tlowert BOOSTER_DICTR|tC_INCR(Rstvalencet is_cap_difftscalart word_lower((sf/private/var/folders/cc/xm4nqn811x9b50x1q_zpkmvdjlphkp/T/pip-build-FUwmDn/nltk/nltk/sentiment/vader.pytscalar_inc_decs       t SentiTextcBs)eZdZdZdZdZRS(sL Identify sentiment-relevant string-level properties of input text. cCsUt|ts't|jd}n||_|j|_t|j|_dS(Nsutf-8(t isinstancetstrtencodettextt_words_and_emoticonstwords_and_emoticonsRR(tselfR((sf/private/var/folders/cc/xm4nqn811x9b50x1q_zpkmvdjlphkp/T/pip-build-FUwmDn/nltk/nltk/sentiment/vader.pyt__init__s  cCsPtjd|j}|j}g|D]}t|dkr(|^q(}|S(Nti(tREGEX_REMOVE_PUNCTUATIONtsubRtsplitR}(Rttext_modt words_onlyRs((sf/private/var/folders/cc/xm4nqn811x9b50x1q_zpkmvdjlphkp/T/pip-build-FUwmDn/nltk/nltk/sentiment/vader.pyt _words_onlys +c Cs4|jj}g|D]}t|dkr|^q}x|jD]}xtD]}||}|j|}xK|dkr|j|}|j||j|||j|}qvW||}|j|} xK| dkr'|j|}|j||j|||j|} qWqTWqGW|S(Nii( RRR}Rt PUNC_LISTtcountRntremovetinsert( RtwestweRstpuncttpwordtx1Rttwordptx2((sf/private/var/folders/cc/xm4nqn811x9b50x1q_zpkmvdjlphkp/T/pip-build-FUwmDn/nltk/nltk/sentiment/vader.pyRs&+     (t__name__t __module__t__doc__RRR(((sf/private/var/folders/cc/xm4nqn811x9b50x1q_zpkmvdjlphkp/T/pip-build-FUwmDn/nltk/nltk/sentiment/vader.pyRs tSentimentIntensityAnalyzercBseZdZddZdZdZdZdZdZdZ d Z d Z d Z d Z d ZdZRS(s8 Give a sentiment intensity score to sentences. svader_lexicon.txtcCs7tjjtjjt||_|j|_dS(N(tostpathtjointdirnamet__file__t lexicon_filet make_lex_dicttlexicon(RR((sf/private/var/folders/cc/xm4nqn811x9b50x1q_zpkmvdjlphkp/T/pip-build-FUwmDn/nltk/nltk/sentiment/vader.pyRs$cCsni}tj|jddJ}x@|D]8}|jjddd!\}}t|||sZ     &*###   .