PageSourceSearch

https://sgpsenegal.org/js/nlp_compromise.min.js

js sgpsenegal.org collected 2026-10-04 11:29:09 UTC 127,503 bytes, 6 lines download raw bytes

1 /*nlp_compromise 4.5.0  MIT*/
2
3delete Object.prototype.watch,function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.nlp_compromise=e()}}(function(){var e;return function t(e,r,n){function a(o,s){if(!r[o]){if(!e[o]){var u="function"==typeof require&&require;if(!s&&u)return u(o,!0);if(i)return i(o,!0);var l=Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var c=r[o]={exports:{}};e[o][0].call(c.exports,function(t){var r=e[o][1][t];return a(r?r:t)},c,c.exports,t,e,r,n)}return r[o].exports}for(var i="function"==typeof require&&require,o=0;o<n.length;o++)a(n[o]);return a}({1:[function(t,r){"use strict";function n(){this.plugin=function(e){e=e||{},i.isFunction(e)&&(e=e.call(this,this)),Object.keys(e).forEach(function(t){Object.keys(e[t]).forEach(function(r){o[t].fn[r]=e[t][r]})})},this.lexicon=function(){return t("./lexicon.js")},this.term=function(e){return new o.Term(e)},this.noun=function(e){return new o.Noun(e)},this.verb=function(e){return new o.Verb(e)},this.adjective=function(e){return new o.Adjective(e)},this.adverb=function(e){return new o.Adverb(e)},this.value=function(e){return new o.Value(e)},this.person=function(e){return new o.Person(e)},this.place=function(e){return new o.Place(e)},this.date=function(e){return new o.Date(e)},this.organization=function(e){return new o.Organization(e)},this.text=function(e,t){return new o.Text(e,t)},this.sentence=function(e,t){return new o.Sentence(e,t)},this.statement=function(e){return new o.Statement(e)},this.question=function(e){return new o.Question(e)}}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},i=t("./fns.js"),o={Term:t("./term/term.js"),Text:t("./text/text.js"),Sentence:t("./sentence/sentence.js"),Statement:t("./sentence/statement/statement.js"),Question:t("./sentence/question/question.js"),Verb:t("./term/verb/verb.js"),Adjective:t("./term/adjective/adjective.js"),Adverb:t("./term/adverb/adverb.js"),Noun:t("./term/noun/noun.js"),Value:t("./term/noun/value/value.js"),Person:t("./term/noun/person/person.js"),Place:t("./term/noun/place/place.js"),Date:t("./term/noun/date/date.js"),Organization:t("./term/noun/organization/organization.js")},s=new n;("object"===("undefined"==typeof window?"undefined":a(window))||"function"==typeof DedicatedWorkerGlobalScope)&&(self.nlp_compromise=s),void 0!==r&&r.exports&&(r.exports=s),"function"==typeof e&&e.amd&&e(s)},{"./fns.js":23,"./lexicon.js":24,"./sentence/question/question.js":52,"./sentence/sentence.js":55,"./sentence/statement/statement.js":56,"./term/adjective/adjective.js":58,"./term/adverb/adverb.js":63,"./term/noun/date/date.js":68,"./term/noun/noun.js":74,"./term/noun/organization/organization.js":76,"./term/noun/person/person.js":80,"./term/noun/place/place.js":82,"./term/noun/value/value.js":90,"./term/term.js":91,"./term/verb/verb.js":99,"./text/text.js":101}],2:[function(e,t){"use strict";var r=e("./honourifics"),n=["arc","al","exp","rd","st","dist","mt","fy","pd","pl","plz","tce","llb","md","bl","ma","ba","lit","ex","eg","ie","circa","ca","cca","vs","etc","esp","ft","bc","ad"];n=n.concat(r);var a=["dept","univ","assn","bros","inc","ltd","co","corp","yahoo","joomla","jeopardy"];n=n.concat(a);var i=["ariz","cal","calif","col","colo","conn","fla","fl","ga","ida","ia","kan","kans","md","minn","neb","nebr","okla","penna","penn","pa","dak","tenn","tex","ut","vt","va","wis","wisc","wy","wyo","usafa","alta","ont","que","sask","ave","blvd","cl","ct","cres","hwy"];n=n.concat(i);var o=["jan","feb","mar","apr","jun","jul","aug","sep","oct","nov","dec","sept","sep"];n=n.concat(o),t.exports={abbreviations:n,dates:o,orgs:a,places:i}},{"./honourifics":9}],3:[function(e,t){"use strict";var r=e("../fns"),n={erate:"degen,delib,desp,lit,mod",icial:"artif,benef,off,superf",ntial:"esse,influe,pote,substa",teful:"gra,ha,tas,was",stant:"con,di,in,resi",going:"easy,fore,on,out",hing:"astonis,das,far-reac,refres,scat,screec,self-loat,soot",eful:"car,grac,peac,sham,us,veng",ming:"alar,cal,glea,unassu,unbeco,upco",cial:"commer,cru,finan,ra,so,spe",tful:"deligh,doub,fre,righ,though,wis",ight:"overn,overwe,r,sl,upt",ated:"antiqu,intoxic,sophistic,unregul,unrel",rant:"aber,exube,flag,igno,vib",uent:"congr,fl,freq,subseq",rate:"accu,elabo,i,sepa",ific:"horr,scient,spec,terr",rary:"arbit,contempo,cont,tempo",ntic:"authe,fra,giga,roma",wing:"harro,kno,left-,right-",nant:"domi,malig,preg,reso",nent:"emi,immi,perma,promi",
3iant:"brill,def,g,luxur",ging:"dama,encoura,han,lon",iate:"appropr,immed,inappropr,intermed",rect:"cor,e,incor,indi",zing:"agoni,ama,appeti,free",ant:"abund,arrog,eleg,extravag,exult,hesit,irrelev,miscre,nonchal,obeis,observ,pl,pleas,redund,relev,reluct,signific,vac,verd",ing:"absorb,car,coo,liv,lov,ly,menac,perplex,shock,stand,surpris,tell,unappeal,unconvinc,unend,unsuspect,vex,want",ate:"adequ,delic,fortun,inadequ,inn,intim,legitim,priv,sed,ultim",ted:"expec,impor,limi,spiri,talen,tes,unexpec,unpreceden",ish:"dan,fool,hell,lout,self,snobb,squeam,styl",ary:"dre,legend,necess,prim,sc,second,w,we",ite:"el,favor,fin,oppos,pet,pol,recond,tr",ely:"hom,lik,liv,lon,lov,tim,unlik",ure:"fut,insec,miniat,obsc,premat,sec,s",tly:"cos,ghas,ghos,nigh,sain,sprigh,unsigh",dly:"cowar,cud,frien,frien,kin,ma",ble:"a,dou,hum,nim,no,proba",rly:"bu,disorde,elde,hou,neighbo,yea",ine:"div,femin,genu,mascul,prist,rout",ute:"absol,ac,c,m,resol",ped:"cram,pum,stereoty,stri,war",sed:"clo,disea,distres,unsupervi,u",lly:"chi,hi,jo,si,sme",per:"dap,impro,pro,su,up",ile:"fert,host,juven,mob,volat",led:"detai,disgrunt,fab,paralle,troub",ern:"east,north,south,st,west",ast:"e,l,p,steadf",ent:"abs,appar,b,pres",ged:"dama,deran,jag,rag",ded:"crow,guar,retar,undeci",est:"b,dishon,hon,quick",ial:"colon,impart,init,part",ter:"bet,lat,ou,ut",ond:"bey,bl,sec,vagab",ady:"he,re,sh,ste",eal:"ether,id,r,surr",ard:"abo,awkw,stand,straightforw",ior:"jun,pr,sen,super",ale:"fem,m,upsc,wholes",ed:"advanc,belov,concern,craz,determin,fix,hallow,hook,hurri,inbr,justifi,labor,learn,mix,nak,nuanc,sacr,subdu,unauthoriz,unpublish,unrecogniz,wick",ly:"dai,deep,earth,gris,heaven,low,meas,melancho,month,oi,on,prick,seem,s,ug,unru,week,wi,woman",al:"actu,coloss,glob,illeg,leg,leth,liter,loy,ov,riv,roy,univers,usu",dy:"baw,bloo,clou,gau,gid,han,mol,moo,stur,ti,tren,unti,unwiel",se:"adver,den,diver,fal,immen,inten,obe,perver,preci,profu",er:"clev,form,inn,oth,ov,she,slend,somb,togeth,und",id:"afra,hum,langu,plac,rab,sord,splend,stup,torp",re:"awa,bizar,di,enti,macab,me,seve,since,spa",en:"barr,brok,crav,op,sudd,unev,unwritt,wood",ic:"alcohol,didact,gener,hispan,organ,publ,symbol",ny:"ma,pho,pu,shi,skin,ti,za",st:"again,fir,mo,populi,raci,robu,uttermo",ne:"do,go,insa,obsce,picayu,sere",nd:"behi,bla,bli,profou,undergrou,wou",le:"midd,multip,sing,so,subt,who",pt:"abru,ade,a,bankru,corru,nondescri",ty:"faul,hef,lof,mea,sal,uppi",sy:"bu,chee,lou,no,ro",ct:"abstra,exa,imperfe,inta,perfe","in":"certa,highfalut,ma,tw,va",et:"discre,secr,sovi,ups,viol",me:"part-ti,pri,sa,supre,welco",cy:"boun,fan,i,jui,spi",ry:"fur,sor,tawd,wi,w",te:"comple,concre,obsole,remo",ld:"ba,bo,go,mi",an:"deadp,republic,t,urb",ll:"a,i,overa,sti",ay:"everyd,g,gr,ok",or:"indo,maj,min,outdo",my:"foa,gloo,roo,sli",ck:"ba,qua,si,sli",rt:"cove,expe,hu,ove",ul:"fo,gainf,helpf,painf"},a=["ablaze","above","adult","ahead","aloof","arab","asleep","average","awake","backwards","bad","blank","bogus","bottom","brisk","cagey","chief","civil","common","complex","cozy","crisp","deaf","devout","difficult","downtown","due","dumb","eerie","evil","excess","extra","fake","far","faux","fierce ","fit","foreign","fun","good","goofy","gratis","grey","groovy","gross","half","huge","humdrum","inside","kaput","lax","left","less","level","lewd","magenta","makeshift","mammoth","medium","moot","naive","nearby","next","nonstop","north","offbeat","ok","outside","overwrought","premium","pricey","pro","quaint","random","rear","rebel","ritzy","rough","savvy","sexy","shut","shy","sleek","smug","solemn","south","stark","superb","taboo","teenage","top","tranquil","ultra","understood","unfair","unknown","upbeat","upstairs","vanilla","various","widespread","woozy","wrong","final","true","modern"];t.exports=r.expand_suffixes(a,n)},{"../fns":23}],4:[function(e,t){"use strict";t.exports=["absurd","aggressive","alert","alive","awesome","beautiful","big","bitter","black","blue","bored","boring","brash","brave","brief","bright","broad","brown","calm","charming","cheap","clean","cold","cool","cruel","cute","damp","deep","dear","dead","dark","dirty","drunk","dull","eager","efficie
3nt","even","faint","fair","fanc","fast","fat","feeble","few","fierce","fine","flat","forgetful","frail","full","gentle","glib","great","green","gruesome","handsome","hard","harsh","high","hollow","hot","impolite","innocent","keen","kind","lame","lean","light","little","loose","long","loud","low","lush","macho","mean","meek","mellow","mundane","near","neat","new","nice","normal","odd","old","pale","pink","plain","poor","proud","purple","quick","rare","rapid","red","rich","ripe","rotten","round","rude","sad","safe","scarce","scared","shallow","sharp","short","shrill","simple","slim","slow","small","smart","smooth","soft","sore","sour","square","stale","steep","stiff","straight","strange","strong","sweet","swift","tall","tame","tart","tender","tense","thick","thin","tight","tough","vague","vast","vulgar","warm","weak","wet","white","wide","wild","wise","young","yellow","easy","narrow","late","early","soon","close","empty","dry","windy","noisy","thirsty","hungry","fresh","quiet","clear","heavy","happy","funny","lucky","pretty","important","interesting","attractive","dangerous","intellegent","pure","orange","large","firm","grand","formal","raw","weird","glad","mad","strict","tired","solid","extreme","mature","true","free","curly","angry"].reduce(function(e,t){return e[t]="Adjective",e},{})},{}],5:[function(e,t){"use strict";var r=["january","february","april","june","july","august","september","october","november","december","jan","feb","mar","apr","jun","jul","aug","sep","oct","nov","dec","sept","sep"],n=["monday","tuesday","wednesday","thursday","friday","saturday","sunday","mon","tues","wed","thurs","fri","sat","sun"],a=["millisecond","second","minute","hour","morning","afternoon","evening","night","day","week","month","year","decade","century"],i=["yesterday","today","tomorrow","week","weekend","tonight"];t.exports={days:n,months:r,durations:a,relative:i}},{}],6:[function(e,t){"use strict";t.exports=["afghan","albanian","algerian","argentine","armenian","australian","aussie","austrian","bangladeshi","belgian","bolivian","bosnian","brazilian","bulgarian","cambodian","canadian","chilean","chinese","colombian","croat","cuban","czech","dominican","egyptian","british","estonian","ethiopian","finnish","french","gambian","georgian","german","greek","haitian","hungarian","indian","indonesian","iranian","iraqi","irish","israeli","italian","jamaican","japanese","jordanian","kenyan","korean","kuwaiti","latvian","lebanese","liberian","libyan","lithuanian","macedonian","malaysian","mexican","mongolian","moroccan","dutch","nicaraguan","nigerian","norwegian","omani","pakistani","palestinian","filipino","polish","portuguese","qatari","romanian","russian","rwandan","samoan","saudi","scottish","senegalese","serbian","singaporean","slovak","somali","sudanese","swedish","swiss","syrian","taiwanese","thai","tunisian","ugandan","ukrainian","american","hindi","spanish","venezuelan","vietnamese","welsh","african","european","asian","californian"]},{}],7:[function(e,t){"use strict";for(var r=e("./names/male"),n=e("./names/female"),a={},i=["casey","jamie","lee","jaime","jessie","morgan","rene","robin","devon","kerry","alexis","guadalupe","blair","kasey","jean","marion","aubrey","shelby","jan","shea","jade","kenyatta","kelsey","shay","lashawn","trinity","regan","jammie","cassidy","cheyenne","reagan","shiloh","marlo","andra","devan","rosario","lee"],o=0;o<r.length;o++)a[r[o]]="m";for(var o=0;o<n.length;o++)a[n[o]]="f";for(var o=0;o<i.length;o+=1)a[i[o]]="a";t.exports=a},{"./names/female":14,"./names/male":15}],8:[function(e,t){"use strict";var r={"new years eve":"december 31","new years":"january 1","new years day":"january 1",thanksgiving:"fourth thursday in november","christmas eve":"december 24",christmas:"december 24","christmas day":"december 24","saint patricks day":"march 17","st patricks day":"march 17","april fools":"april 1",halloween:"october 31",valentines:"february 14","valentines day":"february 14","martin luther king":"third monday in january","inauguration day":"january 20","washingtons birthday":"third monday in february","presidents day":"third monday in february","memorial day":"last monday in may","labor day":"first monday in september","columbus day":"second monday in october","veterans day":"november 11","labour day":"first monday in september","commonwealth day":"second monday in march","st andrews day":"november 30","saint andrews day":"november 30","may day":"may 1","russia day":"june 12","australia day":"january 26","boxing day":"december 26","queens birthday":"2nd monday in june","canada day":"july 1","victoria day":"may 24","canadian thanksgiving":"second monday in october","rememberance day":"november 11","august civic holiday":"first monday in august","natal day":"first monday in august","all saints day":"november 1","armistice day":"november 11","bastille day":"july 14","st stephens day":"december 26","saint stephens day":"december 26"},n={2015:{"chinese new year":"february 19",easter:"april 5","easter sunday":"april 5","easter monday":"april 6","good friday":"april 3","ascension day":"may 14",eid:"july 17","eid al-fitr":"july 17","eid al-adha":"september 24",ramadan:"june 6",ashura:"23 october",diwali:"11 november"},2016:{"chinese new year":"february 8",easter:"march 27","easter sunday":"march 27","easter monday":"march 28","good friday":"march 25","ascension day":"may 5",eid:"july 6","eid al-fitr":"july 6","eid al-adha":"september 11",ramadan:"may 27",diwali:"october 30"},2017:{"chinese new year":"28 january",easter:"april 16","easter sunday":"april 16","easter monday":"april 17","good friday":"april 14","ascension day":"may 25",eid:"july 25","eid al-fitr":"july 25",diwali:"october 21",ramadan:"may 27"}},a=(new Date).getFullYear(),i=Object.assign(r,n[a]||{});t.exports=i},{}],9:[function(e,t){"use strict";
3t.exports=["jr","mr","mrs","ms","dr","prof","sr","sen","corp","rep","gov","atty","supt","det","rev","col","gen","lt","cmdr","adm","capt","sgt","cpl","maj","miss","misses","mister","sir","esq","mstr","phd","adj","adv","asst","bldg","brig","comdr","hon","messrs","mlle","mme","op","ord","pvt","reps","res","sens","sfc","surg"]},{}],10:[function(e,t){"use strict";var r=[["child","_ren"],["person","people"],["leaf","leaves"],["database","_s"],["quiz","_zes"],["stomach","_s"],["sex","_es"],["move","_s"],["shoe","_s"],["goose","geese"],["phenomenon","phenomena"],["barracks","_"],["deer","_"],["syllabus","syllabi"],["index","indices"],["appendix","appendices"],["criterion","criteria"],["man","men"],["sex","_es"],["rodeo","_s"],["epoch","_s"],["zero","_s"],["avocado","_s"],["halo","_s"],["tornado","_s"],["tuxedo","_s"],["sombrero","_s"],["addendum","addenda"],["alga","_e"],["alumna","_e"],["alumnus","alumni"],["bacillus","bacilli"],["cactus","cacti"],["beau","_x"],["château","_x"],["chateau","_x"],["tableau","_x"],["corpus","corpora"],["curriculum","curricula"],["echo","_es"],["embargo","_es"],["foot","feet"],["genus","genera"],["hippopotamus","hippopotami"],["larva","_e"],["libretto","libretti"],["loaf","loaves"],["matrix","matrices"],["memorandum","memoranda"],["mosquito","_es"],["opus","opera"],["ovum","ova"],["ox","_en"],["radius","radii"],["referendum","referenda"],["thief","thieves"],["tooth","teeth"]];r=r.map(function(e){return e[1]=e[1].replace("_",e[0]),e}),t.exports=r},{}],11:[function(e,t){"use strict";var r={take:{perfect:"have taken",pluperfect:"had taken",future_perfect:"will have taken"},free:{gerund:"freeing",actor:""},arise:{past:"arose",participle:"arisen"},babysit:{past:"babysat",actor:"babysitter"},be:{past:"was",present:"am",future:"will be",perfect:"have been",pluperfect:"had been",future_perfect:"will have been",actor:"",gerund:"am"},is:{past:"was",present:"is",future:"will be",perfect:"have been",pluperfect:"had been",future_perfect:"will have been",actor:"",gerund:"being"},beat:{gerund:"beating",actor:"beater"},begin:{gerund:"beginning",past:"began"},bet:{actor:"better"},bind:{past:"bound"},bite:{gerund:"biting",past:"bit"},bleed:{past:"bled"},"break":{past:"broke"},breed:{past:"bred"},bring:{past:"brought"},broadcast:{past:"broadcast"},build:{past:"built"},buy:{past:"bought"},"catch":{past:"caught"},choose:{gerund:"choosing",past:"chose"},cost:{past:"cost"},deal:{past:"dealt"},die:{past:"died",gerund:"dying"},dig:{gerund:"digging",past:"dug"},"do":{past:"did",present:"does"},draw:{past:"drew"},drink:{past:"drank"},drive:{gerund:"driving",past:"drove"},eat:{gerund:"eating",past:"ate",actor:"eater"},fall:{past:"fell"},feed:{past:"fed"},feel:{past:"felt",actor:"feeler"},fight:{past:"fought"},find:{past:"found"},fly:{past:"flew"},forbid:{past:"forbade"},forget:{gerund:"forgeting",past:"forgot"},forgive:{gerund:"forgiving",past:"forgave"},freeze:{gerund:"freezing",past:"froze"},get:{past:"got"},give:{gerund:"giving",past:"gave"},go:{past:"went",present:"goes"},hang:{past:"hung"},have:{gerund:"having",past:"had",present:"has"},hear:{past:"heard"},hide:{past:"hid"},hold:{past:"held"},hurt:{past:"hurt"},lay:{past:"laid"},lead:{past:"led"},leave:{past:"left"},lie:{gerund:"lying",past:"lay"},light:{past:"lit"},lose:{gerund:"losing",past:"lost"},make:{past:"made"},mean:{past:"meant"},meet:{gerund:"meeting",past:"met",actor:"meeter"},pay:{past:"paid"},read:{past:"read"},ring:{past:"rang"},rise:{past:"rose"},run:{gerund:"running",past:"ran"},say:{past:"said"},see:{past:"saw"},sell:{past:"sold"},shine:{past:"shone"},shoot:{past:"shot"},show:{past:"showed"},sing:{past:"sang"},sink:{past:"sank"},sit:{past:"sat"},slide:{past:"slid"},speak:{past:"spoke"},spin:{gerund:"spinning",past:"spun"},spread:{past:"spread"},stand:{past:"stood"},steal:{past:"stole",actor:"stealer"},stick:{past:"stuck"},sting:{past:"stung"},strike:{gerund:"striking",past:"struck"},swear:{past:"swore"},swim:{past:"swam"},swing:{past:"swung"},teach:{past:"taught",present:"teaches"},tear:{past:"tore"},tell:{past:"told"},think:{past:"thought"},understand:{past:"understood"},wake:{past:"woke"},wear:{past:"wore"},win:{gerund:"winning",past:"won"},withdraw:{past:"withdrew"},write:{gerund:"writing",past:"wrote"},tie:{gerund:"tying",past:"tied"},ski:{past:"skiied"},boil:{actor:"boiler"},miss:{present:"miss"},act:{actor:"actor"},compete:{gerund:"competing",past:"competed",actor:"competitor"},being:{gerund:"are",past:"were",present:"are"}
3,imply:{past:"implied",present:"implies"},ice:{gerund:"icing",past:"iced"},develop:{past:"developed",actor:"developer"},wait:{gerund:"waiting",past:"waited",actor:"waiter"},aim:{actor:"aimer"},spill:{past:"spilt"},drop:{gerund:"dropping",past:"dropped"},log:{gerund:"logging",past:"logged"},rub:{gerund:"rubbing",past:"rubbed"},smash:{present:"smashes"},suit:{gerund:"suiting",past:"suited",actor:"suiter"}};t.exports=r},{}],12:[function(e,t){"use strict";for(var r={there:"NN",better:"JJR",earlier:"JJR",has:"VB",sounds:"VBZ",taken:"VBD",msg:"VB"},n={CC:["yet","therefore","or","while","nor","whether","though","because","cuz","but","for","and","however","before","although","how","plus","versus","not"],CO:["if","unless","otherwise","notwithstanding"],VBD:["said","had","been","began","came","did","meant","went"],VBN:["given","known","shown","seen","born"],VBG:["going","being","according","resulting","developing","staining"],CP:["is","will be","are","was","were","am","isn't","ain't","aren't"],DT:["this","any","enough","each","whatever","every","which","these","another","plenty","whichever","neither","an","a","least","own","few","both","those","the","that","various","what","either","much","some","else","no","la","le","les","des","de","du","el"],IN:["until","onto","of","into","out","except","across","by","between","at","down","as","from","around","with","among","upon","amid","to","along","since","about","off","on","within","in","during","per","without","throughout","through","than","via","up","unlike","despite","below","unless","towards","besides","after","whereas","'o","amidst","amongst","apropos","atop","barring","chez","circa","mid","midst","notwithstanding","qua","sans","vis-a-vis","thru","till","versus","without","w/o","o'","a'"],MD:["can","may","could","might","will","ought to","would","must","shall","should","ought","shant","lets"],PP:["mine","something","none","anything","anyone","theirs","himself","ours","his","my","their","yours","your","our","its","nothing","herself","hers","themselves","everything","myself","itself","her","who","whom","whose"],PRP:["it","they","i","them","you","she","me","he","him","ourselves","us","we","thou","il","elle","yourself","'em"],RB:["now","again","already","soon","directly","toward","forever","apart","instead","yes","alone","ago","indeed","ever","quite","perhaps","where","then","here","thus","very","often","once","never","why","when","away","always","sometimes","also","maybe","so","just","well","several","such","randomly","too","rather","abroad","almost","anyway","twice","aside","moreover","anymore","newly","damn","somewhat","somehow","meanwhile","hence","further","furthermore","more","way","kinda","totally"],EX:["uh","uhh","uh huh","uh-oh","please","ugh","sheesh","eww","pff","voila","oy","hi","hello","bye","goodbye","hey","hai","eep","hurrah","yuck","ow","duh","oh","hmm","yeah","whoa","ooh","whee","ah","bah","gah","yaa","phew","gee","ahem","eek","meh","yahoo","oops","d'oh","psst","argh","grr","nah","shhh","whew","mmm","ooo","yay","uh-huh","boo","wow","nope","haha","hahaha","lol","lols","ya","hee","ohh","eh","yup"],NN:["god","dollar","student","patent","funding","morning","banking","ceiling","energy","purpose","friend","event","room","door","thing","things","stuff","lunch","breakfast","dinner","home","problem","body","world","city","death","others"],PN:["father","mother","mom","dad","mommy","daddy","sister","brother","aunt","uncle","grandfather","grandmother","cousin","stepfather","stepmother","boy","girl","man","men","woman","women","number","system","example","part","guy","dude","bro","gentleman","someone"]},a=Object.keys(n),i=0;i<a.length;i++)for(var o=n[a[i]],s=0;s<o.length;s++)r[o[s]]=a[i];t.exports=r},{}],13:[function(e,t){"use strict";t.exports={"of course":"RB","at least":"RB","no longer":"RB","sort of":"RB","at first":"RB","once again":"RB","once more":"RB","up to":"RB","by now":"RB","all but":"RB","just about":"RB","on board":"JJ","a lot":"RB","by far":"RB","at best":"RB","at large":"RB","for good":"RB","for example":"RB","vice versa":"JJ","en route":"JJ","for sure":"RB","upside down":"JJ","at most":"RB","per se":"RB","at worst":"RB","upwards of":"RB","en masse":"RB","point blank":"RB","up front":"JJ","in front":"JJ","in situ":"JJ","in vitro":"JJ","ad hoc":"JJ","de facto":"JJ","ad infinitum":"JJ","ad nauseam":"RB","for keeps":"JJ","a priori":"JJ","et cetera":"IN","off guard":"JJ","spot on":"JJ","ipso facto":"JJ","not withstanding":"RB","de jure":"RB","a la":"IN","ad hominem":"NN","par excellence":"RB","de trop":"RB","a posteriori":"RB","fed up":"JJ","brand new":"JJ","old fas
3hioned":"JJ","bona fide":"JJ","well off":"JJ","far off":"JJ","straight forward":"JJ","hard up":"JJ","sui generis":"JJ","en suite":"JJ","avant garde":"JJ","sans serif":"JJ","gung ho":"JJ","super duper":"JJ","new york":"NN","new england":"NN","new hampshire":"NN","new delhi":"NN","new jersey":"NN","new mexico":"NN","united states":"NN","united kingdom":"NN","great britain":"NN","head start":"NN"}},{}],14:[function(e,t){"use strict";var r=e("../../fns"),n=["abby","amy","autumn","bobbi","brooke","carol","cheryl","claire","cleo","consuelo","eleanor","eliza","erika","faye","fern","genevieve","gertrude","gladys","inez","ingrid","jenny","jo","joni","kathryn","kelli","kim","latoya","leigh","lupe","luz","lynn","mae","maude","mildred","miriam","naomi","nikki","olga","reba","robyn","rosalind","ruth","sheryl","socorro","sonja","staci","tanya","therese","toni","traci","vicki","vicky"],a={nette:"an,antoi,ja,jea,jean,ly",eline:"ad,ang,jacqu,mad",rlene:"a,cha,da,ma",stine:"chri,erne,ju,kri",tasha:"la,na,",andra:"alex,cass,s",helle:"mic,rac,roc",linda:"be,,me",stina:"chri,cri,kri",annie:",f,je",anne:",di,je,jo,le,mari,rox,sus,suz",elia:"am,ang,cec,c,corn,d,of,sh",llie:"ca,ke,li,mi,mo,ne,o,sa",anna:",de,di,jo,joh,sh",ette:"bernad,b,bridg,claud,paul,yv",ella:"d,,est,lu,marc,st",nnie:"bo,co,je,mi,wi",elle:"dani,est,gabri,isab,jan",icia:"al,fel,let,patr,tr",leen:"ai,cath,col,ei,kath",elma:",s,th,v",etta:",henri,lor,ros",anie:"j,mel,stef,steph",anda:"am,mir,w,yol",arla:"c,d,k,m",lena:"e,he,,magda",rina:"kat,ma,sab,t",isha:"al,ke,lat,tr",olly:"d,m,p",rice:"beat,cla,pat",ttie:"be,ma,ne",acie:"gr,st,tr",isty:"chr,kr,m",dith:"e,ju,mere",onya:"lat,s,t",onia:"ant,s,t",erri:"k,sh,t",lisa:"a,e,",rine:"cathe,katha,kathe",nita:"a,bo,jua",elyn:"ev,jacqu,joc",nine:"ja,jea,jean",nice:"ber,eu,ja",tney:"brit,cour,whi",ssie:"be,ca,e",beth:",elisa,eliza",ine:"carol,ela,franc,gerald,jasm,joseph,lorra,max,nad,paul",ana:"adri,,d,de,di,j,ju,l,sh,sus",rie:"car,che,lau,lo,ma,marjo,rosema,sher,vale",ina:"angel,carol,d,georg,g,josef,mart,n,t",ora:"c,deb,d,fl,len,l,n,",ara:"barb,c,cl,k,l,s,tam,t",ela:"ang,carm,gabri,graci,l,manu,pam",ica:"angel,er,jess,mon,patr,veron",nda:"bre,gle,luci,ly,rho,ro",ley:"ash,kel,kimber,les,shel,shir",eri:"ch,j,k,sh,t",ndy:"ci,ma,mi,sa,we",ene:"hel,imog,ir,jol,lor",ula:"e,l,pa,urs",ann:",jo,le,mary",ola:"le,l,,vi",nna:"do,gle,je,lado",nne:"adrie,cori,ly,yvo",lie:"ju,les,nata,rosa",ise:"den,el,elo,lou",die
3:"ad,gol,jo,sa",ena:"d,lor,r,she",ian:"jill,lill,mar,viv",lyn:"caro,gwendo,jac,mari",ssa:"aly,mari,meli,vane",thy:"ca,doro,dor,ka",tha:"ber,mar,saman,tabi",sie:"el,jo,ro,su",bel:"isa,ma,mari",via:"oli,sil,syl",tie:"chris,ka,kris",dra:"au,ken,son",ria:"glo,ma,victo",gie:"an,mag,mar",lly:"ke,sa,she",ila:"le,l,she",rna:"lo,my,ve",ole:"car,nich,nic",rma:"e,i,no",any:"beth,britt,tiff",ona:"le,m,ram",rta:"albe,ma,robe",en:"carm,dore,ell,gretch,gw,hel,kar,kirst,krist,laur,maure",ia:"cecil,claud,cynth,eugen,georg,jul,luc,lyd,marc,soph,virgin",le:"ade,camil,ceci,ga,gay,luci,lucil,mab,miche,myrt",ie:"bobb,debb,dix,eff,jack,lizz,mam,soph,tamm,vick",ra:"barb,deb,elvi,lau,may,my,pet,ve",er:"amb,est,esth,heath,jenif,jennif,summ",da:"a,ai,fre,frie,hil,i,matil",ce:"ali,canda,candi,constan,floren,gra,joy",ah:"beul,debor,hann,le,rebek,sar",sa:"el,lui,mari,ro,tere,there",ne:"daph,dia,ja,jay,laver,simo",el:"eth,laur,muri,racha,rach,raqu",is:"delor,dor,jan,lo,mav,phyll",et:"bridg,harri,jan,margar,margr",ta:"al,chris,kris,margari,ri",es:"agn,delor,dolor,franc,merced",an:"jo,meag,meg,megh,sus",cy:"lu,mar,nan,sta,tra","in":"caitl,er,kar,krist",ey:"audr,linds,stac,trac",ca:"bian,blan,francis,rebec",on:"alis,allis,shann,shar",il:"abiga,apr,ga,syb",ly:"bever,emi,kimber,li",ea:"andr,chels,doroth,l",ee:"aim,d,desir,ren",ma:"al,em,wil",di:"bran,hei,jo",va:"el,e,i",ue:"dominiq,moniq,s",ay:"f,k,linds",te:"celes,ka,margueri",ry:"ma,rosema,sher",na:"ed,shau,shaw",dy:"jo,ju,tru",ti:"chris,kris,pat",sy:"bet,dai,pat",ri:"ka,lo,sha",la:"kay,priscil,wil",al:"cryst,kryst,op",ll:"jewe,ji,ne"};n=r.expand_suffixes(n,a);var i={mar:"go,isol,itza,sha",tam:"i,ika,my",be:"atriz,cky,tty,ttye",pe:"arl,ggy,nny",pa:"ige,m,tty"};n=r.expand_prefixes(n,i),t.exports=n},{"../../fns":23}],15:[function(e,t){"use strict";var r=e("../../fns"),n=["adolfo","angelo","anthony","armand","arthur","august","bill","billy","bobby","bradford","bret","caleb","carroll","cliff","clifford","craig","curt","derek","doug","dwight","edmund","eli","elliot","enrique","erik","felipe","felix","francisco","frank","george","glenn","greg","gregg","hans","hugh","ira","irving","isaac","jim","kermit","kurt","leo","levi","lorenzo","lou","pablo","pat","percy","philip","phillip","rex","ricky","shaun","shawn","sterling","steve","tim","timothy","wilbur","williams","wm","woodrow"],a={rence:"cla,lau,law,te,ter",lbert:"a,de,e,gi,wi",ustin:"ag,a,d,j",berto:"al,gil,hum,ro",ester:"ch,l,sylv",onnie:"d,l,r",wayne:"de,d,",erick:",fred,rod",athan:"john,jon,n",elvin:",k,m",anuel:"em,emm,m",bert:",her,hu,nor,ro",rick:"der,fred,kend,pat,",land:"cleve,gar,le,ro",ando:"arm,fern,orl,rol",ardo:"edu,ger,leon,ric",lton:"a,car,e,mi",arry:"b,g,h,l",nton:"a,cli,qui",fred:"al,,wil",ance:"l,terr,v",mmie:"ji,sa,to",erry:"j,p,t",mond:"des,ed,ray",rman:"he,no,she",rvin:"e,i,ma",nald:"do,regi,ro",rett:"b,eve,gar",son:"harri,jack,ja,ma,nel,ty,wil",ell:"darn,darr,low,mitch,russ,terr,wend",ard:"bern,edw,ger,how,leon,rich,will",ian:"adr,br,christ,dam,fab,,jul",don:"bran,,el,gor,shel",ron:"aa,by,came,my,",ton:"bur,clay,clif,pres,wins",lan:"a,al,dy,har,no",rey:"ca,co,geoff,jeff",ent:"br,k,tr,vinc",ael:"ism,mich,raf,raph",mmy:"ji,sa,ti,to",mon:"da,ra,si,solo",las:"dal,doug,nicho,nico",vin:"al,cal,de,ke",nny:"be,da,joh,ke",ius:"cornel,dar,demetr,jul",ley:"brad,har,stan,wes",lio:"emi,ju,roge",ben:",reu,ru",ory:"c,greg,r",lie:"bil,char,wil",van:"e,i,",roy:"le,,t",all:"kend,marsh,rand",ary:"c,g,zach",ddy:"bu,fre,te",art:"b,stew,stu",iel:"dan,gabr,nathan",lin:"co,frank,mar",yle:"do,k,l",her:"christop,kristop,lut",oyd:"b,fl,ll",ren:"dar,lo,war",ter:"dex,pe,wal",arl:"c,e,k",ane:"d,du,sh",aul:"p,r,s",dan:"bren,,jor",nie:"ben,er,john",ine:"anto,bla,jerma",lph:"ra,rando,rudo",est:"earn,ern,forr",win:"dar,ed,er",is:"chr,curt,den,denn,ell,franc,lew,lou,lu,morr,ot,trav,will",er:"alexand,elm,grov,hom,jasp,javi,oliv,rodg,rog,spenc,tyl,xavi",an:"bry,de,esteb,eth,ju,log,rom,ry,se,st,steph",el:"ab,darr,fid,jo,lion,marc,mich,migu,no,russ,samu","in":"benjam,bra,dar,darr,efra,joaqu,mart,quent",ie:"arch,edd,frank,fredd,lou,regg,robb",en:"all,dami,gl,k,ow,steph,stev",ey:"dew,harv,jo,mick,rick,rodn,sidn",al:",h,jam,miche,ne,rand",on:"bry,j,jonath,le,marl,vern",or:"hect,juni,salvad,tayl,trev,vict",dy:"an,bra,co,gra,ran,ru",ce:"bru,bry,hora,mauri,roy,walla",il:"cec,em,ne,ph,virg",ar:"ces,edg,lam,om,osc",es:"andr,charl,jam,mil,mos",ro:"alejand,alva,artu,ped,rami",am:"abrah,ad,grah,s,willi",ck:"chu,domini,ja,ma,ni",io:"anton,gregor,ignac,mar,serg",ah:"elij,jeremi,mic,no",nt:"brya,cli,gra,lamo",re:"and,pier,salvato,theodo",ed:",jar,n,t",ld:"arno,gera,haro,jera",as:"eli,luc,thom,tom",os:"am,carl,marc,sant",ew:"andr,dr,math,matth",ke:"bla,ja,lu,mi",tt:"ellio,emme,ma,sco",ty:"mar,mon,rus,scot",th:"hea,kei,kenne,se",ay:"cl,j,murr,r",le:"da,mer,orvil",te:"mon,pe,vicen",us:"jes,marc,ruf",od:"elwo,jarr,r",ob:"b,jac,r",to:"beni,ernes,ot",ne:"euge,ge,tyro",go:"domin,hu,santia",de:"clau,cly,wa","do":"alfre,reynal,wilfre",rk:"cla,ki,ma",se:"cha,jes,jo",ry:"hen,jeffe,jeff",ic:"cedr,domin,er",ad:"br,ch,conr"};n=r.expand_suffixes(n,a);var i={jos:"eph,h,hua",ro:"cky,dolfo,osevelt,scoe,ss",je:"ff,remy,rome,ss",to:"by,dd,m,ny",da:"rryl,ryl,ve,vid",jo:"e,esph,hn,rge",ma:"lcolm,rc,rco,x",al:"ex,fonso,i,onzo",gu:"illermo,stavo,y"};n=r.expand_prefixes(n,i),t.exports=n},{"../../fns":23}],16:[function(e,t){"use strict";
3t.exports=["minus","zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety","hundred","thousand","million","billion","trillion","quadrillion","quintillion","sextillion","septillion","octillion","nonillion","decillion"]},{}],17:[function(e,t){"use strict";var r=["google","microsoft","walmart","exxonmobil","glencore","samsung","chevron","at&t","verizon","costco","nestlé","7-eleven","adidas","nike","acer","mcdonalds","mcdonald's","comcast","compaq","craigslist","cisco","disney","coca cola","dupont","ebay","facebook","fedex","kmart","kkk","kodak","monsanto","myspace","netflix","sony","telus","twitter","usps","ubs","ups","walgreens","youtube","yahoo!","yamaha"],n=["center","centre","memorial","school","university","bank","college","foundation","department","institute","club","co","sons"];
4t.exports={suffixes:n,organizations:r}},{}],18:[function(e,t){"use strict";var r=e("../term/verb/conjugate/conjugate.js"),n=["be onto","fall behind","fall through","fool with","get across","get along","get at","give way","hear from","hear of","lash into","make do","run across","set upon","take aback","keep from"],a={away:"back","in":"out",on:"off",over:"under",together:"apart",up:"down"},i={away:"blow,bounce,bring,call,come,cut,drop,fire,get,give,go,keep,pass,put,run,send,shoot,switch,take,tie,throw","in":"bang,barge,bash,beat,block,book,box,break,bring,burn,butt,carve,cash,check,come,cross,drop,fall,fence,fill,give,grow,hand,hang,head,jack,keep,leave,let,lock,log,move,opt,pack,peel,pull,put,rain,reach,ring,rub,send,set,settle,shut,sign,smash,snow,strike,take,try,turn,type,warm,wave,wean,wear,wheel",on:"add,call,carry,catch,count,feed,get,give,go,grind,head,hold,keep,lay,log,pass,pop,power,put,send,show,snap,switch,take,tell,try,turn,wait",over:"come,go,look,read,run,talk",together:"come,pull,put",up:"add,back,beat,bend,blow,boil,bottle,break,bring,buckle,bundle,call,carve,clean,cut,dress,fill,flag,fold,get,give,grind,grow,hang,hold,keep,let,load,lock,look,man,mark,melt,move,pack,pin,pipe,plump,pop,power,pull,put,rub,scale,scrape,send,set,settle,shake,show,sit,slow,smash,square,stand,strike,take,tear,tie,turn,use,wash,wind"};
4Object.keys(i).forEach(function(e){i[e].split(",").forEach(function(t){n.push(t+" "+e),n.push(t+" "+a[e])})});var o={about:"bring,fool,gad,go,root",after:"go,look,take",ahead:"get,go,press",along:"bring,move",apart:"fall,take",around:"ask,boss,bring,call,come,fool,get,horse,joke,lie,mess,play",away:"back,carry,file,frighten,hide,wash",back:"fall,fight,hit,hold,look,pay,stand,think",by:"drop,get,go,stop,swear,swing,tick,zip",down:"bog,calm,fall,hand,hunker,jot,knock,lie,narrow,note,pat,pour,run,tone,trickle,wear","for":"fend,file,gun,hanker,root,shoot",forth:"bring,come",forward:"come,look","in":"cave,chip,hone,jump,key,pencil,plug,rein,shade,sleep,stop,suck,tie,trade,tuck,usher,weigh,zero",into:"look,run",it:"go,have",off:"auction,be,beat,blast,block,brush,burn,buzz,cast,cool,drop,end,face,fall,fend,frighten,goof,jack,kick,knock,laugh,level,live,make,mouth,nod,pair,pay,peel,read,reel,ring,rip,round,sail,shave,shoot,sleep,slice,split,square,stave,stop,storm,strike,tear,tee,tick,tip,top,walk,work,write",on:"bank,bargain,egg,frown,hit,latch,pile,prattle,press,spring,spur,tack,urge,yammer",out:"act,ask,back,bail,bear,black,blank,bleed,blow,blurt,branch,buy,cancel,cut,eat,edge,farm,figure,find,fill,find,fish,fizzle,flake,flame,flare,flesh,flip,geek,get,help,hide,hold,iron,knock,lash,level,listen,lose,luck,make,max,miss,nerd,pan,pass,pick,pig,point,print,psych,rat,read,rent,root,rule,run,scout,see,sell,shout,single,sit,smoke,sort,spell,splash,stamp,start,storm,straighten,suss,time,tire,top,trip,trot,wash,watch,weird,whip,wimp,wipe,work,zone,zonk",over:"bend,bubble,do,fall,get,gloss,hold,keel,mull,pore,sleep,spill,think,tide,tip",round:"get,go",through:"go,run",to:"keep,see",up:"act,beef,board,bone,boot,brighten,build,buy,catch,cheer,cook,end,eye,face,fatten,feel,fess,finish,fire,firm,flame,flare,free,freeze,freshen,fry,fuel,gang,gear,goof,hack,ham,heat,hit,hole,hush,jazz,juice,lap,light,lighten,line,link,listen,live,loosen,make,mash,measure,mess,mix,mock,mop,muddle,open,own,pair,patch,pick,prop,psych,read,rough,rustle,save,shack,sign,size,slice,slip,snap,sober,spark,split,spruce,stack,start,stay,stir,stitch,straighten,string,suck,suit,sum,team,tee,think,tidy,tighten,toss,trade,trip,type,vacuum,wait,wake,warm,weigh,whip,wire,wise,word,write,zip"};Object.keys(o).forEach(function(e){o[e].split(",").forEach(function(t){n.push(t+" "+e)})}),n=n.reduce(function(e,t){return e[t]="VBP",e},{});var s={present:"VB",past:"VBD",future:"VBF",gerund:"VBG",infinitive:"VBP"},u={},l=void 0,c=void 0,p=void 0,f=void 0;Object.keys(n).forEach(function(e){l=e.split(" "),c=l[0],p=l[1],void 0===u[c]&&(u[c]=r(c)),Object.keys(u[c]).forEach(function(e){f=u[c][e]+" "+p,s[e]&&(n[f]=s[e])})}),t.exports=n},{"../term/verb/conjugate/conjugate.js":92}],19:[function(e,t){"use strict";var r=e("../fns"),n=["usa","u.s.a.","ussr","brazil","bangladesh","mexico","vietnam","egypt","germany","turkey","france","united kingdom","italy","kenya","iraq","morocco","peru","yemen","mozambique","sri lanka","burkina faso","niger","netherlands","chile","malawi","ecuador","côte d'ivoire","mali","zimbabwe","chad","belgium","cuba","greece","haiti","burundi","hungary","sweden","honduras","israel","laos","el salvador","libya","nicaragua","denmark","congo-brazzaville","kuwait","moldova","panama","jamaica","lesotho","guinea-bissau","timor-leste","djibouti","fiji","comoros","solomon islands","luxembourg","suriname","cape verde","malta","bahamas"],a={istan:"pak,uzbek,afghan,tajik,turkmen",ublic:"czech rep,dominican rep,central african rep",uinea:"g,papua new g,equatorial g",land:"thai,po,switzer,fin,republic of ire,new zea,swazi,ice",ania:"tanz,rom,maurit,lithu,alb",rica:"ame,united states of ame,south af,costa ",mbia:"colo,za,ga",eria:"nig,alg,lib",nia:"arme,macedo,slove,esto",sia:"indone,rus,malay,tuni",ina:"ch,argent,bosnia and herzegov",tan:"kazakhs,kyrgyzs,bhu",ana:"gh,botsw,guy",bia:"saudi ara,ser,nami",lia:"austra,soma,mongo",rea:"south ko,north ko,erit",dan:"su,south su,jor",ria:"sy,aust,bulga",ia:"ind,ethiop,cambod,boliv,slovak,georg,croat,latv",an:"jap,ir,taiw,azerbaij,om",da:"ugan,cana,rwan",us:"belar,mauriti,cypr",al:"nep,seneg,portug","in":"spa,ben,bahra",go:"dr con,to,trinidad-toba",la:"venezue,ango,guatema",es:"united stat,philippin,united arab emirat",on:"camero,leban,gab",ar:"myanm,madagasc,qat",ay:"paragu,norw,urugu",ne:"ukrai,sierra leo,palesti"};n=r.expand_suffixes(n,a);var i=["guangzhou","ahmedabad","phoenix","jakarta","curitiba","moscow","tokyo","nagoya","kobe","mexico","cebu","ho chi minh","hanoi","giza","frankfurt","stuttgart","i̇zmir","paris","toulouse","nice","rome","palermo","genoa","cape town","port elizabeth","bogotá","medellín","seville","zaragoza","kiev","odessa","rosario","la plata","warsaw","kraków","łódź","wrocław","poznań","calgary","ottawa","sydney","perth","homs","iași","cluj-napoca","almaty","the hague","utrecht","phnom penh","antwerp","ghent","brussels","tunis","athens","thessaloniki","prague","brno","miskolc","stockholm","västerås","tegucigalpa","graz","innsbruck","abu dhabi","haifa","ashdod","dushanbe","niš","aqaba","aalborg","helsinki","espoo","vantaa","turku","košice","ashgabat","oslo","trondheim","auckland","tbilisi","zagreb","split","kuwait","montevideo","klaipėda","doha","skopje","riga","luxembourg","reykjavik"],o={burg:"saint peters,yekaterin,ham,til,gothen,salz",ton:"hous,edmon,welling,hamil",ion:"hauts-bassins reg,nord reg,herakl",ana:"hav,tir,ljublj",ara:"guadalaj,ank,timișo",an:"tehr,mil,durb,bus,tain,abidj,amm,yerev",i
4a:"philadelph,brasíl,alexandr,pretor,valenc,sof,nicos",on:"ly,lond,yang,inche,daeje,lisb",en:"shenzh,eindhov,pils,copenhag,berg",ng:"beiji,chittago,pyongya,kaohsiu,taichu","in":"tianj,berl,tur,dubl,duned",es:"los angel,nant,napl,buenos air,f",la:"pueb,mani,barranquil,kampa,guatema",or:"salvad,san salvad,ulan bat,marib",us:"damasc,pirae,aarh,vilni",as:"carac,patr,burg,kaun",va:"craio,petah tik,gene,bratisla",ai:"shangh,mumb,chenn,chiang m",ne:"colog,melbour,brisba,lausan",er:"manchest,vancouv,tangi",ka:"dha,osa,banja lu",ro:"rio de janei,sappo,cai",am:"birmingh,amsterd,rotterd",ur:"kuala lump,winterth,kópavog",ch:"muni,züri,christchur",na:"barcelo,vien,var",ma:"yokoha,li,pana",ul:"istanb,seo,kab",to:"toron,qui,por",iv:"khark,lv,tel av",sk:"dnipropetrov,gdań,min"};i=r.expand_suffixes(i,o);var s={"new ":"delhi,york,taipei",san:"a'a,tiago, josé",ta:"ipei,mpere,llinn,rtu",ba:"ngalore,ngkok,ku,sel",li:"verpool,ège,nz,massol",ma:"rseille,ndalay,drid,lmö",be:"rn,lgrade,irut",ka:"rachi,raj,ndy",da:"egu,kar,ugavpils",ch:"icago,arleroi,ișinău",co:"lombo,nstanța,rk",bu:"rsa,charest,dapest"};i=r.expand_prefixes(i,s),t.exports={countries:n,cities:i}},{"../fns":23}],20:[function(e,t){"use strict";t.exports=["accountant","advisor","farmer","mechanic","technician","architect","clerk","therapist","bricklayer","butcher","carpenter","nurse","engineer","supervisor","attendant","operator","dietician","housekeeper","advisor","agent","firefighter","fireman","policeman","attendant","scientist","gardener","hairdresser","instructor","programmer","administrator","journalist","assistant","lawyer","officer","plumber","inspector","psychologist","receptionist","roofer","sailor","security guard","photographer","soldier","surgeon","researcher","practitioner","politician","musician","artist","secretary","minister","deputy","president"]},{}],21:[function(e,t){"use strict";t.exports=["aircraft","bass","bison","fowl","halibut","moose","salmon","spacecraft","tuna","trout","advice","information","knowledge","trouble","enjoyment","fun","recreation","relaxation","meat","rice","bread","cake","coffee","ice","water","oil","grass","hair","fruit","wildlife","equipment","machinery","furniture","mail","luggage","jewelry","clothing","money","mathematics","economics","physics","civics","ethics","gymnastics","mumps","measles","news","tennis","baggage","currency","soap","toothpaste","food","sugar","butter","flour","research","leather","wool","wood","coal","weather","homework","cotton","silk","patience","impatience","vinegar","art","beef","blood","cash","chaos","cheese","chewing","conduct","confusion","education","electricity","entertainment","fiction","forgiveness","gold","gossip","ground","happiness","history","honey","hospitality","importance","justice","laughter","leisure","lightning","literature","luck","melancholy","milk","mist","music","noise","oxygen","paper","peace","peanut","pepper","petrol","plastic","pork","power","pressure","rain","recognition","sadness","safety","salt","sand","scenery","shopping","silver","snow","softness","space","speed","steam","sunshine","tea","thunder","time","traffic","trousers","violence","warmth","wine","steel","soccer","hockey","golf","fish","gum","liquid","series","sheep","species","fahrenheit","celcius","kelvin","hertz","everyone","everybody"]},{}],22:[function(e,t){"use strict";var r=e("../fns"),n={prove:"im,,ap,disap",serve:",de,ob,re",ress:"exp,p,prog,st,add,d",lect:"ref,se,neg,col,e",sist:"in,con,per,re,as",tain:"ob,con,main,s,re",mble:"rese,gru,asse,stu",ture:"frac,lec,tor,fea",port:"re,sup,ex,im",ate:"rel,oper,indic,cre,h,activ,estim,particip,d,anticip,evalu",use:"ca,,over,ref,acc,am,pa,ho",ive:"l,rece,d,arr,str,surv,thr,rel",are:"prep,c,comp,sh,st,decl,d,sc",ine:"exam,imag,determ,comb,l,decl,underm,def",nce:"annou,da,experie,influe,bou,convi,enha",ain:"tr,rem,expl,dr,compl,g,str",ent:"prev,repres,r,res,rel,inv",age:"dam,mess,man,encour,eng,discour",rge:"su,cha,eme,u,me",ise:"ra,exerc,prom,surpr,pra",ect:"susp,dir,exp,def,rej",ter:"en,mat,cen,ca,al",end:"t,dep,,ext,att",est:"t,sugg,prot,requ,r",ock:"kn,l,sh,bl,unl",nge:"cha,exch
4a,ra,challe,plu",ase:"incre,decre,purch,b,ce",ish:"establ,publ,w,fin,distingu",mit:"per,ad,sub,li",ure:"fig,ens,end,meas",der:"won,consi,mur,wan",ave:"s,sh,w,cr",ire:"requ,des,h,ret",tch:"scra,swi,ma,stre",ack:"att,l,p,cr",ion:"ment,quest,funct,envis",ump:"j,l,p,d",ide:"dec,prov,gu,s",ush:"br,cr,p,r",eat:"def,h,tr,ch",ash:"sm,spl,w,fl",rry:"ca,ma,hu,wo",ear:"app,f,b,disapp",er:"answ,rememb,off,suff,cov,discov,diff,gath,deliv,both,empow,with",le:"fi,sett,hand,sca,whist,enab,smi,ming,ru,sprink,pi",st:"exi,foreca,ho,po,twi,tru,li,adju,boa,contra,boo",it:"vis,ed,depos,sp,awa,inhib,cred,benef,prohib,inhab",nt:"wa,hu,pri,poi,cou,accou,confro,warra,pai",ch:"laun,rea,approa,sear,tou,ar,enri,atta",ss:"discu,gue,ki,pa,proce,cro,glo,dismi",ll:"fi,pu,ki,ca,ro,sme,reca,insta",rn:"tu,lea,conce,retu,bu,ea,wa,gove",ce:"redu,produ,divor,fa,noti,pla,for,repla",te:"contribu,uni,tas,vo,no,constitu,ci",rt:"sta,comfo,exe,depa,asse,reso,conve",ck:"su,pi,che,ki,tri,wre",ct:"intera,restri,predi,attra,depi,condu",ke:"sta,li,bra,overta,smo,disli",se:"collap,suppo,clo,rever,po,sen",nd:"mi,surrou,dema,remi,expa,comma",ve:"achie,invol,remo,lo,belie,mo",rm:"fo,perfo,confi,confo,ha",or:"lab,mirr,fav,monit,hon",ue:"arg,contin,val,iss,purs",ow:"all,foll,sn,fl,borr",ay:"pl,st,betr,displ,portr",ze:"recogni,reali,snee,ga,emphasi",ip:"cl,d,gr,sl,sk",re:"igno,sto,interfe,sco",ng:"spri,ba,belo,cli",ew:"scr,vi,revi,ch",gh:"cou,lau,outwei,wei",ly:"app,supp,re,multip",ge:"jud,acknowled,dod,alle",en:"list,happ,threat,strength",ee:"fors,agr,disagr,guarant",et:"budg,regr,mark,targ",rd:"rega,gua,rewa,affo",am:"dre,j,sl,ro",ry:"va,t,c,bu"},a=["hope","thank","work","stop","control","join","enjoy","fail","aid","ask","talk","add","walk","describe","study","seem","occur","claim","fix","help","design","include","need","keep","assume","accept","do","look","die","seek","attempt","bomb","cook","copy","claw","doubt","drift","envy","fold","flood","focus","lift","link","load","loan","melt","overlap","rub","repair","sail","sleep","trade","trap","travel","tune","undergo","undo","uplift","yawn","plan","reveal","owe","sneak","drop","name","head","spoil","echo","deny","yield","reason","defy","applaud","risk","step","deem","embody","adopt","convey","pop","grab","revel","stem","mark","drag","pour","reckon","assign","rank","destroy","float","appeal","grasp","shout","overcome","relax","excel","plug","proclaim","ruin","abandon","overwhelm","wipe","added","took","goes","avoid","come","set","pay","grow","inspect","instruct","know","take","let","sort","put","take","cut","become","reply","happen","watch","associate"];t.exports=r.expand_suffixes(a,n)},{"../fns":23}],23:[function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};r.pluck=function(e,t){return e=e||[],e.map(function(e){return e[t]})},r.toObj=function(e){return e.reduce(function(e,t){return e[t]=!0,e},{})},r.flatten=function(e){var t=[];return e.forEach(function(e){t=t.concat(e)}),t},r.sameArr=function(e,t){if((void 0===e?"undefined":n(e))!==(void 0===t?"undefined":n(t))||e.length!==t.length)return null;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0},r.compact=function(e){return e.filter(function(e){return void 0===e||null===e?!1:!0})},r.extend=function(e,t){return Object.keys(t).forEach(function(r){e[r]=t[r]}),e},r.last=function(e){return e.length>0?e[e.length-1]:null},r.endsWith=function(e,t){return-1!==e.indexOf(t,e.length-t.length)},r.startsWith=function(e,t){return e&&e.length&&e.substr(0,1)===t?!0:!1},r.titlecase=function(e){return e?(e=e.toLowerCase(),e.charAt(0).toUpperCase()+e.slice(1)):""},r.isFunction=function(e){return"[object Function]"===Object.prototype.toString.call(e)},r.expand_suffixes=function(e,t){for(var r=Object.keys(t),n=r.length,a=0;n>a;a++)for(var i=t[r[a]].split(","),o=0;o<i.length;o++)e.push(i[o]+r[a]);return e},r.expand_prefixes=function(e,t){for(var r=Object.keys(t),n=r.length,a=0;n>a;a++)for(var i=t[r[a]].split(","),o=0;o<i.length;
4o++)e.push(r[a]+i[o]);return e}},{}],24:[function(e,t){"use strict";for(var r=e("./fns.js"),n=e("./term/verb/conjugate/conjugate.js"),a=e("./term/adjective/to_comparative.js"),i=e("./term/adjective/to_superlative.js"),o=e("./term/adjective/to_adverb.js"),s=e("./sentence/pos/parts_of_speech.js").tag_mapping,u={},l=function(e){for(var t=Object.keys(e),r=t.length,n=0;r>n;n++)u[t[n]]=e[t[n]]},c=function(e,t){for(var r=e.length,n=0;r>n;n++)u[e[n]]=t},p={infinitive:"Infinitive",present:"PresentTense",past:"PastTense",gerund:"Gerund",actor:"Actor",future:"FutureTense",pluperfect:"PluperfectTense",perfect:"PerfectTense",PerfectTense:"PerfectTense",PluperfectTense:"PluperfectTense",FutureTense:"FutureTense",PastTense:"PastTense",PresentTense:"PresentTense"},f=e("./data/irregular_verbs.js"),h=e("./data/verbs.js").concat(Object.keys(f)),d=function(e){var t=n(h[e]);Object.keys(t).forEach(function(e){e&&t[e]&&p[e]&&(u[t[e]]=p[e])})},m=0;m<h.length;m++)d(m);var g=e("./data/organizations.js");c(g.organizations,"Noun"),c(g.suffixes,"Noun");var b=e("./data/places.js");c(b.countries,"Place"),c(b.cities,"Place"),e("./data/adjectives.js").forEach(function(e){u[e]="Adjective",u[a(e)]="Comparative",u[i(e)]="Superlative",u[o(e)]="Adverb"}),Object.keys(e("./data/convertables.js")).forEach(function(e){u[e]="Adjective",u[a(e)]="Comparative",u[i(e)]="Superlative",u[o(e)]="Adverb"}),c(e("./data/abbreviations.js").abbreviations,"Abbreviation"),c(e("./data/demonyms.js"),"Adjective"),c(e("./data/honourifics.js"),"Honourific"),c(e("./data/uncountables.js"),"Noun");var y=e("./data/dates.js");c(y.days,"Date"),c(y.months,"Date"),c(y.durations,"Date"),c(y.relative,"Date"),c(e("./data/numbers.js"),"Value"),c(Object.keys(e("./data/firstnames.js")),"Person");var v=e("./data/irregular_nouns.js");c(r.pluck(v,0),"Noun"),c(r.pluck(v,1),"Plural"),l(e("./data/misc.js")),l(e("./data/multiples.js")),l(e("./data/phrasal_verbs.js")),Object.keys(e("./data/holidays.js")).forEach(function(e){u[e]="Date"}),c(e("./data/professions.js"),"Actor"),delete u[!1],delete u[!0],delete u[void 0],delete u[null],delete u[""],Object.keys(u).forEach(function(e){u[e]=s[u[e]]||u[e]}),t.exports=u},{"./data/abbreviations.js":2,"./data/adjectives.js":3,"./data/convertables.js":4,"./data/dates.js":5,"./data/demonyms.js":6,"./data/firstnames.js":7,"./data/holidays.js":8,"./data/honourifics.js":9,"./data/irregular_nouns.js":10,"./data/irregular_verbs.js":11,"./data/misc.js":12,"./data/multiples.js":13,"./data/numbers.js":16,"./data/organizations.js":17,"./data/phrasal_verbs.js":18,"./data/places.js":19,"./data/professions.js":20,"./data/uncountables.js":21,"./data/verbs.js":22,"./fns.js":23,"./sentence/pos/parts_of_speech.js":37,"./term/adjective/to_adverb.js":59,"./term/adjective/to_comparative.js":60,"./term/adjective/to_superlative.js":62,"./term/verb/conjugate/conjugate.js":92}],25:[function(e,t){"use strict";var r=e("./result"),n=e("./syntax_parse"),a=e("./match_term"),i=function(e,t,r){for(var n=[],i=0,o=0;o<t.length;o++){var s=e[i];if(!s)return null;if(""===s.normal&&(n.push(e[i]),i+=1,s=e[i]),a(s,t[o],r)){if(t[o].signals.trailing&&e[i+1])return null;if(t[o].signals.leading&&0!==i)return null;n.push(e[i]),i+=1}else if(t[o].signals.any_one)n.push(e[i]),i+=1;else if(!t[o].signals.optional)return null}return n},o=function(e,t,a){var o=[];if(t=n(t||""),t[0].signals.leading){var s=i(e,t,a)||[];return s?[new r(s)]:null}for(var u=e.length,l=0;u>l;l++){var c=e.slice(l,e.length),s=i(c,t,a);s&&o.push(new r(s))}return 0===o.length?null:o},s=function(e,t,r,n){var a=o(e,t,n);a.forEach(function(e){e.replace(r,n)})};t.exports={findAll:o,replaceAll:s}},{"./match_term":26,"./result":27,"./syntax_parse":28}],26:[function(e,t){"use strict";var r=e("../fns.js"),n=function(e,t){if(!e||!t||!t.signals)return!1;var n=t.signals;if(n.one_of){for(var a=t.term.split("|"),i=0;i<a.length;i++)if(a[i]===e.normal||a[i]===e.text)return!0;return!1}if(n.pos){var o=r.titlecase(t.term);return e.pos[o]?!0:!1}return n.alias?t.term===e.root()?!0:!1:t.term===e.normal||t.term===e.text?!0:!1};t.exports=n},{"../fns.js":23}],27:[function(e,t){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=e("./match.js"),i=function(){function e(t){r(this,e),this.terms=t}return n(e,[{key:"match",value:function(e,t){return a(this.terms,e,t)}},{key:"replace",value:function(e){for(var t=0;t<this.terms.length;t++)if("$"!==e[t])if(e[t].match(/\$1/)){var r=e[1].replace(/\$1/,this.terms[t].text);this.terms[t].changeTo(r)}else this.terms[t].changeTo(e[t]||"");return this}},{key:"text",value:function(){return this.terms.reduce(function(e,t){return t.text&&(e+=" "+t.text),e},"").trim()}},{key:"normal",value:function(){return this.terms.reduce(function(e,t){return t.normal&&(e+=" "+t.normal),e},"").trim()}}]),e}();t.exports=i},{"./match.js":25}],28:[function(e,t){"use strict";var r=e("../fns.js"),n=function(e,t){e=e||"",e=e.trim();var n={};return r.startsWith(e,"^")&&(e=e.substr(1,e.length),n.leading=!0),r.endsWith(e,"$")&&(e=e.replace(/\$$/,""),n.trailing=!0),r.endsWith(e,"?")&&(e=e.replace(/\?$/,""),n.optional=!0),r.startsWith(e,"[")&&r.endsWith(e,"]")&&(e=e.replace(/\]$/,""),e=e.replace(/^\[/,""),n.pos=!0),r.startsWith(e,"(")&&r.endsWith(e,")")&&(e=e.replace(/\)$/,""),e=e.replace(/^\(/,""),n.one_of=!0),r.startsWith(e,"~")&&r.endsWith(e,"~")&&(e=e.replace(/^\~/,""),e=e.replace(/\~$/,""),n.alias=!0),"."===e&&(n.any_one=!0),"*"===e&&(n.any_many=!0),{term:e,signals:n,i:t}},a=function(e){return e=e||[],e.map(n)};t.exports=a},{"../fns.js":23}],29:[function(e,t){"use strict";var r={will:"ll",would:"d",have:"ve",are:"re",not:"t",is:"s"},n=function(e){for(var t=1;t<e.length;t++)r[e[t].normal]&&(e[t-1].expansion=e[t-1].text,e[t].expansion=e[t].text,"
4not"===e[t].normal&&(e[t-1].text+="n"),e[t-1].text+="'"+r[e[t].normal],e[t-1].rebuild(),e[t].text="",e[t].rebuild());return e};t.exports=n},{}],30:[function(e,t){"use strict";var r=function(e){for(var t=0;t<e.length;t++)e[t].expansion&&(e[t].text=e[t].expansion,e[t].rebuild());return e};t.exports=r},{}],31:[function(e,t){"use strict";var r=e("../pos/parts_of_speech"),n={ll:"will",d:"would",ve:"have",re:"are",m:"am"},a=function(e,t,n){e[t].expansion=e[t].text.replace(/'.*/,"");var a=new r.Verb("");return a.expansion=n,e.splice(t+1,0,a),e},i=function(e,t){var n={"don't":!0,"mustn't":!0};if(0===t&&!n[e[t].normal])return e;e[t].expansion=e[t].text.replace(/n'.*/,"");var a=new r.Term("");return a.expansion="not",e.splice(t+1,0,a),e},o=function(e,t){e[t].expansion=e[t].text.replace(/'s$/,"");var n=new r.Verb("");return n.expansion="is",e.splice(t+1,0,n),e},s=function(e){for(var t=0;t<e.length;t++)if(e[t].has_abbreviation()){var r=e[t].normal.split(/'/),s=r[0],u=r[1];if(n[u]){e=a(e,t,n[u]);continue}if("t"===u&&s.match(/n$/)){e=i(e,t);continue}if("s"===u){e=o(e,t);continue}}return e};t.exports=s},{"../pos/parts_of_speech":37}],32:[function(e,t){"use strict";var r=e("../fns.js"),n=e("./pos/parts_of_speech.js"),a=function(e){if(!e)return"";for(var t={everyone:"no one",everybody:"nobody",someone:"no one",somebody:"nobody",always:"never",is:"isn't",are:"aren't",was:"wasn't",will:"won't","didn't":"did","wouldn't":"would","couldn't":"could","shouldn't":"should","can't":"can","won't":"will","mustn't":"must","shan't":"shall",shant:"shall",did:"didn't",would:"wouldn't",could:"couldn't",should:"shouldn't",can:"can't",must:"mustn't"},a=0;a<e.terms.length;a++){var i=e.terms[a];if("ambiguous_contraction"===i.reason&&(i.text=i.normal),t[i.normal]&&(!e.terms[a+1]||"not"!==e.terms[a+1].normal))return i.text=t[i.normal],i.normal=t[i.normal],i.capitalised&&(i.text=r.titlecase(i.text)),e;if(i instanceof n.Verb)return i.isNegative()?(e.terms[a+1]&&"not"===e.terms[a+1].normal&&e.terms.splice(a+1,1),e):i.normal.match(/^will /i)?(i.text=i.text.replace(/^will /i,"won't "),i.normal=i.text,i.capitalised&&(i.text=r.titlecase(i.text)),e):i.pos.infinitive&&"future"!==i.conjugation()?(i.text="don't "+(i.conjugate().infinitive||i.text),i.normal=i.text.toLowerCase(),e):"gerund"===i.conjugation()?(i.text="not "+i.text,i.normal=i.text.toLowerCase(),e):"past"===i.tense?(i.text="didn't "+(i.analysis.conjugate().infinitive||i.text),i.normal=i.text.toLowerCase(),e):i.conjugations.present?(i.text="doesn't "+(i.conjugate().infinitive||i.text),i.normal=i.text.toLowerCase(),e):i.conjugations.future?("will"===i.normal?(i.normal="won't",i.text="won't"):(i.text=i.text.replace(/^will /i,"won't "),i.normal=i.normal.replace(/^will /i,"won't ")),i.capitalised&&(i.text=r.titlecase(i.text)),e):e}return e};t.exports=a},{"../fns.js":23,"./pos/parts_of_speech.js":37}],33:[function(e,t){"use strict";var r=function(e){for(var t=e.terms,r=0;r<t.length-2;r++)if(t[r].pos.Copula&&t[r+1].pos.Verb&&"by"===t[r+2].normal){if(t[r+1].pos.Gerund)continue;return!0}return!1};t.exports=r},{}],34:[function(e,t){"use strict";var r=e("./parts_of_speech"),n=function(e,t,n){var a=r.classMapping[t]||r.Term,i=e.expansion;return e=new a(e.text,t),e.reason=n,e.expansion=i,e};t.exports=n},{"./parts_of_speech":37}],35:[function(e,t){"use strict";var r=e("./parts_of_speech"),n=function(e,t,r){if(!e||!t||!r)return!1;for(var n=[{condition:e.pos.Noun&&"&"===t.text&&r.pos.Noun,result:"Person"},{condition:e.pos.Noun&&"N"===t.text&&r.pos.Noun,result:"Person"},{condition:e.pos.Date&&"the"===t.normal&&r.pos.Value,result:"Date"},{condition:e.pos.Value&&t.pos.Preposition&&r.pos.Date,result:"Date"},{condition:e.is_capital()&&"of"===t.normal&&r.is_capital(),result:"Noun"},{condition:e.text.match(/^["']/)&&!t.text.match(/["']/)&&r.text.match(/["']$/),result:"Noun"},{condition:"will"===e.normal&&"have"===t.normal&&t.pos.Verb,result:"FutureTense"}],a=0;a<n.length;a++)if(n[a].condition)return n[a].result;return!1},a=function(e,t){if(!e||!t)return!1;if(e.is_word()===!1||t.is_word()===!1)return!1;for(var r=[{condition:e.pos.Person&&t.pos.Honourific||e.pos.Honourific&&t.pos.Person,result:"Person"},{condition:e.pos.Honourific&&t.is_capital(),result:"Person"},{condition:e.pos.Person&&t.is_capital(),result:"Person"},{condition:e.pos.Date&&t.pos.Value,result:"Date"},{condition:e.pos.Value&&t.pos.Date,result:"Date"},{condition:e.pos.Noun&&t.pos.Actor,result:"Actor"},{condition:e.pos.Value&&t.pos.Noun,result:"Value"},{condition:e.is_capital()&&t.pos.Organization||t.is_capital()&&e.pos.Organization,result:"Organization"},{condition:e.text.match(/^["']/)&&t.text.match(/["']$/),result:"Noun"},{condition:"will"===e.normal&&t.pos.Verb,result:"PerfectTense"},{condition:e.normal.match(/^will ha(ve|d)$/)&&t.pos.Verb,result:"PluperfectTense"}],n=0;n<r.length;n++)if(r[n].condition)return r[n].result;return!1},i=function(e){for(var t=1;t<e.length;t++){var i=e[t-1],o=e[t],s=e[t+1],u=a(i,o);if(u){var l=r.classMapping[u]||r.Term;e[t]=new l(i.text+" "+o.text,u),e[t].reason="lumpedtwo("+e[t].reason+")",e[t-1]=null}else if(s&&(u=n(i,o,s))){var l=r.classMapping[u]||r.Term;e[t-1]=new l([i.text,o.text,s.text].join(" "),u),e[t-1].reason="lumpedThree("+e[t].reason+")",e[t]=null,e[t+1]=null}else;}return e=e.filter(function(e){return null!==e})};t.exports=i},{"./parts_of_speech":37}],36:[function(e,t){"use strict";var r=[["Noun","Abbreviation"],["Abbreviation","Noun"]],n=function(e,t){if(!e||!t)return!1;if(e.has_comma())return!1;if(e.is_word()===!1||t.is_word()===!1)return!1;var n={Expression:!0};if(n[e.tag]||n[t.tag])return!1;if(e.expansion||t.expansion)return!1;if(e.tag===t.tag)return!0;for(var a=0;a<r.length;a++){var i=r[a];if(e.pos[i[0]]&&t.pos[i[1]])return!0}return!1},a=function(e){for(var t=[],r=null,a=0;a<e.length;a++){var i=e[a];n(r,i)?(t[t.length-1].text+=" "+i.text,t[t.length-1].normalize()):t.push(i),r=i}return t};t.exports=a},{}],37:[function(e,t){"use strict";var r=e("../../term/term.js"),n=e("../../term/verb/verb.js"),a=e("../../term/adverb/adverb.js"),i=e("../../term/adjective/adjective.js"),o=e("../../term/noun/noun.js"),s=e("../../term/noun/person/person.js"),u=e("../../term/noun/place/place.js"),l=e("../../term/noun/organization/organization.js"),c=e("../../term/noun/value/value.js"),p=e("../../term/noun/date/date.js"),f={NNA:"Acronym",NNS:"Plural",NN:"Noun",NNO:"Posessive",CD:"Value",AC:"Actor",DA:"Date",CO:"Condition",PN:"Person",PP:"Posessive",PRP:"Pronoun",EX:"Expression",DT:"Determiner",CC:"Conjunction",IN:"Preposition",VB:"Verb",VBD:"PastTense",VBF:"FutureTense",VBP:"Infinitive",VBZ:"PresentTense",VBG:"Gerund",VBN:"Verb",CP:"Copula",MD:"Modal",JJ:"Adjective",JJR:"Comparative",JJS:"Superlative",RB:"Adverb"}
4,h={Noun:o,Honourific:o,Acronym:o,Plural:o,Pronoun:o,Actor:o,Abbreviation:o,Verb:n,PresentTense:n,FutureTense:n,PastTense:n,Infinitive:n,PerfectTense:n,PluperfectTense:n,Gerund:n,Copula:n,Modal:n,Comparative:i,Superlative:i,Adjective:i,Determiner:r,Preposition:r,Expression:r,Conjunction:r,Posessive:r,Adverb:a,Value:c,Place:u,Person:s,Organization:l,Date:p};t.exports={tag_mapping:f,classMapping:h,Term:r,Date:p,Value:c,Verb:n,Person:s,Place:u,Organization:l,Adjective:i,Adverb:a,Noun:o}},{"../../term/adjective/adjective.js":58,"../../term/adverb/adverb.js":63,"../../term/noun/date/date.js":68,"../../term/noun/noun.js":74,"../../term/noun/organization/organization.js":76,"../../term/noun/person/person.js":80,"../../term/noun/place/place.js":82,"../../term/noun/value/value.js":90,"../../term/term.js":91,"../../term/verb/verb.js":99}],38:[function(e,t){"use strict";var r=e("../assign"),n={may:!0,april:!0,march:!0,june:!0},a={between:!0,before:!0,after:!0,during:!0,from:!0,to:!0,of:!0,the:!0,next:!0},i=function(e){for(var t=0;t<e.length;t++){var i=e[t];if(n[i.normal]){if(e[t+1]&&(e[t+1].pos.Value||e[t+1].pos.Date)){e[t]=r(i,"Date","date_signal");continue}if(e[t-1]&&(e[t-1].pos.Value||e[t-1].pos.Date)){e[t]=r(i,"Date","date_signal");continue}if(e[t+1]&&a[e[t+1].normal]){e[t]=r(i,"Date","date_signal");continue}if(e[t-1]&&a[e[t-1].normal]){e[t]=r(i,"Date","date_signal");continue}}}return e};t.exports=i},{"../assign":34}],39:[function(e,t){"use strict";var r=e("../assign"),n=function(e){e[0].is_acronym()&&(e[0]=r(e[0],"Noun","acronym"));for(var t=1;t<e.length;t++)(e[t].is_capital()||e[t].is_acronym())&&(e[t]=r(e[t],"Noun","capital_signal"));return e};t.exports=n},{"../assign":34}],40:[function(e,t){"use strict";var r={"if":!0,"in the event":!0,"in order to":!0,"so long as":!0,provided:!0,"save that":!0,after:!0,once:!0,"subject to":!0,without:!0,effective:!0,upon:!0,during:!0,unless:!0,according:!0,notwithstanding:!0},n=function(e,t){var r=e.length-1;r>t+7&&(r=t+7);for(var n=t;r>n;n++)if(e[n].has_comma())return n;return t>5&&e.length-t<5?e.length:null},a=function(e,t,r){for(var n=t;r>=n&&e[n];n++)e[n].pos.Condition=!0},i=function(e){if(r[e[0].normal]){var t=n(e,0);t&&a(e,0,t)}for(var i=3;i<e.length;i++)if(r[e[i].normal]&&e[i-1].has_comma()){var t=n(e,i);t&&(a(e,i,t),i+=t)}return e};t.exports=i},{}],41:[function(e,t){"use strict";var r=e("../assign"),n=e("./rules/grammar_rules"),a=function(e,t){if(e.length!==t.length)return!1;for(var r=0;r<t.length;r++)if(t[r].startsWith("[")&&t[r].endsWith("]")){var n=t[r].match(/^\[(.*?)\]$/)[1];if(!e[r].pos[n])return!1}else if(e[r].normal!==t[r])return!1;return!0},i=function(e){for(var t=0;t<e.terms.length;t++)for(var i=0;i<n.length;i++){var o=n[i],s=e.terms.slice(t,t+o.before.length);if(a(s,o.before)){for(var u=0;u<o.before.length;u++)if(o.after[u]){var l=o.after[u].match(/^\[(.*?)\]$/)[1];e.terms[t+u]=r(e.terms[t+u],l,"grammar_rule  ("+o.before.join(",")+")")}break}}return e.terms};t.exports=i},{"../assign":34,"./rules/grammar_rules":47}],42:[function(e,t){"use strict";var r=e("../assign"),n=function(e){for(var t={ok:!0,so:!0,please:!0,alright:!0,well:!0,now:!0},n=0;n<e.length&&n<=3&&t[e[n].normal];n++)e[n]=r(e[n],"Expression","interjection_fixes");return e};t.exports=n},{"../assign":34}],43:[function(e,t){"use strict";var r=e("../../../lexicon.js"),n=e("../assign"),a=function(e,t){var a=t.lexicon||r;return e.map(function(e){if(void 0!==a[e.normal])return n(e,a[e.normal],"lexicon_pass");if(void 0!==a[e.expansion])return n(e,a[e.expansion],"lexicon_expansion");if(e.normal.match(/^(over|under|out|-|un|re|en).{3}/)){var t=e.normal.replace(/^(over|under|out|.*?-|un|re|en)/,"");return n(e,a[t],"lexicon_prefix")}if(e.has_abbreviation()){var t=e.normal.replace(/'(ll|re|ve|re|d|m)/,"");return n(e,a[t],"lexicon_prefix")}if(e.normal.match(/-/)){var r=e.normal.split("-");if(a[r[0]])return n(e,a[r[0]],"lexicon_dash");if(a[r[1]])return n(e,a[r[1]],"lexicon_dash")}return e})};t.exports=a},{"../../../lexicon.js":24,"../assign":34}],44:[function(e,t){"use strict";var r=e("../../../lexicon.js"),n=function(e,t){return e&&t&&r[e.normal+" "+t.normal]?!0:!1},a=function(e){for(var t=[],r=null,a=0;a<e.length;a++){var i=e[a];n(r,i)?(t[t.length-1].text+=" "+i.text,t[t.length-1].rebuild()):t.push(i),r=i
5}return t};t.exports=a},{"../../../lexicon.js":24}],45:[function(e,t){"use strict";var r=["in","out","on","off","behind","way","with","of","do","away","across","ahead","back","over","under","together","apart","up","upon","aback","down","about","before","after","around","to","forth","round","through","along","onto"];r=r.reduce(function(e,t){return e[t]=!0,e},{});var n=function(e){for(var t=0;t<e.length-1;t++)if(e[t]&&e[t].pos.Verb&&r[e[t+1].normal]){if(e[t].pos.Copula)continue;e[t].text=e[t].text+" "+e[t+1].text,e[t].reason="phrasal("+e[t].reason+")",e[t+1]=null,e[t].rebuild()}return e=e.filter(function(e){return null!==e})};t.exports=n},{}],46:[function(e,t){"use strict";var r=e("./rules/word_rules"),n=e("../assign"),a=function(e){for(var t=0;t<e.length;t++)if("?"===e[t].tag)for(var a=0;a<r.length;a++)if(e[t].normal.match(r[a].reg)){e[t]=n(e[t],r[a].pos,"rules_pass_"+a);break}return e};t.exports=a},{"../assign":34,"./rules/word_rules":48}],47:[function(e,t){"use strict";
5t.exports=[{before:["[Determiner]","[?]"],after:["[Determiner]","[Noun]"]},{before:["the","[Verb]"],after:[null,"[Noun]"]},{before:["[Determiner]","[Adjective]","[Verb]"],after:["[Noun]","[Noun]","[Noun]"]},{before:["[Determiner]","[Adverb]","[Adjective]","[?]"],after:["[Determiner]","[Adverb]","[Adjective]","[Noun]"]},{before:["[?]","[Determiner]","[Noun]"],after:["[Verb]","[Determiner]","[Noun]"]},{before:["[Person]","the","[Noun]"],after:["[Person]",null,"[Noun]"]},{before:["[Noun]","the","[Noun]"],after:["[Verb]",null,"[Noun]"]},{before:["[Posessive]","[?]"],after:["[Posessive]","[Noun]"]},{before:["[Posessive]","[Verb]"],after:["[Posessive]","[Noun]"]},{before:["[?]","[Posessive]","[Noun]"],after:["[Verb]","[Posessive]","[Noun]"]},{before:["[Copula]","[?]"],after:["[Copula]","[Adjective]"]},{before:["[Copula]","[Adverb]","[?]"],after:["[Copula]","[Adverb]","[Adjective]"]},{before:["[?]","[Preposition]"],after:["[Verb]","[Preposition]"]},{before:["[Adverb]","[Conjunction]","[Adverb]"],after:["[Adverb]","[Adverb]","[Adverb]"]},{before:["[Verb]","[Conjunction]","[Verb]"],after:["[Verb]","[Verb]","[Verb]"]},{before:["[Adjective]","[Conjunction]","[Adjective]"],after:["[Adjective]","[Adjective]","[Adjective]"]},{before:["[?]","[Conjunction]","[Verb]"],after:["[Verb]","[Conjunction]","[Verb]"]},{before:["[Verb]","[Conjunction]","[?]"],after:["[Verb]","[Conjunction]","[Verb]"]},{before:["[Noun]","[Adverb]","[Noun]"],after:["[Noun]","[Adverb]","[Verb]"]},{before:["[?]","[Pronoun]"],after:["[Verb]","[Pronoun]"]},{before:["[Modal]","[?]"],after:["[Modal]","[Verb]"]},{before:["[Modal]","[Adverb]","[?]"],after:["[Modal]","[Adverb]","[Verb]"]},{before:["[Modal]","[Value]"],after:["[Modal]","[Verb]"]},{before:["[Adverb]","[Value]"],after:["[Adverb]","[Verb]"]}]},{}],48:[function(e,t){"use strict";var r=e("../../parts_of_speech.js").tag_mapping;t.exports=[["^[0-9][0-9]?:[0-9]{2}$","DA"],["^[0-9]+(st|nd|rd)?$","CD"],["^[a-z]et$","VB"],["cede$","VB"],[".[cts]hy$","JJ"],[".[st]ty$","JJ"],[".[lnr]ize$","VB"],[".[gk]y$","JJ"],[".fies$","VB"],[".some$","JJ"],[".[nrtumcd]al$","JJ"],[".que$","JJ"],[".[tnl]ary$","JJ"],[".[di]est$","JJS"],["^(un|de|re)\\-[a-z]..","VB"],[".lar$","JJ"],["[bszmp]{2}y","JJ"],[".zes$","VB"],[".[icldtgrv]ent$","JJ"],[".[rln]ates$","VBZ"],[".[oe]ry$","JJ"],["[rdntkdhs]ly$","RB"],[".[lsrnpb]ian$","JJ"],[".[^aeiou]ial$","JJ"],[".[^aeiou]eal$","JJ"],[".[vrl]id$","JJ"],[".[ilk]er$","JJR"],[".ike$","JJ"],[".ends?$","VB"],[".wards$","RB"],[".rmy$","JJ"],[".rol$","NN"],[".tors$","NN"],[".azy$","JJ"],[".where$","RB"],[".ify$","VB"],[".bound$","JJ"],[".ens$","VB"],[".oid$","JJ"],[".vice$","NN"],[".rough$","JJ"],[".mum$","JJ"],[".teen(th)?$","CD"],[".oses$","VB"],[".ishes$","VB"],[".ects$","VB"],[".tieth$","CD"],[".ice
5s$","NN"],[".bles$","VB"],[".pose$","VB"],[".ions$","NN"],[".ean$","JJ"],[".[ia]sed$","JJ"],[".tized$","VB"],[".llen$","JJ"],[".fore$","RB"],[".ances$","NN"],[".gate$","VB"],[".nes$","VB"],[".less$","RB"],[".ried$","JJ"],[".gone$","JJ"],[".made$","JJ"],[".[pdltrkvyns]ing$","JJ"],[".tions$","NN"],[".tures$","NN"],[".ous$","JJ"],[".ports$","NN"],[". so$","RB"],[".ints$","NN"],[".[gt]led$","JJ"],[".lked$","VB"],[".fully$","RB"],[".*ould$","MD"],["^-?[0-9]+(.[0-9]+)?$","CD"],["[a-z]*\\-[a-z]*\\-","JJ"],["[a-z]'s$","NNO"],[".'n$","VB"],[".'re$","CP"],[".'ll$","MD"],[".'t$","VB"],[".tches$","VB"],["^https?:?//[a-z0-9]","NN"],["^www.[a-z0-9]","NN"],[".ize$","VB"],[".[^aeiou]ise$","VB"],[".[aeiou]te$","VB"],[".ea$","NN"],["[aeiou][pns]er$","NN"],[".ia$","NN"],[".sis$","NN"],[".[aeiou]na$","NN"],[".[^aeiou]ity$","NN"],[".[^aeiou]ium$","NN"],[".[^aeiou][ei]al$","JJ"],[".ffy$","JJ"],[".[^aeiou]ic$","JJ"],[".(gg|bb|zz)ly$","JJ"],[".[aeiou]my$","JJ"],[".[aeiou]ble$","JJ"],[".[^aeiou]ful$","JJ"],[".[^aeiou]ish$","JJ"],[".[^aeiou]ica$","NN"],["[aeiou][^aeiou]is$","NN"],["[^aeiou]ard$","NN"],["[^aeiou]ism$","NN"],[".[^aeiou]ity$","NN"],[".[^aeiou]ium$","NN"],[".[lstrn]us$","NN"],["..ic$","JJ"],["[aeiou][^aeiou]id$","JJ"],[".[^aeiou]ish$","JJ"],[".[^aeiou]ive$","JJ"],["[ea]{2}zy$","JJ"],["[^aeiou]ician$","AC"],[".keeper$","AC"],[".logist$","AC"],["..ier$","AC"],[".[^aeiou][ao]pher$","AC"],[".tive$","AC"],["[aeiou].*ist$","JJ"],["^um+$","EX"],["^([hyj]a)+$","EX"],["^(k)+$","EX"],["^(yo)+$","EX"],["^yes+$","EX"],["^no+$","EX"],["^lol[sz]$","EX"],["^woo+[pt]?$","EX"],["^ug?h+$","EX"],["^uh[ -]?oh$","EX"]].map(function(e){return{reg:RegExp(e[0],"i"),pos:r[e[1]]}})},{"../../parts_of_speech.js":37}],49:[function(e,t){"use strict";var r=e("./lumper"),n=e("./fancy_lumping"),a=e("./parts_of_speech"),i=e("./assign"),o=e("./passes/grammar_pass"),s=e("./passes/phrasal_verbs"),u=e("./passes/interjection_fixes"),l=e("./passes/lexicon_pass"),c=e("./passes/capital_signals"),p=e("./passes/conditional_pass"),f=e("./passes/ambiguous_dates"),h=e("./passes/multiples_pass"),d=e("./passes/regex_pass"),m=function(e){for(var t=0;t<e.length;t++)"?"===e[t].tag&&e[t].normal.match(/[a-z]/)&&(e[t]=i(e[t],"Noun","fallback"));return e},g=function(e){for(var t=0;t<e.length;t++){var r=e[t];r instanceof a.Noun&&(r.is_person()?e[t]=i(r,"Person","is_person"):r.is_place()?e[t]=i(r,"Place","is_place"):r.is_value()?e[t]=i(r,"Value","is_value"):r.is_date()?e[t]=i(r,"Date","is_date"):r.is_organization()&&(e[t]=i(r,"Organization","is_organization")))}return e},b=function(e,t){e.terms=c(e.terms),e.terms=l(e.terms,t),e.terms=d(e.terms),e.terms=u(e.terms),e.terms=h(e.terms);for(var a=0;2>a;a++)e.terms=o(e),e.terms=g(e.terms),e.terms=f(e.terms),e.terms=r(e.terms),e.terms=m(e.terms),e.terms=s(e.terms),e.terms=n(e.terms);return e.terms=p(e.terms),e.terms};t.exports=b},{"./assign":34,"./fancy_lumping":35,"./lumper":36,"./parts_of_speech":37,"./passes/ambiguous_dates":38,"./passes/capital_signals":39,"./passes/conditional_pass":40,"./passes/grammar_pass":41,"./passes/interjection_fixes":42,"./passes/lexicon_pass":43,"./passes/multiples_pass":44,"./passes/phrasal_verbs":45,"./passes/regex_pass":46}],50:[function(e,t){"use strict";var r={who:"who",whose:"who",whom:"who","which person":"who",where:"where",when:"when",why:"why","how come":"why"},n=function(e,t){var n=e.terms[t],a=e.terms[t+1];if(a){var i=n.normal+" "+a.normal;if(r[i])return r[i]}return r[n.normal]?r[n.normal]:r[n.expansion]?r[n.expansion]:!1};t.exports=n},{}],51:[function(e,t){"use strict";var r={which:"which",what:"what"},n={time:"when",day:"when",year:"when",person:"who",amount:"number",number:"number"},a=function(e,t){var a=e.terms[t],i=e.terms[t+1],o=r[a.normal]||r[a.expanded];return i&&o?i.pos.Copula?a.normal:i.pos.Actor?"who":n[i.normal]?n[i.normal]:o:null};t.exports=a},{}],52:[function(e,t){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=e("../sentence.js"),s=e("./question_form"),u=function(e){function t(e,a){return r(this,t),n(this,Object.getPrototypeOf(t).call(this,e,a))}return a(t,e),i(t,[{key:"form",value:function(){return s(this)}}]),t}(o);u.fn=u.prototype,t.exports=u},{"../sentence.js":55,"./question_form":53}],53:[function(e,t){"use strict";var r=e("./yesNo.js"),n=e("./easyForm.js"),a=e("./hardForm.js"),i=function(e){for(var t=0;t<e.terms.length;t++){var i=n(e,t);if(i)return i;if(i=a(e,t))return i;if(r(e,t))return"yesNo"}return null};t.exports=i},{"./easyForm.js":50,"./hardForm.js":51,"./yesNo.js":54}],54:[function(e,t){"use strict";var r={is:!0,are:!0,was:!0,will:!0,"do":!0,did:!0},n=function(e,t){var n=e.terms[t],a=e.terms[t-1],i=e.terms[t+1];if(r[n.normal]||r[n.expansion]){if(!a)return!0;
5if(!a)return!1;if(a.pos.Pronoun||a.pos.Person)return!1;if(i.pos.Pronoun||i.pos.Person)return!0}return!1};t.exports=n},{}],55:[function(e,t){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=e("../term/term"),i=e("./pos/tagger"),o=e("./passive_voice"),s=e("./negate"),u={interpret:e("./contractions/interpret"),contract:e("./contractions/contract"),expand:e("./contractions/expand")},l=e("./tense"),c=e("../match/match"),p=function(){function e(t,n){r(this,e),this.str=t||"",n=n||{};var o=this,s=t.split(" ");this.terms=s.map(function(e){return new a(e)}),this.terms=i(this,n),this.terms=u.interpret(this.terms),this.contractions={expand:function(){return o.terms=u.expand(o.terms),o},contract:function(){return o.terms=u.contract(o.terms),o}}}return n(e,[{key:"addBefore",value:function(e,t){var r=new a(t);this.terms.splice(e,0,r)}},{key:"addAfter",value:function(e,t){var r=new a(t);this.terms.splice(e+1,0,r)}},{key:"tokenize_match",value:function(t){var r=new e(t).terms;return r=r.map(function(e){return e.text}),r=r.filter(function(e){return""!==e})}},{key:"match",value:function(e,t){var r=this.tokenize_match(e);return c.findAll(this.terms,r,t)}},{key:"replace",value:function(e,t,r){var n=this.tokenize_match(e);return t=this.tokenize_match(t),c.replaceAll(this.terms,n,t,r),this}},{key:"terminator",value:function(){var e=[".","?","!"],t=this.str.slice(-1)||"";return-1!==e.indexOf(t)?t:"."}},{key:"tag",value:function(){return this.terms=i(this),this.terms}},{key:"sentence_type",value:function(){var e=this.terminator(),t={"?":"interrogative","!":"exclamative",".":"declarative"};return t[e]||"declarative"}},{key:"is_passive",value:function(){return o(this)}},{key:"negate",value:function(){return s(this),this}},{key:"text",value:function(){return this.terms.reduce(function(e,t){return t.text&&(e+=" "+t.text),e},"").trim()}},{key:"normalized",value:function(){return this.terms.reduce(function(e,t){return t.normal&&(e+=" "+t.normal),e},"").trim()}},{key:"root",value:function(){return this.terms.reduce(function(e,t){return e+=" "+t.root},"").trim()}},{key:"tags",value:function(){return this.terms.map(function(e){return e.tag||"?"})}},{key:"people",value:function(){return this.terms.filter(function(e){return e.pos.Person})}},{key:"places",value:function(){return this.terms.filter(function(e){return e.pos.Place})}},{key:"dates",value:function(){return this.terms.filter(function(e){return e.pos.Date})}},{key:"organizations",value:function(){return this.terms.filter(function(e){return e.pos.Organization})}},{key:"values",value:function(){return this.terms.filter(function(e){return e.pos.Value})}},{key:"to_past",value:function(){return l(this,"past"),this}},{key:"to_present",value:function(){return l(this,"present"),this}},{key:"to_future",value:function(){return l(this,"future"),this}},{key:"strip_conditions",value:function(){var e=this;return this.terms=this.terms.filter(function(t,r){return r>0&&t.pos.Condition&&!e.terms[r-1].pos.Condition&&(e.terms[r-1].text=e.terms[r-1].text.replace(/,$/,""),e.terms[r-1].rebuild()),!t.pos.Condition}),this}}]),e}();p.fn=p.prototype,t.exports=p},{"../match/match":25,"../term/term":91,"./contractions/contract":29,"./contractions/expand":30,"./contractions/interpret":31,"./negate":32,"./passive_voice":33,"./pos/tagger":49,"./tense":57}],56:[function(e,t){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=e("../sentence.js"),o=function(e){function t(e,a){return r(this,t),n(this,Object.getPrototypeOf(t).call(this,e,a))}return a(t,e),t}(i);o.fn=o.prototype,t.exports=o},{"../sentence.js":55}],57:[function(e,t){"use strict";var r=e("./pos/parts_of_speech.js"),n=function(e,t){return"present"===t?e.to_present():"past"===t?e.to_past():"future"===t&&e.to_future(),e}
5,a=function(e,t){return e.terms.forEach(function(e){e instanceof r.Verb&&n(e,t)}),e};t.exports=a},{"./pos/parts_of_speech.js":37}],58:[function(e,t){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=e("../term.js"),s=e("./to_comparative"),u=e("./to_superlative"),l=e("./to_adverb"),c=e("./to_noun"),p=function(e){function t(e,a){r(this,t);var i=n(this,Object.getPrototypeOf(t).call(this,e));return i.tag=a,i.pos.Adjective=!0,i}return a(t,e),i(t,[{key:"to_comparative",value:function(){return s(this.normal)}},{key:"to_superlative",value:function(){return u(this.normal)}},{key:"to_noun",value:function(){return c(this.normal)}},{key:"to_adverb",value:function(){return l(this.normal)}},{key:"conjugate",value:function(){return{comparative:s(this.normal),superlative:u(this.normal),adverb:l(this.normal),noun:c(this.normal)}}}]),t}(o);p.fn=p.prototype,t.exports=p},{"../term.js":91,"./to_adverb":59,"./to_comparative":60,"./to_noun":61,"./to_superlative":62}],59:[function(e,t){"use strict";var r=function(e){var t={idle:"idly","public":"publicly",vague:"vaguely",day:"daily",icy:"icily",single:"singly",female:"womanly",male:"manly",simple:"simply",whole:"wholly",special:"especially",straight:"straight",wrong:"wrong",fast:"fast",hard:"hard",late:"late",early:"early",well:"well",best:"best",latter:"latter",bad:"badly"},r={foreign:1,black:1,modern:1,next:1,difficult:1,degenerate:1,young:1,awake:1,back:1,blue:1,brown:1,orange:1,complex:1,cool:1,dirty:1,done:1,empty:1,fat:1,fertile:1,frozen:1,gold:1,grey:1,gray:1,green:1,medium:1,parallel:1,outdoor:1,unknown:1,undersized:1,used:1,welcome:1,yellow:1,white:1,fixed:1,mixed:1,"super":1,guilty:1,tiny:1,able:1,unable:1,same:1,adult:1},n=[{reg:/al$/i,repl:"ally"},{reg:/ly$/i,repl:"ly"},{reg:/(.{3})y$/i,repl:"$1ily"},{reg:/que$/i,repl:"quely"},{reg:/ue$/i,repl:"uly"},{reg:/ic$/i,repl:"ically"},{reg:/ble$/i,repl:"bly"},{reg:/l$/i,repl:"ly"}],a=[/airs$/,/ll$/,/ee.$/,/ile$/];if(r[e])return null;if(t[e])return t[e];if(e.length<=3)return null;for(var i=0;i<a.length;i++)if(e.match(a[i]))return null;for(var i=0;i<n.length;i++)if(e.match(n[i].reg))return e.replace(n[i].reg,n[i].repl);return e+"ly"};t.exports=r},{}],60:[function(e,t){"use strict";var r=e("../../data/convertables.js"),n=function(e){var t={grey:"greyer",gray:"grayer",green:"greener",yellow:"yellower",red:"redder",good:"better",well:"better",bad:"worse",sad:"sadder"},n={overweight:1,main:1,nearby:1,asleep:1,weekly:1,secret:1,certain:1},a=[{reg:/y$/i,repl:"ier"},{reg:/([aeiou])t$/i,repl:"$1tter"},{reg:/([aeou])de$/i,repl:"$1der"},{reg:/nge$/i,repl:"nger"}],i=[/ght$/,/nge$/,/ough$/,/ain$/,/uel$/,/[au]ll$/,/ow$/,/old$/,/oud$/,/e[ae]p$/],o=[/ary$/,/ous$/];if(n.hasOwnProperty(e))return null;for(var s=0;s<a.length;s++)if(e.match(a[s].reg))return e.replace(a[s].reg,a[s].repl);if(r.hasOwnProperty(e))return e.match(/e$/)?e+"r":e+"er";if(t.hasOwnProperty(e))return t[e];for(var s=0;s<o.length;s++)if(e.match(o[s]))return"more "+e;for(var s=0;s<i.length;s++)if(e.match(i[s]))return e+"er";return"more "+e};t.exports=n},{"../../data/convertables.js":4}],61:[function(e,t){"use strict";var r=function(e){var t={clean:"cleanliness",naivety:"naivety"};if(!e)return"";if(t.hasOwnProperty(e))return t[e];if(e.match(" "))return e;if(e.match(/w$/))return e;for(var r=[{reg:/y$/,repl:"iness"},{reg:/le$/,repl:"ility"},{reg:/ial$/,repl:"y"},{reg:/al$/,repl:"ality"},{reg:/ting$/,repl:"ting"},{reg:/ring$/,repl:"ring"},{reg:/bing$/,repl:"bingness"},{reg:/sing$/,repl:"se"},{reg:/ing$/,repl:"ment"},{reg:/ess$/,repl:"essness"},{reg:/ous$/,repl:"ousness"}],n=0;n<r.length;n++)if(e.match(r[n].reg))return e.replace(r[n].reg,r[n].repl);return e.match(/s$/)?e:e+"ness"};t.exports=r},{}],62:[function(e,t){"use strict";var r=e("../../data/convertables.js"),n=function(e){for(var t={nice:"nicest",late:"latest",hard:"hardest",inner:"innermost",outer:"outermost",far:"furthest",worse:"worst",bad:"worst",good:"best"},n={overweight:1,ready:1},a=[{reg:/y$/i,repl:"iest"},{reg:/([aeiou])t$/i,repl:"$1ttest"},{reg:/([aeou])de$/i,repl:"$1dest"},{reg:/nge$/i,repl:"ngest"}],i=[/ght$/,/nge$/,/ough$/,/ain$/,/uel$/,/[au]ll$/,/ow$/,/oud$/,/...p$/],o=[/ary$/],s=function(e){return e.match(/e$/)?e+"st":e+"est"},u=0;u<a.length;u++)if(e.match(a[u].reg))return e.replace(a[u].reg,a[u].repl);if(r.hasOwnProperty(e))return s(e);if(n.hasOwnProperty(e))return"most "+e;if(t.hasOwnProperty(e))return t[e];for(var u=0;u<o.length;u++)if(e.match(o[u]))return"most "+e;for(var u=0;u<i.length;u++)if(e.match(i[u]))return s(e);return"most "+e};t.exports=n},{"../../data/convertables.js":4}],63:[function(e,t){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=e("../term.js"),s=e("./to_adjective.js"),u=function(e){function t(e,a){r(this,t);var i=n(this,Object.getPrototypeOf(t).call(this,e));return i.tag=a,i.pos.Adverb=!0,i}return a(t,e),i(t,[{key:"to_adjective",value:function(){return s(this.normal)}}]),t}(o);u.fn=u.prototype,t.exports=u},{"../term.js":91,"./to_adjective.js":64}],64:[function(e,t){"use strict";var r=function(e){var t={idly:"idle",sporadically:"sporadic",basically:"basic",grammatically:"grammatical",alphabetically:"alphabetical",economically:"economical",conically:"conical",politically:"political",vertically:"vertical",practically:"practical",theoretically:"theoretical",critically:"critical",fantastically:"fantastic",mystically:"mystical",pornographically:"pornographic",fully:"full",jolly:"jolly",wholly:"whole"},r=[{reg:/bly$/i,repl:"ble"},{reg:/gically$/i,repl:"gical"},{reg:/([rsdh])ically$/i,repl:"$1ical"},{reg:/ically$/i,repl:"ic"},{reg:/uly$/i,repl:"ue"},{reg:/ily$/i,repl:"y"},{reg:/(.{3})ly$/i,repl:"$1"}];if(t.hasOwnProperty(e))return t[e];for(var n=0;n<r.length;n++)if(e.match(r[n].reg))return e.replace(r[n].reg,r[n].repl);return e};t.exports=r},{}],65:[function(e,t){"use strict";var r={plz:"please",tmrw:"tomorrow",wat:"what",r:"are",u:"you"},n=function(e){return r[e]?r[e]:null};t.exports=n},{}],66:[function(e,t){"use strict";var r=function(e){return e.match(/([A-Z]\.)+[A-Z]?$/)?!0:e.match(/[A-Z]{3}$/)?!0:!1};t.exports=r},{}],67:[function(e,t){"use strict";var r=e("../is_acronym.js"),n={hour:"an",heir:"an",heirloom:"an",honest:"an",honour:"an",honor:"an",uber:"an"},a=function(e){if(!e)return null;var t={A:!0,E:!0,F:!0,H:!0,I:!0,L:!0,M:!0,N:!0,O:!0,R:!0,S:!0,X:!0},a=[/^onc?e/i,/^u[bcfhjkqrstn][aeiou]/i,/^eul/i];if(n.hasOwnProperty(e))return n[e];if(r(e)&&t.hasOwnProperty(e.substr(0,1)))return"an";
5for(var i=0;i<a.length;i++)if(e.match(a[i]))return"a";return e.match(/^[aeiou]/i)?"an":"a"};t.exports=a},{"../is_acronym.js":66}],68:[function(e,t){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=e("../noun.js"),s=e("./parse_date.js"),u=function(e){function t(e,a){r(this,t);var i=n(this,Object.getPrototypeOf(t).call(this,e));return i.tag=a,i.pos.Date=!0,i.data=s(i.text)||{},i}return a(t,e),i(t,[{key:"is_date",value:function(){var e=this.data;return null===e.month||null===e.day||null===e.year?!1:!0}},{key:"date",value:function(){if(this.is_date()===!1)return null;var e=new Date;return this.data.year&&e.setYear(this.data.year),null!==this.data.month&&e.setMonth(this.data.month),null!==this.data.day&&e.setDate(this.data.day),e}}]),t}(o);u.fn=u.prototype,t.exports=u},{"../noun.js":74,"./parse_date.js":71}],69:[function(e,t){"use strict";var r=e("../../../data/dates").months.concat(["march","may"]),n="("+r.join("|")+")",a="([0-9]{1,2})",i="'?([12][0-9]{3})",o=[{reg:n+" "+a+" "+i,order:["month","day","year"]},{reg:a+" of "+n+" "+i,order:["day","month","year"]},{reg:a+" of "+n,order:["day","month"]},{reg:n+" "+i,order:["month","year"]},{reg:n+" "+a,order:["month","day"]},{reg:a+" "+n,order:["day","month"]},{reg:""+n,order:["month"]},{reg:""+i,order:["year"]}].map(function(e){return e.reg=RegExp("\\b"+e.reg+"\\b",""),e});t.exports=o},{"../../../data/dates":5}],70:[function(e,t){"use strict";var r=e("../../../data/dates"),n=r.months.concat(r.days),a="(\\b"+n.join("\\b|\\b")+"\\b)";a=RegExp(a,"i");var i=/1?[0-9]:[0-9]{2}/,o=function(e){return e.match(a)||e.match(i)?!0:!1};t.exports=o},{"../../../data/dates":5}],71:[function(e,t){"use strict";var r=e("../value/to_number.js"),n=e("./date_rules.js"),a={year:function(e){var t=e.match(/[0-9]+/);return t=parseInt(t,10),!t||t>2900||0>t?null:t>100&&1e3>t?null:e.match(/[0-9] ?bc/i)?t*=-1:(100>t&&t>30&&(t+=1900),t)},month:function(e){var t={january:0,february:1,march:2,april:3,may:4,june:5,july:6,august:7,september:8,october:9,november:10,december:11,jan:0,feb:1,mar:2,apr:3,aug:7,sept:8,oct:9,nov:10,dec:11};return t[e]},day:function(e){var t=r(e)||parseInt(e,10);return 0>t||t>31?null:t}},i=function(e){e=e.toLowerCase(),e=e.replace(/([0-9]+)(nd|rd|th|st)/i,"$1");var t=e.split(" ").map(function(e){return e.match(/[0-9]/)?e:r(e)||e});return t.join(" ")},o=function(e){e=i(e);for(var t={year:null,month:null,day:null},r=0;r<n.length;r++)if(e.match(n[r].reg)){for(var o=e.match(n[r].reg),s=0;s<n[r].order.length;s++){var u=n[r].order[s];t[u]=a[u](o[s+1])}break}return t};t.exports=o},{"../value/to_number.js":88,"./date_rules.js":69}],72:[function(e,t){"use strict";var r=e("../../data/irregular_nouns"),n=[/(^v)ies$/i,/ises$/i,/ives$/i,/(antenn|formul|nebul|vertebr|vit)ae$/i,/(octop|vir|radi|nucle|fung|cact|stimul)i$/i,/(buffal|tomat|tornad)oes$/i,/(analy|ba|diagno|parenthe|progno|synop|the)ses$/i,/(vert|ind|cort)ices$/i,/(matr|append)ices$/i,/(x|ch|ss|sh|s|z|o)es$/i,/men$/i,/news$/i,/.tia$/i,/(^f)ves$/i,/(lr)ves$/i,/(^aeiouy|qu)ies$/i,/(m|l)ice$/i,/(cris|ax|test)es$/i,/(alias|status)es$/i,/ics$/i],a=[/(ax|test)is$/i,/(octop|vir|radi|nucle|fung|cact|stimul)us$/i,/(octop|vir)i$/i,/(rl)f$/i,/(alias|status)$/i,/(bu)s$/i,/(al|ad|at|er|et|ed|ad)o$/i,/(ti)um$/i,/(ti)a$/i,/sis$/i,/(?:(^f)fe|(lr)f)$/i,/hive$/i,/(^aeiouy|qu)y$/i,/(x|ch|ss|sh|z)$/i,/(matr|vert|ind|cort)(ix|ex)$/i,/(m|l)ouse$/i,/(m|l)ice$/i,/(antenn|formul|nebul|vertebr|vit)a$/i,/.sis$/i,/^(?!talis|.*hu)(.*)man$/i],i=function(e){e=(e||"").toLowerCase();var t=e.match(/([a-z]*) (of|in|by|for) [a-z]/);t&&t[1]&&(e=t[1]);for(var i=0;i<r.length;i++){if(r[i][1]===e)return!0;
5if(r[i][0]===e)return!1}for(var i=0;i<n.length;i++)if(e.match(n[i]))return!0;for(var i=0;i<a.length;i++)if(e.match(a[i]))return!1;return e.match(/s$/)&&!e.match(/ss$/)&&e.length>3?!0:!1};t.exports=i},{"../../data/irregular_nouns":10}],73:[function(e,t){"use strict";var r=e("../../data/uncountables.js"),n=r.reduce(function(e,t){return e[t]=!0,e},{}),a=function(e){return n[e]?!0:!1};t.exports=a},{"../../data/uncountables.js":21}],74:[function(e,t){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=e("../term.js"),s=e("./article.js"),u=e("./is_plural.js"),l=e("./place/is_place.js"),c=e("./person/is_person.js"),p=e("./pronoun.js"),f=e("./value/is_value.js"),h=e("./date/is_date.js"),d=e("./organization/is_organization.js"),m=e("./singularize.js"),g=e("./pluralize.js"),b=e("./is_uncountable.js"),y=function(e){function t(e,a){r(this,t);var i=n(this,Object.getPrototypeOf(t).call(this,e));return i.tag=a,i.pos.Noun=!0,a&&(i.pos[a]=!0),i.is_plural()&&(i.pos.Plural=!0),i}return a(t,e),i(t,[{key:"article",value:function(){return s(this.text)}},{key:"root",value:function(){return this.singularize()}},{key:"pronoun",value:function(){return this.is_organization()||this.is_place()||this.is_value()?"it":p(this.normal)}},{key:"is_plural",value:function(){var e=u(this.normal);return this.pos.Date&&(e=!1),this.pos.Plural=e,e}},{key:"is_uncountable",value:function(){return b(this.normal)}},{key:"pluralize",value:function(){return g(this.normal)}},{key:"singularize",value:function(){return m(this.normal)}},{key:"is_person",value:function(){return"Date"===this.tag?!1:c(this.normal)}},{key:"is_organization",value:function(){return d(this.normal,this.text)}},{key:"is_date",value:function(){return h(this.normal)}},{key:"is_value",value:function(){return"Date"===this.tag?!1:f(this.normal)}},{key:"is_place",value:function(){return l(this.normal)}}]),t}(o);y.fn=y.prototype,t.exports=y},{"../term.js":91,"./article.js":67,"./date/is_date.js":70,"./is_plural.js":72,"./is_uncountable.js":73,"./organization/is_organization.js":75,"./person/is_person.js":78,"./place/is_place.js":81,"./pluralize.js":83,"./pronoun.js":84,"./singularize.js":85,"./value/is_value.js":86}],75:[function(e,t){"use strict";var r=e("../../../data/abbreviations"),n=e("../../../data/organizations"),a=r.orgs.reduce(function(e,t){return e[t]=!0,e},{});n.suffixes.forEach(function(e){a[e]=!0});var i=n.organizations.reduce(function(e,t){return e[t]=!0,e},{}),o=function(e,t){if(t=t||"",i[e])return!0;if(t.length<=5&&null!==t.match(/^[A-Z][A-Z]+$/))return!0;if(t.length>=4&&null!==t.match(/^([A-Z]\.)*$/))return!0;if(e.match(/ & /))return!0;if(e.match(/..s of /))return!0;if(e.match(/[a-z]{3}\.(com|net|org|biz)/))return!0;var r=e.split(" ");if(r.length>1){var n=r[r.length-1];if(a[n])return!0}return!1};t.exports=o},{"../../../data/abbreviations":2,"../../../data/organizations":17}],76:[function(e,t){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=e("../noun.js"),o=function(e){function t(e,a){r(this,t);var i=n(this,Object.getPrototypeOf(t).call(this,e));return i.tag=a,i.pos.Organization=!0,i}return a(t,e),t}(i);o.fn=o.prototype,t.exports=o},{"../noun.js":74}],77:[function(e,t){"use strict";var r=e("../../../data/firstnames"),n=e("./parse_name.js"),a=function(e){if("he"===e)return"Male";if("she"===e)return"Female";var t=n(e),a=t.firstName;return a?"m"===r[a]?"Male":"f"===r[a]?"Female":e.match(/\b(mr|mister|sr|jr)\b/i)?"Male":e.match(/^(mrs|miss|ms|misses|mme|mlle)\.? /i)?"Female":a.match(/.(i|ee|[a|e]y|a)$/i)?"Female":a.match(/[ou]$/i)?"Male":a.match(/(nn|ll|tt)/i)?"Female":null:null};t.exports=a},{"../../../data/firstnames":7,"./parse_name.js":79}],78:[function(e,t){"use strict";var r=e("../../../data/firstnames"),n=e("../../../data/honourifics").reduce(function(e,t){return e[t]=!0,e},{}),a={he:!0,she:!0,i:!0,you:!0},i=function(e){if(a[e]||r[e])return!0;var t=e.split(" ");if(t.length>1){var i=t[0];if(n[i]||r[i])return!0}return!1};t.exports=i},{"../../../data/firstnames":7,"../../../data/honourifics":9}],79:[function(e,t){"use strict";var r=e("../../../data/firstnames"),n=e("../../../data/honourifics").reduce(function(e,t){return e[t]=!0,e},{}),a=function(e){var t=e.split(" "),a={honourific:null,firstName:null,middleName:null,lastName:null};if(n[t[0]]&&(a.honourific=t[0],t=t.slice(1,t.length)),n[t[t.length-1]]&&(a.honourific=t[t.length-1],t=t.slice(0,t.length-1)),r[t[0]])a.firstName=t[0],t=t.slice(1,t.length);else{if(1===t.length)return a;a.firstName=t[0],t=t.slice(1,t.length)
6}return t[t.length-1]&&(a.lastName=t[t.length-1],t=t.slice(0,t.length-1)),a.middleName=t.join(" "),a};t.exports=a},{"../../../data/firstnames":7,"../../../data/honourifics":9}],80:[function(e,t){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=e("../noun.js"),s=e("./gender.js"),u=e("./parse_name.js"),l=function(e){function t(e,a){r(this,t);var i=n(this,Object.getPrototypeOf(t).call(this,e));return i.tag=a,i.pos.Person=!0,i.honourific=null,i.firstName=null,i.middleName=null,i.lastName=null,i.parse(),i.isPronoun()&&(i.pos.Pronoun=!0),i}return a(t,e),i(t,[{key:"isPronoun",value:function(){var e={he:!0,she:!0,i:!0,you:!0};return e[this.normal]}},{key:"root",value:function(){var e=(this.firstName||"")+" "+(this.lastName||"");return e.trim()}},{key:"parse",value:function(){var e=u(this.normal);this.honourific=e.honourific,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName}},{key:"gender",value:function(){return s(this.normal)}}]),t}(o);l.fn=l.prototype,t.exports=l},{"../noun.js":74,"./gender.js":77,"./parse_name.js":79}],81:[function(e,t){"use strict";var r=e("../../../data/places"),n=e("../../../data/abbreviations"),a=r.countries.reduce(function(e,t){return e[t]=!0,e},{});
6r.cities.forEach(function(e){a[e]=!0}),n.places.forEach(function(e){a[e]=!0});var i=["west","east","nort","south","western","eastern","nortern","southern","city","town","county","state","province"].reduce(function(e,t){return e[t]=!0,e},{}),o=function(e){for(var t=e.split(),r=0;r<t.length;r++){if(a[t[r]])return!0;if(i[t[r]]&&!i[e])return!0}return!1};t.exports=o},{"../../../data/abbreviations":2,"../../../data/places":19}],82:[function(e,t){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=e("../noun.js"),s=e("../../../data/places.js"),u=e("../../../fns.js"),l=u.toObj(s.countries),c=u.toObj(s.cities),p=function(e){function t(e,a){r(this,t);var i=n(this,Object.getPrototypeOf(t).call(this,e));return i.tag=a,i.pos.Place=!0,i.title=null,i.city=null,i.region=null,i.country=null,i.parse(),i}return a(t,e),i(t,[{key:"root",value:function(){return this.title||this.normal}},{key:"parse",value:function(){var e=this.normal.split(" ");this.title=e[0];for(var t=0;t<e.length;t++){var r=e[t];c[r]?this.city=u.titlecase(r):l[r]?this.country=u.titlecase(r):null!==this.city?this.region=u.titlecase(r):this.title+=" "+r}}}]),t}(o);p.fn=p.prototype,t.exports=p},{"../../../data/places.js":19,"../../../fns.js":23,"../noun.js":74}],83:[function(e,t){"use strict";var r=e("./is_uncountable.js"),n=e("../../data/irregular_nouns.js"),a=e("./is_plural.js"),i=e("../../fns.js"),o=[[/(ax|test)is$/i,"$1es"],[/(octop|vir|radi|nucle|fung|cact|stimul)us$/i,"$1i"],[/(octop|vir)i$/i,"$1i"],[/([rl])f$/i,"$1ves"],[/(alias|status)$/i,"$1es"],[/(bu)s$/i,"$1ses"],[/(al|ad|at|er|et|ed|ad)o$/i,"$1oes"],[/([ti])um$/i,"$1a"],[/([ti])a$/i,"$1a"],[/sis$/i,"ses"],[/(?:([^f])fe|([lr])f)$/i,"$1ves"],[/(hive)$/i,"$1s"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/(x|ch|ss|sh|s|z)$/i,"$1es"],[/(matr|vert|ind|cort)(ix|ex)$/i,"$1ices"],[/([m|l])ouse$/i,"$1ice"],[/([m|l])ice$/i,"$1ice"],[/^(ox)$/i,"$1en"],[/^(oxen)$/i,"$1"],[/(quiz)$/i,"$1zes"],[/(antenn|formul|nebul|vertebr|vit)a$/i,"$1ae"],[/(sis)$/i,"ses"],[/^(?!talis|.*hu)(.*)man$/i,"$1men"],[/(.*)/i,"$1s"]].map(function(e){return{reg:e[0],repl:e[1]}}),s=function u(e){var t=e.toLowerCase();if(r(t))return e;if(a(t)===!0)return e;var s=n.filter(function(e){return e[0]===t});if(s[0])return i.titlecase(t)===e?i.titlecase(s[0][1]):s[0][1];if(e.match(/([a-z]*) (of|in|by|for) [a-z]/)){var l=(e.match(/^([a-z]*) (of|in|by|for) [a-z]/)||[])[1];if(l){var c=u(l);return c+e.replace(l,"")}}for(var p=0;p<o.length;p++)if(e.match(o[p].reg))return e.replace(o[p].reg,o[p].repl);return null};t.exports=s},{"../../data/irregular_nouns.js":10,"../../fns.js":23,"./is_plural.js":72,"./is_uncountable.js":73}],84:[function(e,t){"use strict";var r=e("./person/is_person.js"),n=e("./is_plural.js"),a=e("./person/gender.js"),i=function(e){if(r(e)){var t=a(e);return"Male"===t?"he":"Female"===t?"she":"they"}return n(e)?"they":"it"};t.exports=i},{"./is_plural.js":72,"./person/gender.js":77,"./person/is_person.js":78}],85:[function(e,t){"use strict";var r=e("./is_uncountable.js"),n=e("../../data/irregular_nouns.js"),a=e("./is_plural.js"),i=e("../../fns.js"),o=[[/([^v])ies$/i,"$1y"],[/ises$/i,"isis"],[/ives$/i,"ife"],[/(antenn|formul|nebul|vertebr|vit)ae$/i,"$1a"],[/(octop|vir|radi|nucle|fung|cact|stimul)(i)$/i,"$1us"],[/(buffal|tomat|tornad)(oes)$/i,"$1o"],[/((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$/i,"$1sis"],[/(vert|ind|cort)(ices)$/i,"$1ex"],[/(matr|append)(ices)$/i,"$1ix"],[/(x|ch|ss|sh|s|z|o)es$/i,"$1"],[/men$/i,"man"],[/(n)ews$/i,"$1ews"],[/([ti])a$/i,"$1um"],[/([^f])ves$/i,"$1fe"],[/([lr])ves$/i,"$1f"],[/([^aeiouy]|qu)ies$/i,"$1y"],[/(s)eries$/i,"$1eries"],[/(m)ovies$/i,"$1ovie"],[/([m|l])ice$/i,"$1ouse"],[/(cris|ax|test)es$/i,"$1is"],[/(alias|status)es$/i,"$1"],[/(ss)$/i,"$1"],[/(ics)$/i,"$1"],[/s$/i,""]].map(function(e){return{reg:e[0],repl:e[1]}}),s=function u(e){var t=e.toLowerCase();if(r(t))return e;if(a(t)===!1)return e;var s=n.filter(function(e){return e[1]===t});if(s[0])return i.titlecase(t)===e?i.titlecase(s[0][0]):s[0][0];
6if(e.match(/([a-z]*) (of|in|by|for) [a-z]/)){var l=e.match(/^([a-z]*) (of|in|by|for) [a-z]/);if(l&&l[1]){var c=u(l[1]);return c+e.replace(l[1],"")}}for(var p=0;p<o.length;p++)if(e.match(o[p].reg))return e.replace(o[p].reg,o[p].repl);return e};t.exports=s},{"../../data/irregular_nouns.js":10,"../../fns.js":23,"./is_plural.js":72,"./is_uncountable.js":73}],86:[function(e,t){"use strict";var r=e("./numbers"),n=e("../date/is_date"),a=function(e){var t=e.split(" ");if(n(e))return!1;for(var a=0;a<t.length;a++){var i=t[a];if(r.ones[i]||r.teens[i]||r.tens[i]||r.multiples[i]||r.prefixes[i])return!0;if(parseFloat(i))return!0}return!1};t.exports=a},{"../date/is_date":70,"./numbers":87}],87:[function(e,t){"use strict";var r={a:1,zero:0,one:1,two:2,three:3,four:4,five:5,six:6,seven:7,eight:8,nine:9,first:1,second:2,third:3,fourth:4,fifth:5,sixth:6,seventh:7,eighth:8,ninth:9},n={ten:10,eleven:11,twelve:12,thirteen:13,fourteen:14,fifteen:15,sixteen:16,seventeen:17,eighteen:18,nineteen:19,eleventh:11,twelfth:12,thirteenth:13,fourteenth:14,fifteenth:15,sixteenth:16,seventeenth:17,eighteenth:18,nineteenth:19},a={twenty:20,thirty:30,forty:40,fifty:50,sixty:60,seventy:70,eighty:80,ninety:90,twentieth:20,thirtieth:30,fourtieth:40,fiftieth:50,sixtieth:60,seventieth:70,eightieth:80,ninetieth:90},i={hundred:100,grand:1e3,thousand:1e3,million:1e6,billion:1e9,trillion:1e12,quadrillion:1e15,quintillion:1e18,sextillion:1e21,septillion:1e24,octillion:1e27,nonillion:1e30,decillion:1e33},o={yotta:1,zeta:1,peta:1,tera:1,giga:1,mega:1,kilo:1,hecto:1,deca:1,centi:1,centa:1,milli:1,micro:1,nano:1,pico:1,femto:1,atto:1,zepto:1,yokto:1,square:1,cubic:1,quartic:1};t.exports={ones:r,teens:n,tens:a,multiples:i,prefixes:o}},{}],88:[function(e,t){"use strict";var r=e("./numbers.js"),n=function(e){return e.match(/[:@]/)?!1:e.match(/[0-9][^0-9,\.][0-9]/)?!1:!0},a=function(e){if(null===e||void 0===e)return null;if("number"==typeof e)return e;if(n(e)!==!0)return null;if(e=e.replace(/[\$%\(\)~,]/g,""),e=e.trim(),e.match(/^[0-9\.\-]+$/))return parseFloat(e);var t=!1,a=!1,i=!1,o={},s=0,u=1;if(e=e.replace(/, ?/g,""),e=e.replace(/[$£€]/,""),e.match(/[0-9][\-:][0-9]/))return null;for(var l=[{reg:/^(minus|negative)[\s\-]/i,mult:-1},{reg:/^(a\s)?half[\s\-](of\s)?/i,mult:.5},{reg:/^(a\s)?quarter[\s\-]/i,mult:.25}],c=0;c<l.length;c++)if(e.match(l[c].reg)){u=l[c].mult,e=e.replace(l[c].reg,"");break}for(var p=(""+e).split(/[\s\-]+/),f=void 0,h=void 0,d=0,m=1,g=!1,c=0;c<p.length;c++)if(f=p[c],"and"!==f)if("point"!==f&&"decimal"!==f){if(g){if(h=null,void 0!==r.ones[f]&&(h=r.ones[f]),void 0!==r.teens[f]&&(h=r.teens[f]),parseInt(f,10)===f&&(h=parseInt(f,10)),!h)return null;if(10>h){s+=h*m,m=.1*m,d=0;continue}if(100>h){s+=.1*h*m,m=.01*m,d=0;continue}}if(f.match(/^[0-9\.]+$/))d+=parseFloat(f);else if(parseInt(f,10)!==f)if(void 0===r.ones[f])if(r.teens[f]){if(t)return null;if(a)return null;if(i)return null;a=!0,d+=r.teens[f]}else if(r.tens[f]){if(t)return null;if(a)return null;if(i)return null;i=!0,d+=r.tens[f]}else{if(!r.multiples[f])return null;if(o[f])return null;o[f]=!0,t=!1,a=!1,i=!1,0===d?(s=s||1,s*=r.multiples[f]):(d*=r.multiples[f],s+=d),d=0}else{if(t)return null;if(a)return null;t=!0,d+=r.ones[f]}else d+=parseInt(f,10)}else{if(g)return null;g=!0,s+=d,d=0,t=!1,m=.1}return d&&(s+=(d||1)*m),s*=u};t.exports=a},{"./numbers.js":87}],89:[function(e,t){"use strict";var r={Temperature:{"°C":"Celsius","°F":"Fahrenheit",K:"Kelvin","°Ré":"Reaumur","°N":"Newton","°Ra":"Rankine"},Volume:{"m³":"cubic meter","dm³":"cubic decimeter","cm³":"cubic centimeter",l:"liter",dl:"deciliter",cl:"centiliter",ml:"milliliter","in³":"cubic inch","ft³":"cubic foot","yd³":"cubic yard",gal:"gallon",bbl:"petroleum barrel",pt:"pint"},Distance:{km:"kilometer",m:"meter",dm:"decimeter",cm:"centimeter",mm:"millimeter",mi:"mile","in":"inch",ft:"foot",feet:"foot",yd:"yard"},Weight:{t:"tonne",kg:"kilogram",hg:"hectogram",g:"gram",dg:"decigram",cg:"centigram",mg:"milligram","µg":"microgram",carat:"carat",grain:"grain",oz:"ounce",lb:"pound",ton:"tonne",st:"stone"},Area:{"km²":"square kilometer","m²":"square meter","dm²":"square decimeter","cm²":"square centimeter","mm²":"square millimeter",ha:"hectare",ca:"centiare","mile²":"square mile","in²":"square inch","yd²":"square yard","ft²":"square foot",acre:"acre"},Frequency:{Hz:"hertz"},Speed:{"km/h":"kilometer per hour",kmph:"kilometer per hour",mps:"meter per second","m/s":"meter per second",mph:"mile per hour","mi/h":"mile per hour",knot:"knot"},Data:{b:"bit",B:"byte",KB:"kilobyte",Kb:"kilobyte",MB:"megabyte",Mb:"megabyte",GB:"gigabyte",Gb:"gigabyte",TB:"terabyte",Tb:"terabyte",PB:"petabyte",Pb:"petabyte",EB:"exabyte",Eb:"exabyte",ZB:"zettabyte",Zb:"zettabyte",YB:"yottabyte",Yb:"yottabyte"},Energy:{J:"joule",Pa:"pascal",bar:"bar",W:"watt",N:"newton",Wb:"weber",T:"tesla",H:"henry",C:"coulomb",V:"volt",F:"farad",S:"siemens",O:"ohm",lx:"lux",lm:"lumen"},Time:{year:"year",week:"week",day:"day",h:"hour",min:"minute",s:"second",ms:"millisecond","µs":"microsecond",nanosecond:"nanosecond",picosecond:"picosecond",femtosecond:"femtosecond",attosecond:"attosecond"},Money:{dollar:"currency",cent:"currency",penny:"currency",dime:"currency",dinar:"currency",euro:"currency",EU:"currency",lira:"currency",pound:"currency",GBP:"currency",pence:"currency",peso:"currency",sterling:"currency",rand:"currency",rouble:"currency",shekel:"currency",yen:"currency",yuan:"currency",franc:"currency",rupee:"currency",shilling:"currency",won:"currency",krona:"currency",dirham:"currency","€":"currency",$:"currency","¥":"currency","£":"currency",real:"currency",USD:"currency",AUD:"currency",CAD:"currency",BRL:"currency",EUR:"currency",CNY:"currency",EGP:"currency",MXN:"currency"}};t.exports=Object.keys(r).reduce(function(e,t){return Object.keys(r[t]).forEac
6h(function(n){e[n]={name:r[t][n],category:t},e[r[t][n]]={name:r[t][n],category:t}}),e},{})},{}],90:[function(e,t){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=e("../noun.js"),s=e("./to_number.js"),u=e("./units.js"),l=e("./numbers.js"),c=function(e){function t(e,a){r(this,t);var i=n(this,Object.getPrototypeOf(t).call(this,e));return i.tag=a,i.pos.Value=!0,i.number=null,i.unit=null,i.unit_name=null,i.measurement=null,i.parse(),i}return a(t,e),i(t,[{key:"is_unit",value:function(e){return u[e]?!0:(e=e.toLowerCase(),l.prefixes[e]?!0:(e=e.replace(/s$/),u[e]?!0:!1))}},{key:"parse",value:function(){for(var e=this.text.toLowerCase().split(" "),t={minus:!0,point:!0},r="",n=0;n<e.length;n++){var a=e[n];l.ones[a]||l.teens[a]||l.tens[a]||l.multiples[a]||t[a]||a.match(/[0-9]/)?r+=" "+a:this.is_unit(a)&&(this.unit=a,u[a]&&(this.measurement=u[a].category,this.unit_name=u[a].name))}this.number=s(r)}}]),t}(o);c.fn=c.prototype,t.exports=c},{"../noun.js":74,"./numbers.js":87,"./to_number.js":88,"./units.js":89}],91:[function(e,t){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=e("./is_acronym"),i=e("../match/match_term"),o=e("../match/syntax_parse"),s=e("./implied"),u=function(){function e(t,n){r(this,e),(null===t||void 0===t)&&(t=""),t=""+t,this.text=t,this.normal="",this.expansion="",this.rebuild(),this.reason="";var a={Determiner:"Determiner",Conjunction:"Conjunction",Preposition:"Preposition",Posessive:"Posessive",Expression:"Expression",Condition:"Condition"};this.pos={},this.tag=a[n]||"?",a[n]&&(this.pos[a[n]]=!0)}return n(e,[{key:"rebuild",value:function(){this.text=this.text||"",this.text=this.text.trim(),this.normal="",this.normalize(),this.expansion=s(this.normal)}},{key:"changeTo",value:function(e){this.text=e,this.rebuild()}},{key:"match",value:function(e,t){var r=o([e]);return i(this,r[0],t)}},{key:"root",value:function(){return this.normal}},{key:"has_comma",value:function(){return this.text.match(/,$/)?!0:!1}},{key:"has_abbreviation",value:function(){return this.text.match(/[a-z]'[a-z][a-z]?$/)?!0:!1}},{key:"is_capital",value:function(){return this.text.match(/[A-Z][a-z]/)?!0:!1}},{key:"is_word",value:function(){return this.text.match(/^\[.*?\]\??$/)?!1:this.text.match(/[a-z|0-9]/i)?!0:!1}},{key:"is_acronym",value:function(){return a(this.text)}},{key:"normalize",value:function(){var e=this.text||"";return e=e.toLowerCase(),e=e.replace(/[,\.!:;\?\(\)^$]/,""),e=e.replace(/([a-z])\-([a-z])/,"$1 $2"),e=e.replace(/’/g,"'"),e=e.replace(/"/g,""),e=e.replace(/[\u2018\u2019\u201A\u201B\u2032\u2035]+/g,"'"),e=e.replace(/[\u201C\u201D\u201E\u201F\u2033\u2036]+/g,'"'),e.match(/[a-z0-9]/i)?(this.normal=e,this.normal):""}}]),e}();u.fn=u.prototype,t.exports=u},{"../match/match_term":26,"../match/syntax_parse":28,"./implied":65,"./is_acronym":66}],92:[function(e,t){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},n=e("./to_actor"),a=e("./to_infinitive"),i=e("./from_infinitive"),o=e("../../../data/irregular_verb
6s"),s=e("./predict_form.js"),u=function(e,t){return e.infinitive?(e.gerund||(e.gerund=e.infinitive.match(/e$/)?e.infinitive.replace(/e$/,"ing"):e.infinitive+"ing"),void 0===e.actor&&(e.actor=n(e.infinitive)),e.present||(e.present=e.infinitive+"s"),e.past||(e.past=e.infinitive.match(/e$/)?e.infinitive+"d":e.infinitive+"ed"),t&&Object.keys(e).forEach(function(r){e[r]=t+e[r]}),e.future||(e.future="will "+e.infinitive),e.perfect||(e.perfect="have "+(e.participle||e.past)),e.pluperfect||(e.pluperfect="had "+e.past),e.future_perfect||(e.future_perfect="will have "+e.past),e):e},l=function c(e){if(void 0===e)return{};var t=RegExp("^(.*?) (in|out|on|off|behind|way|with|of|do|away|across|ahead|back|over|under|together|apart|up|upon|aback|down|about|before|after|around|to|forth|round|through|along|onto)$","i");if(e.match(t)){var n=function(){var r=e.match(t,""),n=r[1],a=r[2],i=c(n);return Object.keys(i).forEach(function(e){i[e]&&(i[e]+=" "+a)}),{v:i}}();if("object"===(void 0===n?"undefined":r(n)))return n.v}e=e.replace(/^had /i,""),e=e.replace(/^have /i,""),e=e.replace(/^will have /i,""),e=e.replace(/^will /i,"");var l="",p=e.match(/^(over|under|re|anti|full)[- ]?([^aeiou][a-z]*)/i);p&&(l=p[1],e=p[2]);var f=s(e)||"infinitive",h=a(e,f)||"",d=o[e]||o[h]||{};d=Object.assign({},d);var m=i(h);return Object.keys(m).forEach(function(e){d[e]||(d[e]=m[e])}),u(d,l)};t.exports=l},{"../../../data/irregular_verbs":11,"./from_infinitive":93,"./predict_form.js":94,"./to_actor":96,"./to_infinitive":97}],93:[function(e,t){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},n=[{reg:/(eave)$/i,repl:{pr:"$1s",pa:"$1d",gr:"eaving",ar:"$1r"}},{reg:/(end)$/i,repl:{pr:"$1s",pa:"ent",gr:"$1ing",ar:"$1er"}},{reg:/(ide)$/i,repl:{pr:"$1s",pa:"ode",gr:"iding",ar:"ider"}},{reg:/(ake)$/i,repl:{pr:"$1s",pa:"ook",gr:"aking",ar:"$1r"}},{reg:/(eed)$/i,repl:{pr:"$1s",pa:"$1ed",gr:"$1ing",ar:"$1er"}},{reg:/(e)(ep)$/i,repl:{pr:"$1$2s",pa:"$1pt",gr:"$1$2ing",ar:"$1$2er"}},{reg:/(a[tg]|i[zn]|ur|nc|gl|is)e$/i,repl:{pr:"$1es",pa:"$1ed",gr:"$1ing",prt:"$1en"}},{reg:/([i|f|rr])y$/i,repl:{pr:"$1ies",pa:"$1ied",gr:"$1ying"}},{reg:/([td]er)$/i,repl:{pr:"$1s",pa:"$1ed",gr:"$1ing"}},{reg:/([bd]l)e$/i,repl:{pr:"$1es",pa:"$1ed",gr:"$1ing"}},{reg:/(ish|tch|ess)$/i,repl:{pr:"$1es",pa:"$1ed",gr:"$1ing"}},{reg:/(ion|end|e[nc]t)$/i,repl:{pr:"$1s",pa:"$1ed",gr:"$1ing"}},{reg:/(om)e$/i,repl:{pr:"$1es",pa:"ame",gr:"$1ing"}},{reg:/([aeiu])([pt])$/i,repl:{pr:"$1$2s",pa:"$1$2",gr:"$1$2$2ing"}},{reg:/(er)$/i,repl:{pr:"$1s",pa:"$1ed",gr:"$1ing"}},{reg:/(en)$/i,repl:{pr:"$1s",pa:"$1ed",gr:"$1ing"}},{reg:/(..)(ow)$/i,repl:{pr:"$1$2s",pa:"$1ew",gr:"$1$2ing",prt:"$1$2n"}},{reg:/(..)([cs]h)$/i,repl:{pr:"$1$2es",pa:"$1$2ed",gr:"$1$2ing"}},{reg:/([^aeiou][ou])(g|d)$/i,repl:{pr:"$1$2s",pa:"$1$2$2ed",gr:"$1$2$2ing"}}],a={pr:"present",pa:"past",gr:"gerund",prt:"participle",ar:"actor"},i=function(e){var t={infinitive:e};if(!e||"string"!=typeof e)return t;for(var i=function(r){return e.match(n[r].reg)?(Object.keys(n[r].repl).forEach(function(i){t[a[i]]=e.replace(n[r].reg,n[r].repl[i])}),{v:t}):void 0},o=0;o<n.length;o++){var s=i(o);if("object"===(void 0===s?"undefined":r(s)))return s.v}return t};t.exports=i},{}],94:[function(e,t){"use strict";var r=e("../../../fns.js"),n=e("./suffix_rules"),a=e("../../../data/irregular_verbs"),i=Object.getOwnPropertyNames(a).reduce(function(e,t){return Object.getOwnPropertyNames(a[t]).forEach(function(r){e[a[t][r]]=r}),e},{}),o=function(e){if(a[e])return"infinitive";if(i[e])return i[e];if(e.match(/will ha(ve|d) [a-z]{2}/))return"future_perfect";if(e.match(/will [a-z]{2}/))return"future";if(e.match(/had [a-z]{2}/))return"pluperfect";if(e.match(/have [a-z]{2}/))return"perfect";if(e.match(/..erer$/))return"actor";if(e.match(/[^aeiou]ing$/))return"gerund";for(var t=Object.keys(n),o=0;o<t.length;o++)if(r.endsWith(e,t[o])&&t[o].length<e.length)return n[t[o]];return"infinitive"};t.exports=o},{"../../../data/irregular_verbs":11,"../../../fns.js":23,"./suffix_rules":95}],95:[function(e,t){"use strict";for(var r={gerund:[],infinitive:["ate","ize","tion","rify","then","ress","ify","age","nce","ect","ise","ine","ish","ace","ash","ure","tch","end","ack","and","ute","ade","ock","ite","ase","ose","use","ive","int","nge","lay","est","ain","ant","eed","er","le"],participle:["own","unk","ung","en"],past:["ed","lt","nt","pt","ew","ld"],present:["rks","cks","
6nks","ngs","mps","tes","zes","ers","les","acks","ends","ands","ocks","lays","eads","lls","els","ils","ows","nds","ays","ams","ars","ops","ffs","als","urs","lds","ews","ips","es","ts","ns","s"]},n={},a=Object.keys(r),i=a.length,o=0;i>o;o++)for(var s=r[a[o]].length,u=0;s>u;u++)n[r[a[o]][u]]=a[o];t.exports=n},{}],96:[function(e,t){"use strict";var r=function(e){e=e||"";var t={tie:"tier",dream:"dreamer",sail:"sailer",run:"runner",rub:"rubber",begin:"beginner",win:"winner",claim:"claimant",deal:"dealer",spin:"spinner"},r={aid:1,fail:1,appear:1,happen:1,seem:1,"try":1,say:1,marry:1,be:1,forbid:1,understand:1,bet:1},n=[{reg:/e$/i,repl:"er"},{reg:/([aeiou])([mlgp])$/i,repl:"$1$2$2er"},{reg:/([rlf])y$/i,repl:"$1ier"},{reg:/^(.?.[aeiou])t$/i,repl:"$1tter"}];if(r.hasOwnProperty(e))return null;if(t.hasOwnProperty(e))return t[e];for(var a=0;a<n.length;a++)if(e.match(n[a].reg))return e.replace(n[a].reg,n[a].repl);return e+"er"};t.exports=r},{}],97:[function(e,t){"use strict";var r=e("../../../data/irregular_verbs"),n=Object.getOwnPropertyNames(r).reduce(function(e,t){return Object.getOwnPropertyNames(r[t]).forEach(function(n){e[r[t][n]]=t}),e},{}),a={participle:[{reg:/own$/i,to:"ow"},{reg:/(.)un([g|k])$/i,to:"$1in$2"}],actor:[{reg:/(er)er$/i,to:"$1"}],present:[{reg:/(ies)$/i,to:"y"},{reg:/(tch|sh)es$/i,to:"$1"},{reg:/(ss)es$/i,to:"$1"},{reg:/([tzlshicgrvdnkmu])es$/i,to:"$1e"},{reg:/(n[dtk]|c[kt]|[eo]n|i[nl]|er|a[ytrl])s$/i,to:"$1"},{reg:/(ow)s$/i,to:"$1"},{reg:/(op)s$/i,to:"$1"},{reg:/([eirs])ts$/i,to:"$1t"},{reg:/(ll)s$/i,to:"$1"},{reg:/(el)s$/i,to:"$1"},{reg:/(ip)es$/i,to:"$1e"},{reg:/ss$/i,to:"ss"},{reg:/s$/i,to:""}],gerund:[{reg:/pping$/i,to:"p"},{reg:/lling$/i,to:"ll"},{reg:/tting$/i,to:"t"},{reg:/ssing$/i,to:"ss"},{reg:/gging$/i,to:"g"},{reg:/([^aeiou])ying$/i,to:"$1y"},{reg:/(i.)ing$/i,to:"$1e"},{reg:/(u[rtcb]|[bdtpkg]l|n[cg]|a[gdkvtc]|[ua]s|[dr]g|yz|o[rlsp]|cre)ing$/i,to:"$1e"},{reg:/(ch|sh)ing$/i,to:"$1"},{reg:/(..)ing$/i,to:"$1"}],past:[{reg:/(ued)$/i,to:"ue"},{reg:/(e|i)lled$/i,to:"$1ll"},{reg:/(sh|ch)ed$/i,to:"$1"},{reg:/(tl|gl)ed$/i,to:"$1e"},{reg:/(ss)ed$/i,to:"$1"},{reg:/pped$/i,to:"p"},{reg:/tted$/i,to:"t"},{reg:/gged$/i,to:"g"},{reg:/(h|ion|n[dt]|ai.|[cs]t|pp|all|ss|tt|int|ail|ld|en|oo.|er|k|pp|w|ou.|rt|ght|rm)ed$/i,to:"$1"},{reg:/(..[^aeiou])ed$/i,to:"$1e"},{reg:/ied$/i,to:"y"},{reg:/(.o)ed$/i,to:"$1o"},{reg:/(.i)ed$/i,to:"$1"},{reg:/([rl])ew$/i,to:"$1ow"},{reg:/([pl])t$/i,to:"$1t"}]},i=function(e,t){if(n[e])return n[e];if("infinitive"===t)return e;for(var r=a[t]||[],i=0;i<r.length;i++)if(e.match(r[i].reg))return e.replace(r[i].reg,r[i].to);return e};t.exports=i},{"../../../data/irregular_verbs":11}],98:[function(e,t){"use strict";var r=function(e,t){var r={is:"isn't",are:"aren't",was:"wasn't",will:"won't",had:"hadn't",did:"didn't",would:"wouldn't",could:"couldn't",should:"shouldn't",can:"can't",must:"mustn't",have:"hasn't",does:"doesn't","didn't":"did","doesn't":"does","wouldn't":"would","couldn't":"could","shouldn't":"should","can't":"can","won't":"will","mustn't":"must","shan't":"shall",shant:"shall",not:"","don't":""};if(r[e.normal])return r[e.normal];var n=e.normal.split(" ");return n.length>1&&r[n[0]]?r[n[0]]+" "+n.slice(1,n.length).join(" "):(t=t||e.conjugation(),"PastTense"===t?"didn't "+e.conjugate().infinitive:"PresentTense"===t?"doesn't "+e.conjugate().infinitive:"Gerund"===t?"not "+e.text:"Actor"===t?"non-"+e.text:"Infinitive"===t?"not "+e.text:e.text)};t.exports=r},{}],99:[function(e,t){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=e("../term.js"),s=e("./conjugate/conjugate.js"),u=e("./negate.js"),l={infinitive:"Infinitive",present:"PresentTense",past:"PastTense",gerund:"Gerund",actor:"Actor",future:"FutureTense",pluperfect:"PluperfectTense",perfect:"PerfectTense",PerfectTense:"PerfectTense",PluperfectTense:"PluperfectTense",FutureTense:"FutureTense",PastTense:"PastTense",PresentTense:"PresentTense"}
6,c=function(e){function t(e,a){r(this,t);var i=n(this,Object.getPrototypeOf(t).call(this,e));return i.tag=a,i.pos.Verb=!0,i.conjugations={},i.pos[a]=!0,a&&l[a]&&(i.conjugations[a]=i.normal),i}return a(t,e),i(t,[{key:"root",value:function(){return this.conjugate().infinitive}},{key:"conjugation",value:function(){this.conjugations=this.conjugate();for(var e=Object.keys(this.conjugations),t=0;t<e.length;t++)if(this.conjugations[e[t]]===this.normal)return l[e[t]];return l[predict(this.normal)]}},{key:"conjugate",value:function(){return this.conjugations=s(this.normal),this.conjugations}},{key:"to_past",value:function(){var e="past";return this.conjugations[e]||this.conjugate(this.normal),this.tag=l[e],this.changeTo(this.conjugations[e]),this.conjugations[e]}},{key:"to_present",value:function(){var e="present";return this.conjugations[e]||this.conjugate(this.normal),this.tag=l[e],this.changeTo(this.conjugations[e]),this.conjugations[e]}},{key:"to_future",value:function(){var e="future";return this.conjugations[e]||this.conjugate(this.normal),this.tag=l[e],this.changeTo(this.conjugations[e]),this.conjugations[e]}},{key:"isNegative",value:function(){var e=this.normal;return e.match(/(n't|\bnot\b)/)?!0:!1}},{key:"negate",value:function(e){return this.isNegative()?this.text:(this.changeTo(u(this,e)),this.text)}}]),t}(o);c.fn=c.prototype,t.exports=c},{"../term.js":91,"./conjugate/conjugate.js":92,"./negate.js":98}],100:[function(e,t){"use strict";var r=e("../data/abbreviations").abbreviations,n=function(e){for(var t=[],n=e.split(/(\S.+?[.\?!])(?=\s+|$|")/g),a=RegExp("\\b("+r.join("|")+")[.!?] ?$","i"),i=RegExp("[ |.][A-Z].?$","i"),o=RegExp("\\.\\.\\.*$"),s=n.length,u=0;s>u;u++)n[u]&&(n[u]=n[u].replace(/^\s+|\s+$/g,""),n[u+1]&&(n[u].match(a)||n[u].match(i)||n[u].match(o))?n[u+1]=((n[u]||"")+" "+(n[u+1]||"")).replace(/ +/g," "):n[u]&&n[u].length>0&&(t.push(n[u]),n[u]=""));return 0===t.length?[e]:t};t.exports=n},{"../data/abbreviations":2}],101:[function(e,t){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=e("./sentence_parser.js"),i=e("../sentence/sentence.js"),o=e("../sentence/question/question.js"),s=e("../sentence/statement/statement.js"),u=e("../fns.js"),l=function(){function e(t,n){r(this,e),n=n||{};var u=this;this.raw_text=t||"",this.sentences=a(t).map(function(e){var t=e.slice(-1);return"?"===t?new o(e,n):"."===t||"!"===t?new s(e,n):new i(e,n)}),this.contractions={expand:function(){return u.sentences.map(function(e){return e.contractions.expand()})},contract:function(){return u.sentences.map(function(e){return e.contractions.contract()})}}}return n(e,[{key:"text",value:function(){var e=this.sentences.map(function(e){return e.text()});return u.flatten(e).join(" ")}},{key:"normalized",value:function(){var e=this.sentences.map(function(e){return e.normalized()});return u.flatten(e).join(" ")}},{key:"root",value:function(){var e=this.sentences.map(function(e){return e.root()});return u.flatten(e).join(" ")}},{key:"terms",value:function(){var e=this.sentences.map(function(e){return e.terms});return u.flatten(e)}},{key:"tags",value:function(){return this.sentences.map(function(e){return e.tags()})}},{key:"match",value:function(e,t){for(var r=[],n=0;n<this.sentences.length;n++)r=r.concat(this.sentences[n].match(e,t));return r}},{key:"replace",value:function(e,t,r){for(var n=0;n<this.sentences.length;n++)this.sentences[n].replace(e,t,r);return this}},{key:"to_past",value:function(){return this.sentences.map(function(e){return e.to_past()})}},{key:"to_present",value:function(){return this.sentences.map(function(e){return e.to_present()})}},{key:"to_future",value:function(){return this.sentences.map(function(e){return e.to_future()})}},{key:"negate",value:function(){return this.sentences.map(function(e){return e.negate()})}},{key:"people",value:function(){for(var e=[],t=0;t<this.sentences.length;t++)e=e.concat(this.sentences[t].people());return e}},{key:"places",value:function(){for(var e=[],t=0;t<this.sentences.length;t++)e=e.concat(this.sentences[t].places());return e}},{key:"organizations",value:function(){for(var e=[],t=0;t<this.sentences.length;t++)e=e.concat(this.sentences[t].organizations());return e}},{key:"dates",value:function(){for(var e=[],t=0;t<this.sentences.length;t++)e=e.concat(this.sentences[t].dates());return e}},{key:"values",value:function(){for(var e=[],t=0;t<this.sentences.length;t++)e=e.concat(this.sentences[t].values());return e}}]),e}();l.fn=l.prototype,t.exports=l},{"../fns.js":23,"../sentence/question/question.js":52,"../sentence/sentence.js":55,"../sentence/statement/statement.js":56,"./sentence_parser.js":100}]},{},[1])(1)});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.