12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722 |
- // generatedy by JSX compiler 0.9.89 (2014-05-20 06:01:03 +0900; 8e8c6105f36f3dfe440ea026a3c93a3444977102)
- var JSX = {};
- (function (JSX) {
- /**
- * extends the class
- */
- function $__jsx_extend(derivations, base) {
- var ctor = function () {};
- ctor.prototype = base.prototype;
- var proto = new ctor();
- for (var i in derivations) {
- derivations[i].prototype = proto;
- }
- }
- /**
- * copies the implementations from source interface to target
- */
- function $__jsx_merge_interface(target, source) {
- for (var k in source.prototype)
- if (source.prototype.hasOwnProperty(k))
- target.prototype[k] = source.prototype[k];
- }
- /**
- * defers the initialization of the property
- */
- function $__jsx_lazy_init(obj, prop, func) {
- function reset(obj, prop, value) {
- delete obj[prop];
- obj[prop] = value;
- return value;
- }
- Object.defineProperty(obj, prop, {
- get: function () {
- return reset(obj, prop, func());
- },
- set: function (v) {
- reset(obj, prop, v);
- },
- enumerable: true,
- configurable: true
- });
- }
- var $__jsx_imul = Math.imul;
- if (typeof $__jsx_imul === "undefined") {
- $__jsx_imul = function (a, b) {
- var ah = (a >>> 16) & 0xffff;
- var al = a & 0xffff;
- var bh = (b >>> 16) & 0xffff;
- var bl = b & 0xffff;
- return ((al * bl) + (((ah * bl + al * bh) << 16) >>> 0)|0);
- };
- }
- /**
- * fused int-ops with side-effects
- */
- function $__jsx_ipadd(o, p, r) {
- return o[p] = (o[p] + r) | 0;
- }
- function $__jsx_ipsub(o, p, r) {
- return o[p] = (o[p] - r) | 0;
- }
- function $__jsx_ipmul(o, p, r) {
- return o[p] = $__jsx_imul(o[p], r);
- }
- function $__jsx_ipdiv(o, p, r) {
- return o[p] = (o[p] / r) | 0;
- }
- function $__jsx_ipmod(o, p, r) {
- return o[p] = (o[p] % r) | 0;
- }
- function $__jsx_ippostinc(o, p) {
- var v = o[p];
- o[p] = (v + 1) | 0;
- return v;
- }
- function $__jsx_ippostdec(o, p) {
- var v = o[p];
- o[p] = (v - 1) | 0;
- return v;
- }
- /**
- * non-inlined version of Array#each
- */
- function $__jsx_forEach(o, f) {
- var l = o.length;
- for (var i = 0; i < l; ++i)
- f(o[i]);
- }
- /*
- * global functions, renamed to avoid conflict with local variable names
- */
- var $__jsx_parseInt = parseInt;
- var $__jsx_parseFloat = parseFloat;
- function $__jsx_isNaN(n) { return n !== n; }
- var $__jsx_isFinite = isFinite;
- var $__jsx_encodeURIComponent = encodeURIComponent;
- var $__jsx_decodeURIComponent = decodeURIComponent;
- var $__jsx_encodeURI = encodeURI;
- var $__jsx_decodeURI = decodeURI;
- var $__jsx_ObjectToString = Object.prototype.toString;
- var $__jsx_ObjectHasOwnProperty = Object.prototype.hasOwnProperty;
- /*
- * profiler object, initialized afterwards
- */
- function $__jsx_profiler() {
- }
- /*
- * public interface to JSX code
- */
- JSX.require = function (path) {
- var m = $__jsx_classMap[path];
- return m !== undefined ? m : null;
- };
- JSX.profilerIsRunning = function () {
- return $__jsx_profiler.getResults != null;
- };
- JSX.getProfileResults = function () {
- return ($__jsx_profiler.getResults || function () { return {}; })();
- };
- JSX.postProfileResults = function (url, cb) {
- if ($__jsx_profiler.postResults == null)
- throw new Error("profiler has not been turned on");
- return $__jsx_profiler.postResults(url, cb);
- };
- JSX.resetProfileResults = function () {
- if ($__jsx_profiler.resetResults == null)
- throw new Error("profiler has not been turned on");
- return $__jsx_profiler.resetResults();
- };
- JSX.DEBUG = false;
- var GeneratorFunction$0 =
- (function () {
- try {
- return Function('import {GeneratorFunction} from "std:iteration"; return GeneratorFunction')();
- } catch (e) {
- return function GeneratorFunction () {};
- }
- })();
- var __jsx_generator_object$0 =
- (function () {
- function __jsx_generator_object() {
- this.__next = 0;
- this.__loop = null;
- this.__seed = null;
- this.__value = undefined;
- this.__status = 0; // SUSPENDED: 0, ACTIVE: 1, DEAD: 2
- }
- __jsx_generator_object.prototype.next = function (seed) {
- switch (this.__status) {
- case 0:
- this.__status = 1;
- this.__seed = seed;
- // go next!
- this.__loop(this.__next);
- var done = false;
- if (this.__next != -1) {
- this.__status = 0;
- } else {
- this.__status = 2;
- done = true;
- }
- return { value: this.__value, done: done };
- case 1:
- throw new Error("Generator is already running");
- case 2:
- throw new Error("Generator is already finished");
- default:
- throw new Error("Unexpected generator internal state");
- }
- };
- return __jsx_generator_object;
- }());
- function Among(s, substring_i, result) {
- this.s_size = s.length;
- this.s = s;
- this.substring_i = substring_i;
- this.result = result;
- this.method = null;
- this.instance = null;
- };
- function Among$0(s, substring_i, result, method, instance) {
- this.s_size = s.length;
- this.s = s;
- this.substring_i = substring_i;
- this.result = result;
- this.method = method;
- this.instance = instance;
- };
- $__jsx_extend([Among, Among$0], Object);
- function Stemmer() {
- };
- $__jsx_extend([Stemmer], Object);
- function BaseStemmer() {
- var current$0;
- var cursor$0;
- var limit$0;
- this.cache = ({ });
- current$0 = this.current = "";
- cursor$0 = this.cursor = 0;
- limit$0 = this.limit = current$0.length;
- this.limit_backward = 0;
- this.bra = cursor$0;
- this.ket = limit$0;
- };
- $__jsx_extend([BaseStemmer], Stemmer);
- BaseStemmer.prototype.setCurrent$S = function (value) {
- var current$0;
- var cursor$0;
- var limit$0;
- current$0 = this.current = value;
- cursor$0 = this.cursor = 0;
- limit$0 = this.limit = current$0.length;
- this.limit_backward = 0;
- this.bra = cursor$0;
- this.ket = limit$0;
- };
- function BaseStemmer$setCurrent$LBaseStemmer$S($this, value) {
- var current$0;
- var cursor$0;
- var limit$0;
- current$0 = $this.current = value;
- cursor$0 = $this.cursor = 0;
- limit$0 = $this.limit = current$0.length;
- $this.limit_backward = 0;
- $this.bra = cursor$0;
- $this.ket = limit$0;
- };
- BaseStemmer.setCurrent$LBaseStemmer$S = BaseStemmer$setCurrent$LBaseStemmer$S;
- BaseStemmer.prototype.getCurrent$ = function () {
- return this.current;
- };
- function BaseStemmer$getCurrent$LBaseStemmer$($this) {
- return $this.current;
- };
- BaseStemmer.getCurrent$LBaseStemmer$ = BaseStemmer$getCurrent$LBaseStemmer$;
- BaseStemmer.prototype.copy_from$LBaseStemmer$ = function (other) {
- this.current = other.current;
- this.cursor = other.cursor;
- this.limit = other.limit;
- this.limit_backward = other.limit_backward;
- this.bra = other.bra;
- this.ket = other.ket;
- };
- function BaseStemmer$copy_from$LBaseStemmer$LBaseStemmer$($this, other) {
- $this.current = other.current;
- $this.cursor = other.cursor;
- $this.limit = other.limit;
- $this.limit_backward = other.limit_backward;
- $this.bra = other.bra;
- $this.ket = other.ket;
- };
- BaseStemmer.copy_from$LBaseStemmer$LBaseStemmer$ = BaseStemmer$copy_from$LBaseStemmer$LBaseStemmer$;
- BaseStemmer.prototype.in_grouping$AIII = function (s, min, max) {
- var ch;
- var $__jsx_postinc_t;
- if (this.cursor >= this.limit) {
- return false;
- }
- ch = this.current.charCodeAt(this.cursor);
- if (ch > max || ch < min) {
- return false;
- }
- ch -= min;
- if ((s[ch >>> 3] & 0x1 << (ch & 0x7)) === 0) {
- return false;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t + 1) | 0, $__jsx_postinc_t);
- return true;
- };
- function BaseStemmer$in_grouping$LBaseStemmer$AIII($this, s, min, max) {
- var ch;
- var $__jsx_postinc_t;
- if ($this.cursor >= $this.limit) {
- return false;
- }
- ch = $this.current.charCodeAt($this.cursor);
- if (ch > max || ch < min) {
- return false;
- }
- ch -= min;
- if ((s[ch >>> 3] & 0x1 << (ch & 0x7)) === 0) {
- return false;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t + 1) | 0, $__jsx_postinc_t);
- return true;
- };
- BaseStemmer.in_grouping$LBaseStemmer$AIII = BaseStemmer$in_grouping$LBaseStemmer$AIII;
- BaseStemmer.prototype.in_grouping_b$AIII = function (s, min, max) {
- var ch;
- var $__jsx_postinc_t;
- if (this.cursor <= this.limit_backward) {
- return false;
- }
- ch = this.current.charCodeAt(this.cursor - 1);
- if (ch > max || ch < min) {
- return false;
- }
- ch -= min;
- if ((s[ch >>> 3] & 0x1 << (ch & 0x7)) === 0) {
- return false;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- return true;
- };
- function BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, s, min, max) {
- var ch;
- var $__jsx_postinc_t;
- if ($this.cursor <= $this.limit_backward) {
- return false;
- }
- ch = $this.current.charCodeAt($this.cursor - 1);
- if (ch > max || ch < min) {
- return false;
- }
- ch -= min;
- if ((s[ch >>> 3] & 0x1 << (ch & 0x7)) === 0) {
- return false;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- return true;
- };
- BaseStemmer.in_grouping_b$LBaseStemmer$AIII = BaseStemmer$in_grouping_b$LBaseStemmer$AIII;
- BaseStemmer.prototype.out_grouping$AIII = function (s, min, max) {
- var ch;
- var $__jsx_postinc_t;
- if (this.cursor >= this.limit) {
- return false;
- }
- ch = this.current.charCodeAt(this.cursor);
- if (ch > max || ch < min) {
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t + 1) | 0, $__jsx_postinc_t);
- return true;
- }
- ch -= min;
- if ((s[ch >>> 3] & 0X1 << (ch & 0x7)) === 0) {
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t + 1) | 0, $__jsx_postinc_t);
- return true;
- }
- return false;
- };
- function BaseStemmer$out_grouping$LBaseStemmer$AIII($this, s, min, max) {
- var ch;
- var $__jsx_postinc_t;
- if ($this.cursor >= $this.limit) {
- return false;
- }
- ch = $this.current.charCodeAt($this.cursor);
- if (ch > max || ch < min) {
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t + 1) | 0, $__jsx_postinc_t);
- return true;
- }
- ch -= min;
- if ((s[ch >>> 3] & 0X1 << (ch & 0x7)) === 0) {
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t + 1) | 0, $__jsx_postinc_t);
- return true;
- }
- return false;
- };
- BaseStemmer.out_grouping$LBaseStemmer$AIII = BaseStemmer$out_grouping$LBaseStemmer$AIII;
- BaseStemmer.prototype.out_grouping_b$AIII = function (s, min, max) {
- var ch;
- var $__jsx_postinc_t;
- if (this.cursor <= this.limit_backward) {
- return false;
- }
- ch = this.current.charCodeAt(this.cursor - 1);
- if (ch > max || ch < min) {
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- return true;
- }
- ch -= min;
- if ((s[ch >>> 3] & 0x1 << (ch & 0x7)) === 0) {
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- return true;
- }
- return false;
- };
- function BaseStemmer$out_grouping_b$LBaseStemmer$AIII($this, s, min, max) {
- var ch;
- var $__jsx_postinc_t;
- if ($this.cursor <= $this.limit_backward) {
- return false;
- }
- ch = $this.current.charCodeAt($this.cursor - 1);
- if (ch > max || ch < min) {
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- return true;
- }
- ch -= min;
- if ((s[ch >>> 3] & 0x1 << (ch & 0x7)) === 0) {
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- return true;
- }
- return false;
- };
- BaseStemmer.out_grouping_b$LBaseStemmer$AIII = BaseStemmer$out_grouping_b$LBaseStemmer$AIII;
- BaseStemmer.prototype.in_range$II = function (min, max) {
- var ch;
- var $__jsx_postinc_t;
- if (this.cursor >= this.limit) {
- return false;
- }
- ch = this.current.charCodeAt(this.cursor);
- if (ch > max || ch < min) {
- return false;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t + 1) | 0, $__jsx_postinc_t);
- return true;
- };
- function BaseStemmer$in_range$LBaseStemmer$II($this, min, max) {
- var ch;
- var $__jsx_postinc_t;
- if ($this.cursor >= $this.limit) {
- return false;
- }
- ch = $this.current.charCodeAt($this.cursor);
- if (ch > max || ch < min) {
- return false;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t + 1) | 0, $__jsx_postinc_t);
- return true;
- };
- BaseStemmer.in_range$LBaseStemmer$II = BaseStemmer$in_range$LBaseStemmer$II;
- BaseStemmer.prototype.in_range_b$II = function (min, max) {
- var ch;
- var $__jsx_postinc_t;
- if (this.cursor <= this.limit_backward) {
- return false;
- }
- ch = this.current.charCodeAt(this.cursor - 1);
- if (ch > max || ch < min) {
- return false;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- return true;
- };
- function BaseStemmer$in_range_b$LBaseStemmer$II($this, min, max) {
- var ch;
- var $__jsx_postinc_t;
- if ($this.cursor <= $this.limit_backward) {
- return false;
- }
- ch = $this.current.charCodeAt($this.cursor - 1);
- if (ch > max || ch < min) {
- return false;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- return true;
- };
- BaseStemmer.in_range_b$LBaseStemmer$II = BaseStemmer$in_range_b$LBaseStemmer$II;
- BaseStemmer.prototype.out_range$II = function (min, max) {
- var ch;
- var $__jsx_postinc_t;
- if (this.cursor >= this.limit) {
- return false;
- }
- ch = this.current.charCodeAt(this.cursor);
- if (! (ch > max || ch < min)) {
- return false;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t + 1) | 0, $__jsx_postinc_t);
- return true;
- };
- function BaseStemmer$out_range$LBaseStemmer$II($this, min, max) {
- var ch;
- var $__jsx_postinc_t;
- if ($this.cursor >= $this.limit) {
- return false;
- }
- ch = $this.current.charCodeAt($this.cursor);
- if (! (ch > max || ch < min)) {
- return false;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t + 1) | 0, $__jsx_postinc_t);
- return true;
- };
- BaseStemmer.out_range$LBaseStemmer$II = BaseStemmer$out_range$LBaseStemmer$II;
- BaseStemmer.prototype.out_range_b$II = function (min, max) {
- var ch;
- var $__jsx_postinc_t;
- if (this.cursor <= this.limit_backward) {
- return false;
- }
- ch = this.current.charCodeAt(this.cursor - 1);
- if (! (ch > max || ch < min)) {
- return false;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- return true;
- };
- function BaseStemmer$out_range_b$LBaseStemmer$II($this, min, max) {
- var ch;
- var $__jsx_postinc_t;
- if ($this.cursor <= $this.limit_backward) {
- return false;
- }
- ch = $this.current.charCodeAt($this.cursor - 1);
- if (! (ch > max || ch < min)) {
- return false;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- return true;
- };
- BaseStemmer.out_range_b$LBaseStemmer$II = BaseStemmer$out_range_b$LBaseStemmer$II;
- BaseStemmer.prototype.eq_s$IS = function (s_size, s) {
- var cursor$0;
- if (((this.limit - this.cursor) | 0) < s_size) {
- return false;
- }
- if (this.current.slice(cursor$0 = this.cursor, ((cursor$0 + s_size) | 0)) !== s) {
- return false;
- }
- this.cursor = (this.cursor + s_size) | 0;
- return true;
- };
- function BaseStemmer$eq_s$LBaseStemmer$IS($this, s_size, s) {
- var cursor$0;
- if ((($this.limit - $this.cursor) | 0) < s_size) {
- return false;
- }
- if ($this.current.slice(cursor$0 = $this.cursor, ((cursor$0 + s_size) | 0)) !== s) {
- return false;
- }
- $this.cursor = ($this.cursor + s_size) | 0;
- return true;
- };
- BaseStemmer.eq_s$LBaseStemmer$IS = BaseStemmer$eq_s$LBaseStemmer$IS;
- BaseStemmer.prototype.eq_s_b$IS = function (s_size, s) {
- var cursor$0;
- if (((this.cursor - this.limit_backward) | 0) < s_size) {
- return false;
- }
- if (this.current.slice((((cursor$0 = this.cursor) - s_size) | 0), cursor$0) !== s) {
- return false;
- }
- this.cursor = (this.cursor - s_size) | 0;
- return true;
- };
- function BaseStemmer$eq_s_b$LBaseStemmer$IS($this, s_size, s) {
- var cursor$0;
- if ((($this.cursor - $this.limit_backward) | 0) < s_size) {
- return false;
- }
- if ($this.current.slice((((cursor$0 = $this.cursor) - s_size) | 0), cursor$0) !== s) {
- return false;
- }
- $this.cursor = ($this.cursor - s_size) | 0;
- return true;
- };
- BaseStemmer.eq_s_b$LBaseStemmer$IS = BaseStemmer$eq_s_b$LBaseStemmer$IS;
- BaseStemmer.prototype.eq_v$S = function (s) {
- return BaseStemmer$eq_s$LBaseStemmer$IS(this, s.length, s);
- };
- function BaseStemmer$eq_v$LBaseStemmer$S($this, s) {
- return BaseStemmer$eq_s$LBaseStemmer$IS($this, s.length, s);
- };
- BaseStemmer.eq_v$LBaseStemmer$S = BaseStemmer$eq_v$LBaseStemmer$S;
- BaseStemmer.prototype.eq_v_b$S = function (s) {
- return BaseStemmer$eq_s_b$LBaseStemmer$IS(this, s.length, s);
- };
- function BaseStemmer$eq_v_b$LBaseStemmer$S($this, s) {
- return BaseStemmer$eq_s_b$LBaseStemmer$IS($this, s.length, s);
- };
- BaseStemmer.eq_v_b$LBaseStemmer$S = BaseStemmer$eq_v_b$LBaseStemmer$S;
- BaseStemmer.prototype.find_among$ALAmong$I = function (v, v_size) {
- var i;
- var j;
- var c;
- var l;
- var common_i;
- var common_j;
- var first_key_inspected;
- var k;
- var diff;
- var common;
- var w;
- var i2;
- var res;
- i = 0;
- j = v_size;
- c = this.cursor;
- l = this.limit;
- common_i = 0;
- common_j = 0;
- first_key_inspected = false;
- while (true) {
- k = i + (j - i >>> 1);
- diff = 0;
- common = (common_i < common_j ? common_i : common_j);
- w = v[k];
- for (i2 = common; i2 < w.s_size; i2++) {
- if (c + common === l) {
- diff = -1;
- break;
- }
- diff = this.current.charCodeAt(c + common) - w.s.charCodeAt(i2);
- if (diff !== 0) {
- break;
- }
- common++;
- }
- if (diff < 0) {
- j = k;
- common_j = common;
- } else {
- i = k;
- common_i = common;
- }
- if (j - i <= 1) {
- if (i > 0) {
- break;
- }
- if (j === i) {
- break;
- }
- if (first_key_inspected) {
- break;
- }
- first_key_inspected = true;
- }
- }
- while (true) {
- w = v[i];
- if (common_i >= w.s_size) {
- this.cursor = (c + w.s_size | 0);
- if (w.method == null) {
- return w.result;
- }
- res = w.method(w.instance);
- this.cursor = (c + w.s_size | 0);
- if (res) {
- return w.result;
- }
- }
- i = w.substring_i;
- if (i < 0) {
- return 0;
- }
- }
- return -1;
- };
- function BaseStemmer$find_among$LBaseStemmer$ALAmong$I($this, v, v_size) {
- var i;
- var j;
- var c;
- var l;
- var common_i;
- var common_j;
- var first_key_inspected;
- var k;
- var diff;
- var common;
- var w;
- var i2;
- var res;
- i = 0;
- j = v_size;
- c = $this.cursor;
- l = $this.limit;
- common_i = 0;
- common_j = 0;
- first_key_inspected = false;
- while (true) {
- k = i + (j - i >>> 1);
- diff = 0;
- common = (common_i < common_j ? common_i : common_j);
- w = v[k];
- for (i2 = common; i2 < w.s_size; i2++) {
- if (c + common === l) {
- diff = -1;
- break;
- }
- diff = $this.current.charCodeAt(c + common) - w.s.charCodeAt(i2);
- if (diff !== 0) {
- break;
- }
- common++;
- }
- if (diff < 0) {
- j = k;
- common_j = common;
- } else {
- i = k;
- common_i = common;
- }
- if (j - i <= 1) {
- if (i > 0) {
- break;
- }
- if (j === i) {
- break;
- }
- if (first_key_inspected) {
- break;
- }
- first_key_inspected = true;
- }
- }
- while (true) {
- w = v[i];
- if (common_i >= w.s_size) {
- $this.cursor = (c + w.s_size | 0);
- if (w.method == null) {
- return w.result;
- }
- res = w.method(w.instance);
- $this.cursor = (c + w.s_size | 0);
- if (res) {
- return w.result;
- }
- }
- i = w.substring_i;
- if (i < 0) {
- return 0;
- }
- }
- return -1;
- };
- BaseStemmer.find_among$LBaseStemmer$ALAmong$I = BaseStemmer$find_among$LBaseStemmer$ALAmong$I;
- BaseStemmer.prototype.find_among_b$ALAmong$I = function (v, v_size) {
- var i;
- var j;
- var c;
- var lb;
- var common_i;
- var common_j;
- var first_key_inspected;
- var k;
- var diff;
- var common;
- var w;
- var i2;
- var res;
- i = 0;
- j = v_size;
- c = this.cursor;
- lb = this.limit_backward;
- common_i = 0;
- common_j = 0;
- first_key_inspected = false;
- while (true) {
- k = i + (j - i >> 1);
- diff = 0;
- common = (common_i < common_j ? common_i : common_j);
- w = v[k];
- for (i2 = w.s_size - 1 - common; i2 >= 0; i2--) {
- if (c - common === lb) {
- diff = -1;
- break;
- }
- diff = this.current.charCodeAt(c - 1 - common) - w.s.charCodeAt(i2);
- if (diff !== 0) {
- break;
- }
- common++;
- }
- if (diff < 0) {
- j = k;
- common_j = common;
- } else {
- i = k;
- common_i = common;
- }
- if (j - i <= 1) {
- if (i > 0) {
- break;
- }
- if (j === i) {
- break;
- }
- if (first_key_inspected) {
- break;
- }
- first_key_inspected = true;
- }
- }
- while (true) {
- w = v[i];
- if (common_i >= w.s_size) {
- this.cursor = (c - w.s_size | 0);
- if (w.method == null) {
- return w.result;
- }
- res = w.method(this);
- this.cursor = (c - w.s_size | 0);
- if (res) {
- return w.result;
- }
- }
- i = w.substring_i;
- if (i < 0) {
- return 0;
- }
- }
- return -1;
- };
- function BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, v, v_size) {
- var i;
- var j;
- var c;
- var lb;
- var common_i;
- var common_j;
- var first_key_inspected;
- var k;
- var diff;
- var common;
- var w;
- var i2;
- var res;
- i = 0;
- j = v_size;
- c = $this.cursor;
- lb = $this.limit_backward;
- common_i = 0;
- common_j = 0;
- first_key_inspected = false;
- while (true) {
- k = i + (j - i >> 1);
- diff = 0;
- common = (common_i < common_j ? common_i : common_j);
- w = v[k];
- for (i2 = w.s_size - 1 - common; i2 >= 0; i2--) {
- if (c - common === lb) {
- diff = -1;
- break;
- }
- diff = $this.current.charCodeAt(c - 1 - common) - w.s.charCodeAt(i2);
- if (diff !== 0) {
- break;
- }
- common++;
- }
- if (diff < 0) {
- j = k;
- common_j = common;
- } else {
- i = k;
- common_i = common;
- }
- if (j - i <= 1) {
- if (i > 0) {
- break;
- }
- if (j === i) {
- break;
- }
- if (first_key_inspected) {
- break;
- }
- first_key_inspected = true;
- }
- }
- while (true) {
- w = v[i];
- if (common_i >= w.s_size) {
- $this.cursor = (c - w.s_size | 0);
- if (w.method == null) {
- return w.result;
- }
- res = w.method($this);
- $this.cursor = (c - w.s_size | 0);
- if (res) {
- return w.result;
- }
- }
- i = w.substring_i;
- if (i < 0) {
- return 0;
- }
- }
- return -1;
- };
- BaseStemmer.find_among_b$LBaseStemmer$ALAmong$I = BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I;
- BaseStemmer.prototype.replace_s$IIS = function (c_bra, c_ket, s) {
- var adjustment;
- adjustment = ((s.length - (((c_ket - c_bra) | 0))) | 0);
- this.current = this.current.slice(0, c_bra) + s + this.current.slice(c_ket);
- this.limit = (this.limit + adjustment) | 0;
- if (this.cursor >= c_ket) {
- this.cursor = (this.cursor + adjustment) | 0;
- } else if (this.cursor > c_bra) {
- this.cursor = c_bra;
- }
- return (adjustment | 0);
- };
- function BaseStemmer$replace_s$LBaseStemmer$IIS($this, c_bra, c_ket, s) {
- var adjustment;
- adjustment = ((s.length - (((c_ket - c_bra) | 0))) | 0);
- $this.current = $this.current.slice(0, c_bra) + s + $this.current.slice(c_ket);
- $this.limit = ($this.limit + adjustment) | 0;
- if ($this.cursor >= c_ket) {
- $this.cursor = ($this.cursor + adjustment) | 0;
- } else if ($this.cursor > c_bra) {
- $this.cursor = c_bra;
- }
- return (adjustment | 0);
- };
- BaseStemmer.replace_s$LBaseStemmer$IIS = BaseStemmer$replace_s$LBaseStemmer$IIS;
- BaseStemmer.prototype.slice_check$ = function () {
- var bra$0;
- var ket$0;
- var limit$0;
- return ((bra$0 = this.bra) < 0 || bra$0 > (ket$0 = this.ket) || ket$0 > (limit$0 = this.limit) || limit$0 > this.current.length ? false : true);
- };
- function BaseStemmer$slice_check$LBaseStemmer$($this) {
- var bra$0;
- var ket$0;
- var limit$0;
- return ((bra$0 = $this.bra) < 0 || bra$0 > (ket$0 = $this.ket) || ket$0 > (limit$0 = $this.limit) || limit$0 > $this.current.length ? false : true);
- };
- BaseStemmer.slice_check$LBaseStemmer$ = BaseStemmer$slice_check$LBaseStemmer$;
- BaseStemmer.prototype.slice_from$S = function (s) {
- var result;
- var bra$0;
- var ket$0;
- var limit$0;
- result = false;
- if ((bra$0 = this.bra) < 0 || bra$0 > (ket$0 = this.ket) || ket$0 > (limit$0 = this.limit) || limit$0 > this.current.length ? false : true) {
- BaseStemmer$replace_s$LBaseStemmer$IIS(this, this.bra, this.ket, s);
- result = true;
- }
- return result;
- };
- function BaseStemmer$slice_from$LBaseStemmer$S($this, s) {
- var result;
- var bra$0;
- var ket$0;
- var limit$0;
- result = false;
- if ((bra$0 = $this.bra) < 0 || bra$0 > (ket$0 = $this.ket) || ket$0 > (limit$0 = $this.limit) || limit$0 > $this.current.length ? false : true) {
- BaseStemmer$replace_s$LBaseStemmer$IIS($this, $this.bra, $this.ket, s);
- result = true;
- }
- return result;
- };
- BaseStemmer.slice_from$LBaseStemmer$S = BaseStemmer$slice_from$LBaseStemmer$S;
- BaseStemmer.prototype.slice_del$ = function () {
- return BaseStemmer$slice_from$LBaseStemmer$S(this, "");
- };
- function BaseStemmer$slice_del$LBaseStemmer$($this) {
- return BaseStemmer$slice_from$LBaseStemmer$S($this, "");
- };
- BaseStemmer.slice_del$LBaseStemmer$ = BaseStemmer$slice_del$LBaseStemmer$;
- BaseStemmer.prototype.insert$IIS = function (c_bra, c_ket, s) {
- var adjustment;
- adjustment = BaseStemmer$replace_s$LBaseStemmer$IIS(this, c_bra, c_ket, s);
- if (c_bra <= this.bra) {
- this.bra = (this.bra + adjustment) | 0;
- }
- if (c_bra <= this.ket) {
- this.ket = (this.ket + adjustment) | 0;
- }
- };
- function BaseStemmer$insert$LBaseStemmer$IIS($this, c_bra, c_ket, s) {
- var adjustment;
- adjustment = BaseStemmer$replace_s$LBaseStemmer$IIS($this, c_bra, c_ket, s);
- if (c_bra <= $this.bra) {
- $this.bra = ($this.bra + adjustment) | 0;
- }
- if (c_bra <= $this.ket) {
- $this.ket = ($this.ket + adjustment) | 0;
- }
- };
- BaseStemmer.insert$LBaseStemmer$IIS = BaseStemmer$insert$LBaseStemmer$IIS;
- BaseStemmer.prototype.slice_to$S = function (s) {
- var result;
- var bra$0;
- var ket$0;
- var limit$0;
- result = '';
- if ((bra$0 = this.bra) < 0 || bra$0 > (ket$0 = this.ket) || ket$0 > (limit$0 = this.limit) || limit$0 > this.current.length ? false : true) {
- result = this.current.slice(this.bra, this.ket);
- }
- return result;
- };
- function BaseStemmer$slice_to$LBaseStemmer$S($this, s) {
- var result;
- var bra$0;
- var ket$0;
- var limit$0;
- result = '';
- if ((bra$0 = $this.bra) < 0 || bra$0 > (ket$0 = $this.ket) || ket$0 > (limit$0 = $this.limit) || limit$0 > $this.current.length ? false : true) {
- result = $this.current.slice($this.bra, $this.ket);
- }
- return result;
- };
- BaseStemmer.slice_to$LBaseStemmer$S = BaseStemmer$slice_to$LBaseStemmer$S;
- BaseStemmer.prototype.assign_to$S = function (s) {
- return this.current.slice(0, this.limit);
- };
- function BaseStemmer$assign_to$LBaseStemmer$S($this, s) {
- return $this.current.slice(0, $this.limit);
- };
- BaseStemmer.assign_to$LBaseStemmer$S = BaseStemmer$assign_to$LBaseStemmer$S;
- BaseStemmer.prototype.stem$ = function () {
- return false;
- };
- BaseStemmer.prototype.stemWord$S = function (word) {
- var result;
- var current$0;
- var cursor$0;
- var limit$0;
- result = this.cache['.' + word];
- if (result == null) {
- current$0 = this.current = word;
- cursor$0 = this.cursor = 0;
- limit$0 = this.limit = current$0.length;
- this.limit_backward = 0;
- this.bra = cursor$0;
- this.ket = limit$0;
- this.stem$();
- result = this.current;
- this.cache['.' + word] = result;
- }
- return result;
- };
- BaseStemmer.prototype.stemWord = BaseStemmer.prototype.stemWord$S;
- BaseStemmer.prototype.stemWords$AS = function (words) {
- var results;
- var i;
- var word;
- var result;
- var current$0;
- var cursor$0;
- var limit$0;
- results = [ ];
- for (i = 0; i < words.length; i++) {
- word = words[i];
- result = this.cache['.' + word];
- if (result == null) {
- current$0 = this.current = word;
- cursor$0 = this.cursor = 0;
- limit$0 = this.limit = current$0.length;
- this.limit_backward = 0;
- this.bra = cursor$0;
- this.ket = limit$0;
- this.stem$();
- result = this.current;
- this.cache['.' + word] = result;
- }
- results.push(result);
- }
- return results;
- };
- BaseStemmer.prototype.stemWords = BaseStemmer.prototype.stemWords$AS;
- function TurkishStemmer() {
- BaseStemmer.call(this);
- this.B_continue_stemming_noun_suffixes = false;
- this.I_strlen = 0;
- };
- $__jsx_extend([TurkishStemmer], BaseStemmer);
- TurkishStemmer.prototype.copy_from$LTurkishStemmer$ = function (other) {
- this.B_continue_stemming_noun_suffixes = other.B_continue_stemming_noun_suffixes;
- this.I_strlen = other.I_strlen;
- BaseStemmer$copy_from$LBaseStemmer$LBaseStemmer$(this, other);
- };
- TurkishStemmer.prototype.copy_from = TurkishStemmer.prototype.copy_from$LTurkishStemmer$;
- TurkishStemmer.prototype.r_check_vowel_harmony$ = function () {
- var v_1;
- var v_2;
- var v_3;
- var v_4;
- var v_5;
- var v_6;
- var v_7;
- var v_8;
- var v_9;
- var v_10;
- var v_11;
- var lab1;
- var lab2;
- var lab3;
- var lab5;
- var lab6;
- var lab8;
- var lab9;
- var lab11;
- var lab12;
- var lab14;
- var lab15;
- var lab17;
- var lab18;
- var lab20;
- var lab21;
- var lab23;
- var lab25;
- var cursor$0;
- var cursor$1;
- var cursor$2;
- var cursor$3;
- var cursor$4;
- var cursor$5;
- var cursor$6;
- var cursor$7;
- var cursor$8;
- var $__jsx_postinc_t;
- v_1 = ((this.limit - this.cursor) | 0);
- golab0:
- while (true) {
- v_2 = ((this.limit - this.cursor) | 0);
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel, 97, 305)) {
- break lab1;
- }
- this.cursor = ((this.limit - v_2) | 0);
- break golab0;
- }
- cursor$0 = this.cursor = ((this.limit - v_2) | 0);
- if (cursor$0 <= this.limit_backward) {
- return false;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- lab2 = true;
- lab2:
- while (lab2 === true) {
- lab2 = false;
- v_3 = ((this.limit - this.cursor) | 0);
- lab3 = true;
- lab3:
- while (lab3 === true) {
- lab3 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "a")) {
- break lab3;
- }
- golab4:
- while (true) {
- v_4 = ((this.limit - this.cursor) | 0);
- lab5 = true;
- lab5:
- while (lab5 === true) {
- lab5 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel1, 97, 305)) {
- break lab5;
- }
- this.cursor = ((this.limit - v_4) | 0);
- break golab4;
- }
- cursor$1 = this.cursor = ((this.limit - v_4) | 0);
- if (cursor$1 <= this.limit_backward) {
- break lab3;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- break lab2;
- }
- this.cursor = ((this.limit - v_3) | 0);
- lab6 = true;
- lab6:
- while (lab6 === true) {
- lab6 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "e")) {
- break lab6;
- }
- golab7:
- while (true) {
- v_5 = ((this.limit - this.cursor) | 0);
- lab8 = true;
- lab8:
- while (lab8 === true) {
- lab8 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel2, 101, 252)) {
- break lab8;
- }
- this.cursor = ((this.limit - v_5) | 0);
- break golab7;
- }
- cursor$2 = this.cursor = ((this.limit - v_5) | 0);
- if (cursor$2 <= this.limit_backward) {
- break lab6;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- break lab2;
- }
- this.cursor = ((this.limit - v_3) | 0);
- lab9 = true;
- lab9:
- while (lab9 === true) {
- lab9 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "\u0131")) {
- break lab9;
- }
- golab10:
- while (true) {
- v_6 = ((this.limit - this.cursor) | 0);
- lab11 = true;
- lab11:
- while (lab11 === true) {
- lab11 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel3, 97, 305)) {
- break lab11;
- }
- this.cursor = ((this.limit - v_6) | 0);
- break golab10;
- }
- cursor$3 = this.cursor = ((this.limit - v_6) | 0);
- if (cursor$3 <= this.limit_backward) {
- break lab9;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- break lab2;
- }
- this.cursor = ((this.limit - v_3) | 0);
- lab12 = true;
- lab12:
- while (lab12 === true) {
- lab12 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "i")) {
- break lab12;
- }
- golab13:
- while (true) {
- v_7 = ((this.limit - this.cursor) | 0);
- lab14 = true;
- lab14:
- while (lab14 === true) {
- lab14 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel4, 101, 105)) {
- break lab14;
- }
- this.cursor = ((this.limit - v_7) | 0);
- break golab13;
- }
- cursor$4 = this.cursor = ((this.limit - v_7) | 0);
- if (cursor$4 <= this.limit_backward) {
- break lab12;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- break lab2;
- }
- this.cursor = ((this.limit - v_3) | 0);
- lab15 = true;
- lab15:
- while (lab15 === true) {
- lab15 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "o")) {
- break lab15;
- }
- golab16:
- while (true) {
- v_8 = ((this.limit - this.cursor) | 0);
- lab17 = true;
- lab17:
- while (lab17 === true) {
- lab17 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel5, 111, 117)) {
- break lab17;
- }
- this.cursor = ((this.limit - v_8) | 0);
- break golab16;
- }
- cursor$5 = this.cursor = ((this.limit - v_8) | 0);
- if (cursor$5 <= this.limit_backward) {
- break lab15;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- break lab2;
- }
- this.cursor = ((this.limit - v_3) | 0);
- lab18 = true;
- lab18:
- while (lab18 === true) {
- lab18 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "\u00F6")) {
- break lab18;
- }
- golab19:
- while (true) {
- v_9 = ((this.limit - this.cursor) | 0);
- lab20 = true;
- lab20:
- while (lab20 === true) {
- lab20 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel6, 246, 252)) {
- break lab20;
- }
- this.cursor = ((this.limit - v_9) | 0);
- break golab19;
- }
- cursor$6 = this.cursor = ((this.limit - v_9) | 0);
- if (cursor$6 <= this.limit_backward) {
- break lab18;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- break lab2;
- }
- this.cursor = ((this.limit - v_3) | 0);
- lab21 = true;
- lab21:
- while (lab21 === true) {
- lab21 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "u")) {
- break lab21;
- }
- golab22:
- while (true) {
- v_10 = ((this.limit - this.cursor) | 0);
- lab23 = true;
- lab23:
- while (lab23 === true) {
- lab23 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel5, 111, 117)) {
- break lab23;
- }
- this.cursor = ((this.limit - v_10) | 0);
- break golab22;
- }
- cursor$7 = this.cursor = ((this.limit - v_10) | 0);
- if (cursor$7 <= this.limit_backward) {
- break lab21;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- break lab2;
- }
- this.cursor = ((this.limit - v_3) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "\u00FC")) {
- return false;
- }
- golab24:
- while (true) {
- v_11 = ((this.limit - this.cursor) | 0);
- lab25 = true;
- lab25:
- while (lab25 === true) {
- lab25 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel6, 246, 252)) {
- break lab25;
- }
- this.cursor = ((this.limit - v_11) | 0);
- break golab24;
- }
- cursor$8 = this.cursor = ((this.limit - v_11) | 0);
- if (cursor$8 <= this.limit_backward) {
- return false;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- }
- this.cursor = ((this.limit - v_1) | 0);
- return true;
- };
- TurkishStemmer.prototype.r_check_vowel_harmony = TurkishStemmer.prototype.r_check_vowel_harmony$;
- function TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) {
- var v_1;
- var v_2;
- var v_3;
- var v_4;
- var v_5;
- var v_6;
- var v_7;
- var v_8;
- var v_9;
- var v_10;
- var v_11;
- var lab1;
- var lab2;
- var lab3;
- var lab5;
- var lab6;
- var lab8;
- var lab9;
- var lab11;
- var lab12;
- var lab14;
- var lab15;
- var lab17;
- var lab18;
- var lab20;
- var lab21;
- var lab23;
- var lab25;
- var cursor$0;
- var cursor$1;
- var cursor$2;
- var cursor$3;
- var cursor$4;
- var cursor$5;
- var cursor$6;
- var cursor$7;
- var cursor$8;
- var $__jsx_postinc_t;
- v_1 = (($this.limit - $this.cursor) | 0);
- golab0:
- while (true) {
- v_2 = (($this.limit - $this.cursor) | 0);
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel, 97, 305)) {
- break lab1;
- }
- $this.cursor = (($this.limit - v_2) | 0);
- break golab0;
- }
- cursor$0 = $this.cursor = (($this.limit - v_2) | 0);
- if (cursor$0 <= $this.limit_backward) {
- return false;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- lab2 = true;
- lab2:
- while (lab2 === true) {
- lab2 = false;
- v_3 = (($this.limit - $this.cursor) | 0);
- lab3 = true;
- lab3:
- while (lab3 === true) {
- lab3 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "a")) {
- break lab3;
- }
- golab4:
- while (true) {
- v_4 = (($this.limit - $this.cursor) | 0);
- lab5 = true;
- lab5:
- while (lab5 === true) {
- lab5 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel1, 97, 305)) {
- break lab5;
- }
- $this.cursor = (($this.limit - v_4) | 0);
- break golab4;
- }
- cursor$1 = $this.cursor = (($this.limit - v_4) | 0);
- if (cursor$1 <= $this.limit_backward) {
- break lab3;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- break lab2;
- }
- $this.cursor = (($this.limit - v_3) | 0);
- lab6 = true;
- lab6:
- while (lab6 === true) {
- lab6 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "e")) {
- break lab6;
- }
- golab7:
- while (true) {
- v_5 = (($this.limit - $this.cursor) | 0);
- lab8 = true;
- lab8:
- while (lab8 === true) {
- lab8 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel2, 101, 252)) {
- break lab8;
- }
- $this.cursor = (($this.limit - v_5) | 0);
- break golab7;
- }
- cursor$2 = $this.cursor = (($this.limit - v_5) | 0);
- if (cursor$2 <= $this.limit_backward) {
- break lab6;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- break lab2;
- }
- $this.cursor = (($this.limit - v_3) | 0);
- lab9 = true;
- lab9:
- while (lab9 === true) {
- lab9 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "\u0131")) {
- break lab9;
- }
- golab10:
- while (true) {
- v_6 = (($this.limit - $this.cursor) | 0);
- lab11 = true;
- lab11:
- while (lab11 === true) {
- lab11 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel3, 97, 305)) {
- break lab11;
- }
- $this.cursor = (($this.limit - v_6) | 0);
- break golab10;
- }
- cursor$3 = $this.cursor = (($this.limit - v_6) | 0);
- if (cursor$3 <= $this.limit_backward) {
- break lab9;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- break lab2;
- }
- $this.cursor = (($this.limit - v_3) | 0);
- lab12 = true;
- lab12:
- while (lab12 === true) {
- lab12 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "i")) {
- break lab12;
- }
- golab13:
- while (true) {
- v_7 = (($this.limit - $this.cursor) | 0);
- lab14 = true;
- lab14:
- while (lab14 === true) {
- lab14 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel4, 101, 105)) {
- break lab14;
- }
- $this.cursor = (($this.limit - v_7) | 0);
- break golab13;
- }
- cursor$4 = $this.cursor = (($this.limit - v_7) | 0);
- if (cursor$4 <= $this.limit_backward) {
- break lab12;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- break lab2;
- }
- $this.cursor = (($this.limit - v_3) | 0);
- lab15 = true;
- lab15:
- while (lab15 === true) {
- lab15 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "o")) {
- break lab15;
- }
- golab16:
- while (true) {
- v_8 = (($this.limit - $this.cursor) | 0);
- lab17 = true;
- lab17:
- while (lab17 === true) {
- lab17 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel5, 111, 117)) {
- break lab17;
- }
- $this.cursor = (($this.limit - v_8) | 0);
- break golab16;
- }
- cursor$5 = $this.cursor = (($this.limit - v_8) | 0);
- if (cursor$5 <= $this.limit_backward) {
- break lab15;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- break lab2;
- }
- $this.cursor = (($this.limit - v_3) | 0);
- lab18 = true;
- lab18:
- while (lab18 === true) {
- lab18 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "\u00F6")) {
- break lab18;
- }
- golab19:
- while (true) {
- v_9 = (($this.limit - $this.cursor) | 0);
- lab20 = true;
- lab20:
- while (lab20 === true) {
- lab20 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel6, 246, 252)) {
- break lab20;
- }
- $this.cursor = (($this.limit - v_9) | 0);
- break golab19;
- }
- cursor$6 = $this.cursor = (($this.limit - v_9) | 0);
- if (cursor$6 <= $this.limit_backward) {
- break lab18;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- break lab2;
- }
- $this.cursor = (($this.limit - v_3) | 0);
- lab21 = true;
- lab21:
- while (lab21 === true) {
- lab21 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "u")) {
- break lab21;
- }
- golab22:
- while (true) {
- v_10 = (($this.limit - $this.cursor) | 0);
- lab23 = true;
- lab23:
- while (lab23 === true) {
- lab23 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel5, 111, 117)) {
- break lab23;
- }
- $this.cursor = (($this.limit - v_10) | 0);
- break golab22;
- }
- cursor$7 = $this.cursor = (($this.limit - v_10) | 0);
- if (cursor$7 <= $this.limit_backward) {
- break lab21;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- break lab2;
- }
- $this.cursor = (($this.limit - v_3) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "\u00FC")) {
- return false;
- }
- golab24:
- while (true) {
- v_11 = (($this.limit - $this.cursor) | 0);
- lab25 = true;
- lab25:
- while (lab25 === true) {
- lab25 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel6, 246, 252)) {
- break lab25;
- }
- $this.cursor = (($this.limit - v_11) | 0);
- break golab24;
- }
- cursor$8 = $this.cursor = (($this.limit - v_11) | 0);
- if (cursor$8 <= $this.limit_backward) {
- return false;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- }
- $this.cursor = (($this.limit - v_1) | 0);
- return true;
- };
- TurkishStemmer.r_check_vowel_harmony$LTurkishStemmer$ = TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_suffix_with_optional_n_consonant$ = function () {
- var v_1;
- var v_2;
- var v_3;
- var v_4;
- var v_5;
- var v_6;
- var lab0;
- var lab1;
- var lab2;
- var cursor$0;
- var limit$0;
- var cursor$1;
- var limit$1;
- var cursor$2;
- var $__jsx_postinc_t;
- lab0 = true;
- lab0:
- while (lab0 === true) {
- lab0 = false;
- v_1 = ((this.limit - this.cursor) | 0);
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- v_2 = ((this.limit - this.cursor) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "n")) {
- break lab1;
- }
- cursor$0 = this.cursor = ((this.limit - v_2) | 0);
- if (cursor$0 <= this.limit_backward) {
- break lab1;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- v_3 = ((this.limit - this.cursor) | 0);
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel, 97, 305)) {
- break lab1;
- }
- this.cursor = ((this.limit - v_3) | 0);
- break lab0;
- }
- cursor$1 = this.cursor = (((limit$0 = this.limit) - v_1) | 0);
- v_4 = ((limit$0 - cursor$1) | 0);
- lab2 = true;
- lab2:
- while (lab2 === true) {
- lab2 = false;
- v_5 = ((this.limit - this.cursor) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "n")) {
- break lab2;
- }
- this.cursor = ((this.limit - v_5) | 0);
- return false;
- }
- cursor$2 = this.cursor = (((limit$1 = this.limit) - v_4) | 0);
- v_6 = ((limit$1 - cursor$2) | 0);
- if (cursor$2 <= this.limit_backward) {
- return false;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel, 97, 305)) {
- return false;
- }
- this.cursor = ((this.limit - v_6) | 0);
- }
- return true;
- };
- TurkishStemmer.prototype.r_mark_suffix_with_optional_n_consonant = TurkishStemmer.prototype.r_mark_suffix_with_optional_n_consonant$;
- function TurkishStemmer$r_mark_suffix_with_optional_n_consonant$LTurkishStemmer$($this) {
- var v_1;
- var v_2;
- var v_3;
- var v_4;
- var v_5;
- var v_6;
- var lab0;
- var lab1;
- var lab2;
- var cursor$0;
- var limit$0;
- var cursor$1;
- var limit$1;
- var cursor$2;
- var $__jsx_postinc_t;
- lab0 = true;
- lab0:
- while (lab0 === true) {
- lab0 = false;
- v_1 = (($this.limit - $this.cursor) | 0);
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- v_2 = (($this.limit - $this.cursor) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "n")) {
- break lab1;
- }
- cursor$0 = $this.cursor = (($this.limit - v_2) | 0);
- if (cursor$0 <= $this.limit_backward) {
- break lab1;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- v_3 = (($this.limit - $this.cursor) | 0);
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel, 97, 305)) {
- break lab1;
- }
- $this.cursor = (($this.limit - v_3) | 0);
- break lab0;
- }
- cursor$1 = $this.cursor = (((limit$0 = $this.limit) - v_1) | 0);
- v_4 = ((limit$0 - cursor$1) | 0);
- lab2 = true;
- lab2:
- while (lab2 === true) {
- lab2 = false;
- v_5 = (($this.limit - $this.cursor) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "n")) {
- break lab2;
- }
- $this.cursor = (($this.limit - v_5) | 0);
- return false;
- }
- cursor$2 = $this.cursor = (((limit$1 = $this.limit) - v_4) | 0);
- v_6 = ((limit$1 - cursor$2) | 0);
- if (cursor$2 <= $this.limit_backward) {
- return false;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel, 97, 305)) {
- return false;
- }
- $this.cursor = (($this.limit - v_6) | 0);
- }
- return true;
- };
- TurkishStemmer.r_mark_suffix_with_optional_n_consonant$LTurkishStemmer$ = TurkishStemmer$r_mark_suffix_with_optional_n_consonant$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_suffix_with_optional_s_consonant$ = function () {
- var v_1;
- var v_2;
- var v_3;
- var v_4;
- var v_5;
- var v_6;
- var lab0;
- var lab1;
- var lab2;
- var cursor$0;
- var limit$0;
- var cursor$1;
- var limit$1;
- var cursor$2;
- var $__jsx_postinc_t;
- lab0 = true;
- lab0:
- while (lab0 === true) {
- lab0 = false;
- v_1 = ((this.limit - this.cursor) | 0);
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- v_2 = ((this.limit - this.cursor) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "s")) {
- break lab1;
- }
- cursor$0 = this.cursor = ((this.limit - v_2) | 0);
- if (cursor$0 <= this.limit_backward) {
- break lab1;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- v_3 = ((this.limit - this.cursor) | 0);
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel, 97, 305)) {
- break lab1;
- }
- this.cursor = ((this.limit - v_3) | 0);
- break lab0;
- }
- cursor$1 = this.cursor = (((limit$0 = this.limit) - v_1) | 0);
- v_4 = ((limit$0 - cursor$1) | 0);
- lab2 = true;
- lab2:
- while (lab2 === true) {
- lab2 = false;
- v_5 = ((this.limit - this.cursor) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "s")) {
- break lab2;
- }
- this.cursor = ((this.limit - v_5) | 0);
- return false;
- }
- cursor$2 = this.cursor = (((limit$1 = this.limit) - v_4) | 0);
- v_6 = ((limit$1 - cursor$2) | 0);
- if (cursor$2 <= this.limit_backward) {
- return false;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel, 97, 305)) {
- return false;
- }
- this.cursor = ((this.limit - v_6) | 0);
- }
- return true;
- };
- TurkishStemmer.prototype.r_mark_suffix_with_optional_s_consonant = TurkishStemmer.prototype.r_mark_suffix_with_optional_s_consonant$;
- function TurkishStemmer$r_mark_suffix_with_optional_s_consonant$LTurkishStemmer$($this) {
- var v_1;
- var v_2;
- var v_3;
- var v_4;
- var v_5;
- var v_6;
- var lab0;
- var lab1;
- var lab2;
- var cursor$0;
- var limit$0;
- var cursor$1;
- var limit$1;
- var cursor$2;
- var $__jsx_postinc_t;
- lab0 = true;
- lab0:
- while (lab0 === true) {
- lab0 = false;
- v_1 = (($this.limit - $this.cursor) | 0);
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- v_2 = (($this.limit - $this.cursor) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "s")) {
- break lab1;
- }
- cursor$0 = $this.cursor = (($this.limit - v_2) | 0);
- if (cursor$0 <= $this.limit_backward) {
- break lab1;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- v_3 = (($this.limit - $this.cursor) | 0);
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel, 97, 305)) {
- break lab1;
- }
- $this.cursor = (($this.limit - v_3) | 0);
- break lab0;
- }
- cursor$1 = $this.cursor = (((limit$0 = $this.limit) - v_1) | 0);
- v_4 = ((limit$0 - cursor$1) | 0);
- lab2 = true;
- lab2:
- while (lab2 === true) {
- lab2 = false;
- v_5 = (($this.limit - $this.cursor) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "s")) {
- break lab2;
- }
- $this.cursor = (($this.limit - v_5) | 0);
- return false;
- }
- cursor$2 = $this.cursor = (((limit$1 = $this.limit) - v_4) | 0);
- v_6 = ((limit$1 - cursor$2) | 0);
- if (cursor$2 <= $this.limit_backward) {
- return false;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel, 97, 305)) {
- return false;
- }
- $this.cursor = (($this.limit - v_6) | 0);
- }
- return true;
- };
- TurkishStemmer.r_mark_suffix_with_optional_s_consonant$LTurkishStemmer$ = TurkishStemmer$r_mark_suffix_with_optional_s_consonant$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_suffix_with_optional_y_consonant$ = function () {
- var v_1;
- var v_2;
- var v_3;
- var v_4;
- var v_5;
- var v_6;
- var lab0;
- var lab1;
- var lab2;
- var cursor$0;
- var limit$0;
- var cursor$1;
- var limit$1;
- var cursor$2;
- var $__jsx_postinc_t;
- lab0 = true;
- lab0:
- while (lab0 === true) {
- lab0 = false;
- v_1 = ((this.limit - this.cursor) | 0);
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- v_2 = ((this.limit - this.cursor) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "y")) {
- break lab1;
- }
- cursor$0 = this.cursor = ((this.limit - v_2) | 0);
- if (cursor$0 <= this.limit_backward) {
- break lab1;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- v_3 = ((this.limit - this.cursor) | 0);
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel, 97, 305)) {
- break lab1;
- }
- this.cursor = ((this.limit - v_3) | 0);
- break lab0;
- }
- cursor$1 = this.cursor = (((limit$0 = this.limit) - v_1) | 0);
- v_4 = ((limit$0 - cursor$1) | 0);
- lab2 = true;
- lab2:
- while (lab2 === true) {
- lab2 = false;
- v_5 = ((this.limit - this.cursor) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "y")) {
- break lab2;
- }
- this.cursor = ((this.limit - v_5) | 0);
- return false;
- }
- cursor$2 = this.cursor = (((limit$1 = this.limit) - v_4) | 0);
- v_6 = ((limit$1 - cursor$2) | 0);
- if (cursor$2 <= this.limit_backward) {
- return false;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel, 97, 305)) {
- return false;
- }
- this.cursor = ((this.limit - v_6) | 0);
- }
- return true;
- };
- TurkishStemmer.prototype.r_mark_suffix_with_optional_y_consonant = TurkishStemmer.prototype.r_mark_suffix_with_optional_y_consonant$;
- function TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) {
- var v_1;
- var v_2;
- var v_3;
- var v_4;
- var v_5;
- var v_6;
- var lab0;
- var lab1;
- var lab2;
- var cursor$0;
- var limit$0;
- var cursor$1;
- var limit$1;
- var cursor$2;
- var $__jsx_postinc_t;
- lab0 = true;
- lab0:
- while (lab0 === true) {
- lab0 = false;
- v_1 = (($this.limit - $this.cursor) | 0);
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- v_2 = (($this.limit - $this.cursor) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "y")) {
- break lab1;
- }
- cursor$0 = $this.cursor = (($this.limit - v_2) | 0);
- if (cursor$0 <= $this.limit_backward) {
- break lab1;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- v_3 = (($this.limit - $this.cursor) | 0);
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel, 97, 305)) {
- break lab1;
- }
- $this.cursor = (($this.limit - v_3) | 0);
- break lab0;
- }
- cursor$1 = $this.cursor = (((limit$0 = $this.limit) - v_1) | 0);
- v_4 = ((limit$0 - cursor$1) | 0);
- lab2 = true;
- lab2:
- while (lab2 === true) {
- lab2 = false;
- v_5 = (($this.limit - $this.cursor) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "y")) {
- break lab2;
- }
- $this.cursor = (($this.limit - v_5) | 0);
- return false;
- }
- cursor$2 = $this.cursor = (((limit$1 = $this.limit) - v_4) | 0);
- v_6 = ((limit$1 - cursor$2) | 0);
- if (cursor$2 <= $this.limit_backward) {
- return false;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel, 97, 305)) {
- return false;
- }
- $this.cursor = (($this.limit - v_6) | 0);
- }
- return true;
- };
- TurkishStemmer.r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$ = TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_suffix_with_optional_U_vowel$ = function () {
- var v_1;
- var v_2;
- var v_3;
- var v_4;
- var v_5;
- var v_6;
- var lab0;
- var lab1;
- var lab2;
- var cursor$0;
- var limit$0;
- var cursor$1;
- var limit$1;
- var cursor$2;
- var $__jsx_postinc_t;
- lab0 = true;
- lab0:
- while (lab0 === true) {
- lab0 = false;
- v_1 = ((this.limit - this.cursor) | 0);
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- v_2 = ((this.limit - this.cursor) | 0);
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_U, 105, 305)) {
- break lab1;
- }
- cursor$0 = this.cursor = ((this.limit - v_2) | 0);
- if (cursor$0 <= this.limit_backward) {
- break lab1;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- v_3 = ((this.limit - this.cursor) | 0);
- if (! BaseStemmer$out_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel, 97, 305)) {
- break lab1;
- }
- this.cursor = ((this.limit - v_3) | 0);
- break lab0;
- }
- cursor$1 = this.cursor = (((limit$0 = this.limit) - v_1) | 0);
- v_4 = ((limit$0 - cursor$1) | 0);
- lab2 = true;
- lab2:
- while (lab2 === true) {
- lab2 = false;
- v_5 = ((this.limit - this.cursor) | 0);
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_U, 105, 305)) {
- break lab2;
- }
- this.cursor = ((this.limit - v_5) | 0);
- return false;
- }
- cursor$2 = this.cursor = (((limit$1 = this.limit) - v_4) | 0);
- v_6 = ((limit$1 - cursor$2) | 0);
- if (cursor$2 <= this.limit_backward) {
- return false;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- if (! BaseStemmer$out_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel, 97, 305)) {
- return false;
- }
- this.cursor = ((this.limit - v_6) | 0);
- }
- return true;
- };
- TurkishStemmer.prototype.r_mark_suffix_with_optional_U_vowel = TurkishStemmer.prototype.r_mark_suffix_with_optional_U_vowel$;
- function TurkishStemmer$r_mark_suffix_with_optional_U_vowel$LTurkishStemmer$($this) {
- var v_1;
- var v_2;
- var v_3;
- var v_4;
- var v_5;
- var v_6;
- var lab0;
- var lab1;
- var lab2;
- var cursor$0;
- var limit$0;
- var cursor$1;
- var limit$1;
- var cursor$2;
- var $__jsx_postinc_t;
- lab0 = true;
- lab0:
- while (lab0 === true) {
- lab0 = false;
- v_1 = (($this.limit - $this.cursor) | 0);
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- v_2 = (($this.limit - $this.cursor) | 0);
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_U, 105, 305)) {
- break lab1;
- }
- cursor$0 = $this.cursor = (($this.limit - v_2) | 0);
- if (cursor$0 <= $this.limit_backward) {
- break lab1;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- v_3 = (($this.limit - $this.cursor) | 0);
- if (! BaseStemmer$out_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel, 97, 305)) {
- break lab1;
- }
- $this.cursor = (($this.limit - v_3) | 0);
- break lab0;
- }
- cursor$1 = $this.cursor = (((limit$0 = $this.limit) - v_1) | 0);
- v_4 = ((limit$0 - cursor$1) | 0);
- lab2 = true;
- lab2:
- while (lab2 === true) {
- lab2 = false;
- v_5 = (($this.limit - $this.cursor) | 0);
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_U, 105, 305)) {
- break lab2;
- }
- $this.cursor = (($this.limit - v_5) | 0);
- return false;
- }
- cursor$2 = $this.cursor = (((limit$1 = $this.limit) - v_4) | 0);
- v_6 = ((limit$1 - cursor$2) | 0);
- if (cursor$2 <= $this.limit_backward) {
- return false;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- if (! BaseStemmer$out_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel, 97, 305)) {
- return false;
- }
- $this.cursor = (($this.limit - v_6) | 0);
- }
- return true;
- };
- TurkishStemmer.r_mark_suffix_with_optional_U_vowel$LTurkishStemmer$ = TurkishStemmer$r_mark_suffix_with_optional_U_vowel$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_possessives$ = function () {
- return (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_0, 10) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_U_vowel$LTurkishStemmer$(this) ? false : true);
- };
- TurkishStemmer.prototype.r_mark_possessives = TurkishStemmer.prototype.r_mark_possessives$;
- function TurkishStemmer$r_mark_possessives$LTurkishStemmer$($this) {
- return (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_0, 10) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_U_vowel$LTurkishStemmer$($this) ? false : true);
- };
- TurkishStemmer.r_mark_possessives$LTurkishStemmer$ = TurkishStemmer$r_mark_possessives$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_sU$ = function () {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : ! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_U, 105, 305) ? false : ! TurkishStemmer$r_mark_suffix_with_optional_s_consonant$LTurkishStemmer$(this) ? false : true);
- };
- TurkishStemmer.prototype.r_mark_sU = TurkishStemmer.prototype.r_mark_sU$;
- function TurkishStemmer$r_mark_sU$LTurkishStemmer$($this) {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : ! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_U, 105, 305) ? false : ! TurkishStemmer$r_mark_suffix_with_optional_s_consonant$LTurkishStemmer$($this) ? false : true);
- };
- TurkishStemmer.r_mark_sU$LTurkishStemmer$ = TurkishStemmer$r_mark_sU$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_lArI$ = function () {
- return (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_1, 2) === 0 ? false : true);
- };
- TurkishStemmer.prototype.r_mark_lArI = TurkishStemmer.prototype.r_mark_lArI$;
- function TurkishStemmer$r_mark_lArI$LTurkishStemmer$($this) {
- return (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_1, 2) === 0 ? false : true);
- };
- TurkishStemmer.r_mark_lArI$LTurkishStemmer$ = TurkishStemmer$r_mark_lArI$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_yU$ = function () {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : ! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_U, 105, 305) ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true);
- };
- TurkishStemmer.prototype.r_mark_yU = TurkishStemmer.prototype.r_mark_yU$;
- function TurkishStemmer$r_mark_yU$LTurkishStemmer$($this) {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : ! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_U, 105, 305) ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true);
- };
- TurkishStemmer.r_mark_yU$LTurkishStemmer$ = TurkishStemmer$r_mark_yU$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_nU$ = function () {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_2, 4) === 0 ? false : true);
- };
- TurkishStemmer.prototype.r_mark_nU = TurkishStemmer.prototype.r_mark_nU$;
- function TurkishStemmer$r_mark_nU$LTurkishStemmer$($this) {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_2, 4) === 0 ? false : true);
- };
- TurkishStemmer.r_mark_nU$LTurkishStemmer$ = TurkishStemmer$r_mark_nU$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_nUn$ = function () {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_3, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_n_consonant$LTurkishStemmer$(this) ? false : true);
- };
- TurkishStemmer.prototype.r_mark_nUn = TurkishStemmer.prototype.r_mark_nUn$;
- function TurkishStemmer$r_mark_nUn$LTurkishStemmer$($this) {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_3, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_n_consonant$LTurkishStemmer$($this) ? false : true);
- };
- TurkishStemmer.r_mark_nUn$LTurkishStemmer$ = TurkishStemmer$r_mark_nUn$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_yA$ = function () {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_4, 2) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true);
- };
- TurkishStemmer.prototype.r_mark_yA = TurkishStemmer.prototype.r_mark_yA$;
- function TurkishStemmer$r_mark_yA$LTurkishStemmer$($this) {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_4, 2) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true);
- };
- TurkishStemmer.r_mark_yA$LTurkishStemmer$ = TurkishStemmer$r_mark_yA$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_nA$ = function () {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_5, 2) === 0 ? false : true);
- };
- TurkishStemmer.prototype.r_mark_nA = TurkishStemmer.prototype.r_mark_nA$;
- function TurkishStemmer$r_mark_nA$LTurkishStemmer$($this) {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_5, 2) === 0 ? false : true);
- };
- TurkishStemmer.r_mark_nA$LTurkishStemmer$ = TurkishStemmer$r_mark_nA$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_DA$ = function () {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_6, 4) === 0 ? false : true);
- };
- TurkishStemmer.prototype.r_mark_DA = TurkishStemmer.prototype.r_mark_DA$;
- function TurkishStemmer$r_mark_DA$LTurkishStemmer$($this) {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_6, 4) === 0 ? false : true);
- };
- TurkishStemmer.r_mark_DA$LTurkishStemmer$ = TurkishStemmer$r_mark_DA$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_ndA$ = function () {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_7, 2) === 0 ? false : true);
- };
- TurkishStemmer.prototype.r_mark_ndA = TurkishStemmer.prototype.r_mark_ndA$;
- function TurkishStemmer$r_mark_ndA$LTurkishStemmer$($this) {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_7, 2) === 0 ? false : true);
- };
- TurkishStemmer.r_mark_ndA$LTurkishStemmer$ = TurkishStemmer$r_mark_ndA$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_DAn$ = function () {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_8, 4) === 0 ? false : true);
- };
- TurkishStemmer.prototype.r_mark_DAn = TurkishStemmer.prototype.r_mark_DAn$;
- function TurkishStemmer$r_mark_DAn$LTurkishStemmer$($this) {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_8, 4) === 0 ? false : true);
- };
- TurkishStemmer.r_mark_DAn$LTurkishStemmer$ = TurkishStemmer$r_mark_DAn$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_ndAn$ = function () {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_9, 2) === 0 ? false : true);
- };
- TurkishStemmer.prototype.r_mark_ndAn = TurkishStemmer.prototype.r_mark_ndAn$;
- function TurkishStemmer$r_mark_ndAn$LTurkishStemmer$($this) {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_9, 2) === 0 ? false : true);
- };
- TurkishStemmer.r_mark_ndAn$LTurkishStemmer$ = TurkishStemmer$r_mark_ndAn$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_ylA$ = function () {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_10, 2) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true);
- };
- TurkishStemmer.prototype.r_mark_ylA = TurkishStemmer.prototype.r_mark_ylA$;
- function TurkishStemmer$r_mark_ylA$LTurkishStemmer$($this) {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_10, 2) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true);
- };
- TurkishStemmer.r_mark_ylA$LTurkishStemmer$ = TurkishStemmer$r_mark_ylA$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_ki$ = function () {
- return (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 2, "ki") ? false : true);
- };
- TurkishStemmer.prototype.r_mark_ki = TurkishStemmer.prototype.r_mark_ki$;
- function TurkishStemmer$r_mark_ki$LTurkishStemmer$($this) {
- return (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 2, "ki") ? false : true);
- };
- TurkishStemmer.r_mark_ki$LTurkishStemmer$ = TurkishStemmer$r_mark_ki$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_ncA$ = function () {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_11, 2) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_n_consonant$LTurkishStemmer$(this) ? false : true);
- };
- TurkishStemmer.prototype.r_mark_ncA = TurkishStemmer.prototype.r_mark_ncA$;
- function TurkishStemmer$r_mark_ncA$LTurkishStemmer$($this) {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_11, 2) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_n_consonant$LTurkishStemmer$($this) ? false : true);
- };
- TurkishStemmer.r_mark_ncA$LTurkishStemmer$ = TurkishStemmer$r_mark_ncA$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_yUm$ = function () {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_12, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true);
- };
- TurkishStemmer.prototype.r_mark_yUm = TurkishStemmer.prototype.r_mark_yUm$;
- function TurkishStemmer$r_mark_yUm$LTurkishStemmer$($this) {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_12, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true);
- };
- TurkishStemmer.r_mark_yUm$LTurkishStemmer$ = TurkishStemmer$r_mark_yUm$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_sUn$ = function () {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_13, 4) === 0 ? false : true);
- };
- TurkishStemmer.prototype.r_mark_sUn = TurkishStemmer.prototype.r_mark_sUn$;
- function TurkishStemmer$r_mark_sUn$LTurkishStemmer$($this) {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_13, 4) === 0 ? false : true);
- };
- TurkishStemmer.r_mark_sUn$LTurkishStemmer$ = TurkishStemmer$r_mark_sUn$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_yUz$ = function () {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_14, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true);
- };
- TurkishStemmer.prototype.r_mark_yUz = TurkishStemmer.prototype.r_mark_yUz$;
- function TurkishStemmer$r_mark_yUz$LTurkishStemmer$($this) {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_14, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true);
- };
- TurkishStemmer.r_mark_yUz$LTurkishStemmer$ = TurkishStemmer$r_mark_yUz$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_sUnUz$ = function () {
- return (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_15, 4) === 0 ? false : true);
- };
- TurkishStemmer.prototype.r_mark_sUnUz = TurkishStemmer.prototype.r_mark_sUnUz$;
- function TurkishStemmer$r_mark_sUnUz$LTurkishStemmer$($this) {
- return (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_15, 4) === 0 ? false : true);
- };
- TurkishStemmer.r_mark_sUnUz$LTurkishStemmer$ = TurkishStemmer$r_mark_sUnUz$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_lAr$ = function () {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_16, 2) === 0 ? false : true);
- };
- TurkishStemmer.prototype.r_mark_lAr = TurkishStemmer.prototype.r_mark_lAr$;
- function TurkishStemmer$r_mark_lAr$LTurkishStemmer$($this) {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_16, 2) === 0 ? false : true);
- };
- TurkishStemmer.r_mark_lAr$LTurkishStemmer$ = TurkishStemmer$r_mark_lAr$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_nUz$ = function () {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_17, 4) === 0 ? false : true);
- };
- TurkishStemmer.prototype.r_mark_nUz = TurkishStemmer.prototype.r_mark_nUz$;
- function TurkishStemmer$r_mark_nUz$LTurkishStemmer$($this) {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_17, 4) === 0 ? false : true);
- };
- TurkishStemmer.r_mark_nUz$LTurkishStemmer$ = TurkishStemmer$r_mark_nUz$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_DUr$ = function () {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_18, 8) === 0 ? false : true);
- };
- TurkishStemmer.prototype.r_mark_DUr = TurkishStemmer.prototype.r_mark_DUr$;
- function TurkishStemmer$r_mark_DUr$LTurkishStemmer$($this) {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_18, 8) === 0 ? false : true);
- };
- TurkishStemmer.r_mark_DUr$LTurkishStemmer$ = TurkishStemmer$r_mark_DUr$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_cAsInA$ = function () {
- return (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_19, 2) === 0 ? false : true);
- };
- TurkishStemmer.prototype.r_mark_cAsInA = TurkishStemmer.prototype.r_mark_cAsInA$;
- function TurkishStemmer$r_mark_cAsInA$LTurkishStemmer$($this) {
- return (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_19, 2) === 0 ? false : true);
- };
- TurkishStemmer.r_mark_cAsInA$LTurkishStemmer$ = TurkishStemmer$r_mark_cAsInA$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_yDU$ = function () {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_20, 32) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true);
- };
- TurkishStemmer.prototype.r_mark_yDU = TurkishStemmer.prototype.r_mark_yDU$;
- function TurkishStemmer$r_mark_yDU$LTurkishStemmer$($this) {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_20, 32) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true);
- };
- TurkishStemmer.r_mark_yDU$LTurkishStemmer$ = TurkishStemmer$r_mark_yDU$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_ysA$ = function () {
- return (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_21, 8) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true);
- };
- TurkishStemmer.prototype.r_mark_ysA = TurkishStemmer.prototype.r_mark_ysA$;
- function TurkishStemmer$r_mark_ysA$LTurkishStemmer$($this) {
- return (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_21, 8) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true);
- };
- TurkishStemmer.r_mark_ysA$LTurkishStemmer$ = TurkishStemmer$r_mark_ysA$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_ymUs_$ = function () {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_22, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true);
- };
- TurkishStemmer.prototype.r_mark_ymUs_ = TurkishStemmer.prototype.r_mark_ymUs_$;
- function TurkishStemmer$r_mark_ymUs_$LTurkishStemmer$($this) {
- return (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_22, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true);
- };
- TurkishStemmer.r_mark_ymUs_$LTurkishStemmer$ = TurkishStemmer$r_mark_ymUs_$LTurkishStemmer$;
- TurkishStemmer.prototype.r_mark_yken$ = function () {
- return (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 3, "ken") ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true);
- };
- TurkishStemmer.prototype.r_mark_yken = TurkishStemmer.prototype.r_mark_yken$;
- function TurkishStemmer$r_mark_yken$LTurkishStemmer$($this) {
- return (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 3, "ken") ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true);
- };
- TurkishStemmer.r_mark_yken$LTurkishStemmer$ = TurkishStemmer$r_mark_yken$LTurkishStemmer$;
- TurkishStemmer.prototype.r_stem_nominal_verb_suffixes$ = function () {
- var v_1;
- var v_2;
- var v_3;
- var v_4;
- var v_5;
- var v_6;
- var v_7;
- var v_8;
- var v_9;
- var v_10;
- var lab0;
- var lab1;
- var lab2;
- var lab3;
- var lab4;
- var lab5;
- var lab6;
- var lab7;
- var lab8;
- var lab9;
- var lab10;
- var lab11;
- var lab12;
- var lab13;
- var lab14;
- var lab15;
- var lab16;
- var lab17;
- var lab18;
- var lab19;
- var lab20;
- var lab21;
- var lab22;
- var lab23;
- var lab24;
- var lab25;
- var lab26;
- var lab27;
- var lab28;
- var lab29;
- var lab30;
- var lab31;
- var lab32;
- var lab33;
- var lab34;
- this.ket = this.cursor;
- this.B_continue_stemming_noun_suffixes = true;
- lab0 = true;
- lab0:
- while (lab0 === true) {
- lab0 = false;
- v_1 = ((this.limit - this.cursor) | 0);
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- lab2 = true;
- lab2:
- while (lab2 === true) {
- lab2 = false;
- v_2 = ((this.limit - this.cursor) | 0);
- lab3 = true;
- lab3:
- while (lab3 === true) {
- lab3 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_22, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab3;
- }
- break lab2;
- }
- this.cursor = ((this.limit - v_2) | 0);
- lab4 = true;
- lab4:
- while (lab4 === true) {
- lab4 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_20, 32) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab4;
- }
- break lab2;
- }
- this.cursor = ((this.limit - v_2) | 0);
- lab5 = true;
- lab5:
- while (lab5 === true) {
- lab5 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_21, 8) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab5;
- }
- break lab2;
- }
- this.cursor = ((this.limit - v_2) | 0);
- if (! (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 3, "ken") ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab1;
- }
- }
- break lab0;
- }
- this.cursor = ((this.limit - v_1) | 0);
- lab6 = true;
- lab6:
- while (lab6 === true) {
- lab6 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_19, 2) === 0 ? false : true)) {
- break lab6;
- }
- lab7 = true;
- lab7:
- while (lab7 === true) {
- lab7 = false;
- v_3 = ((this.limit - this.cursor) | 0);
- lab8 = true;
- lab8:
- while (lab8 === true) {
- lab8 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_15, 4) === 0 ? false : true)) {
- break lab8;
- }
- break lab7;
- }
- this.cursor = ((this.limit - v_3) | 0);
- lab9 = true;
- lab9:
- while (lab9 === true) {
- lab9 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- break lab9;
- }
- break lab7;
- }
- this.cursor = ((this.limit - v_3) | 0);
- lab10 = true;
- lab10:
- while (lab10 === true) {
- lab10 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_12, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab10;
- }
- break lab7;
- }
- this.cursor = ((this.limit - v_3) | 0);
- lab11 = true;
- lab11:
- while (lab11 === true) {
- lab11 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_13, 4) === 0 ? false : true)) {
- break lab11;
- }
- break lab7;
- }
- this.cursor = ((this.limit - v_3) | 0);
- lab12 = true;
- lab12:
- while (lab12 === true) {
- lab12 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_14, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab12;
- }
- break lab7;
- }
- this.cursor = ((this.limit - v_3) | 0);
- }
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_22, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab6;
- }
- break lab0;
- }
- this.cursor = ((this.limit - v_1) | 0);
- lab13 = true;
- lab13:
- while (lab13 === true) {
- lab13 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- break lab13;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_4 = ((this.limit - this.cursor) | 0);
- lab14 = true;
- lab14:
- while (lab14 === true) {
- lab14 = false;
- this.ket = this.cursor;
- lab15 = true;
- lab15:
- while (lab15 === true) {
- lab15 = false;
- v_5 = ((this.limit - this.cursor) | 0);
- lab16 = true;
- lab16:
- while (lab16 === true) {
- lab16 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_18, 8) === 0 ? false : true)) {
- break lab16;
- }
- break lab15;
- }
- this.cursor = ((this.limit - v_5) | 0);
- lab17 = true;
- lab17:
- while (lab17 === true) {
- lab17 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_20, 32) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab17;
- }
- break lab15;
- }
- this.cursor = ((this.limit - v_5) | 0);
- lab18 = true;
- lab18:
- while (lab18 === true) {
- lab18 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_21, 8) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab18;
- }
- break lab15;
- }
- this.cursor = ((this.limit - v_5) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_22, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true)) {
- this.cursor = ((this.limit - v_4) | 0);
- break lab14;
- }
- }
- }
- this.B_continue_stemming_noun_suffixes = false;
- break lab0;
- }
- this.cursor = ((this.limit - v_1) | 0);
- lab19 = true;
- lab19:
- while (lab19 === true) {
- lab19 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_17, 4) === 0 ? false : true)) {
- break lab19;
- }
- lab20 = true;
- lab20:
- while (lab20 === true) {
- lab20 = false;
- v_6 = ((this.limit - this.cursor) | 0);
- lab21 = true;
- lab21:
- while (lab21 === true) {
- lab21 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_20, 32) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab21;
- }
- break lab20;
- }
- this.cursor = ((this.limit - v_6) | 0);
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_21, 8) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab19;
- }
- }
- break lab0;
- }
- this.cursor = ((this.limit - v_1) | 0);
- lab22 = true;
- lab22:
- while (lab22 === true) {
- lab22 = false;
- lab23 = true;
- lab23:
- while (lab23 === true) {
- lab23 = false;
- v_7 = ((this.limit - this.cursor) | 0);
- lab24 = true;
- lab24:
- while (lab24 === true) {
- lab24 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_15, 4) === 0 ? false : true)) {
- break lab24;
- }
- break lab23;
- }
- this.cursor = ((this.limit - v_7) | 0);
- lab25 = true;
- lab25:
- while (lab25 === true) {
- lab25 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_14, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab25;
- }
- break lab23;
- }
- this.cursor = ((this.limit - v_7) | 0);
- lab26 = true;
- lab26:
- while (lab26 === true) {
- lab26 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_13, 4) === 0 ? false : true)) {
- break lab26;
- }
- break lab23;
- }
- this.cursor = ((this.limit - v_7) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_12, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab22;
- }
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_8 = ((this.limit - this.cursor) | 0);
- lab27 = true;
- lab27:
- while (lab27 === true) {
- lab27 = false;
- this.ket = this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_22, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true)) {
- this.cursor = ((this.limit - v_8) | 0);
- break lab27;
- }
- }
- break lab0;
- }
- this.cursor = ((this.limit - v_1) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_18, 8) === 0 ? false : true)) {
- return false;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_9 = ((this.limit - this.cursor) | 0);
- lab28 = true;
- lab28:
- while (lab28 === true) {
- lab28 = false;
- this.ket = this.cursor;
- lab29 = true;
- lab29:
- while (lab29 === true) {
- lab29 = false;
- v_10 = ((this.limit - this.cursor) | 0);
- lab30 = true;
- lab30:
- while (lab30 === true) {
- lab30 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_15, 4) === 0 ? false : true)) {
- break lab30;
- }
- break lab29;
- }
- this.cursor = ((this.limit - v_10) | 0);
- lab31 = true;
- lab31:
- while (lab31 === true) {
- lab31 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- break lab31;
- }
- break lab29;
- }
- this.cursor = ((this.limit - v_10) | 0);
- lab32 = true;
- lab32:
- while (lab32 === true) {
- lab32 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_12, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab32;
- }
- break lab29;
- }
- this.cursor = ((this.limit - v_10) | 0);
- lab33 = true;
- lab33:
- while (lab33 === true) {
- lab33 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_13, 4) === 0 ? false : true)) {
- break lab33;
- }
- break lab29;
- }
- this.cursor = ((this.limit - v_10) | 0);
- lab34 = true;
- lab34:
- while (lab34 === true) {
- lab34 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_14, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab34;
- }
- break lab29;
- }
- this.cursor = ((this.limit - v_10) | 0);
- }
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_22, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true)) {
- this.cursor = ((this.limit - v_9) | 0);
- break lab28;
- }
- }
- }
- this.bra = this.cursor;
- return (! BaseStemmer$slice_from$LBaseStemmer$S(this, "") ? false : true);
- };
- TurkishStemmer.prototype.r_stem_nominal_verb_suffixes = TurkishStemmer.prototype.r_stem_nominal_verb_suffixes$;
- function TurkishStemmer$r_stem_nominal_verb_suffixes$LTurkishStemmer$($this) {
- var v_1;
- var v_2;
- var v_3;
- var v_4;
- var v_5;
- var v_6;
- var v_7;
- var v_8;
- var v_9;
- var v_10;
- var lab0;
- var lab1;
- var lab2;
- var lab3;
- var lab4;
- var lab5;
- var lab6;
- var lab7;
- var lab8;
- var lab9;
- var lab10;
- var lab11;
- var lab12;
- var lab13;
- var lab14;
- var lab15;
- var lab16;
- var lab17;
- var lab18;
- var lab19;
- var lab20;
- var lab21;
- var lab22;
- var lab23;
- var lab24;
- var lab25;
- var lab26;
- var lab27;
- var lab28;
- var lab29;
- var lab30;
- var lab31;
- var lab32;
- var lab33;
- var lab34;
- $this.ket = $this.cursor;
- $this.B_continue_stemming_noun_suffixes = true;
- lab0 = true;
- lab0:
- while (lab0 === true) {
- lab0 = false;
- v_1 = (($this.limit - $this.cursor) | 0);
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- lab2 = true;
- lab2:
- while (lab2 === true) {
- lab2 = false;
- v_2 = (($this.limit - $this.cursor) | 0);
- lab3 = true;
- lab3:
- while (lab3 === true) {
- lab3 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_22, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab3;
- }
- break lab2;
- }
- $this.cursor = (($this.limit - v_2) | 0);
- lab4 = true;
- lab4:
- while (lab4 === true) {
- lab4 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_20, 32) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab4;
- }
- break lab2;
- }
- $this.cursor = (($this.limit - v_2) | 0);
- lab5 = true;
- lab5:
- while (lab5 === true) {
- lab5 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_21, 8) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab5;
- }
- break lab2;
- }
- $this.cursor = (($this.limit - v_2) | 0);
- if (! (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 3, "ken") ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab1;
- }
- }
- break lab0;
- }
- $this.cursor = (($this.limit - v_1) | 0);
- lab6 = true;
- lab6:
- while (lab6 === true) {
- lab6 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_19, 2) === 0 ? false : true)) {
- break lab6;
- }
- lab7 = true;
- lab7:
- while (lab7 === true) {
- lab7 = false;
- v_3 = (($this.limit - $this.cursor) | 0);
- lab8 = true;
- lab8:
- while (lab8 === true) {
- lab8 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_15, 4) === 0 ? false : true)) {
- break lab8;
- }
- break lab7;
- }
- $this.cursor = (($this.limit - v_3) | 0);
- lab9 = true;
- lab9:
- while (lab9 === true) {
- lab9 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- break lab9;
- }
- break lab7;
- }
- $this.cursor = (($this.limit - v_3) | 0);
- lab10 = true;
- lab10:
- while (lab10 === true) {
- lab10 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_12, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab10;
- }
- break lab7;
- }
- $this.cursor = (($this.limit - v_3) | 0);
- lab11 = true;
- lab11:
- while (lab11 === true) {
- lab11 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_13, 4) === 0 ? false : true)) {
- break lab11;
- }
- break lab7;
- }
- $this.cursor = (($this.limit - v_3) | 0);
- lab12 = true;
- lab12:
- while (lab12 === true) {
- lab12 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_14, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab12;
- }
- break lab7;
- }
- $this.cursor = (($this.limit - v_3) | 0);
- }
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_22, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab6;
- }
- break lab0;
- }
- $this.cursor = (($this.limit - v_1) | 0);
- lab13 = true;
- lab13:
- while (lab13 === true) {
- lab13 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- break lab13;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_4 = (($this.limit - $this.cursor) | 0);
- lab14 = true;
- lab14:
- while (lab14 === true) {
- lab14 = false;
- $this.ket = $this.cursor;
- lab15 = true;
- lab15:
- while (lab15 === true) {
- lab15 = false;
- v_5 = (($this.limit - $this.cursor) | 0);
- lab16 = true;
- lab16:
- while (lab16 === true) {
- lab16 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_18, 8) === 0 ? false : true)) {
- break lab16;
- }
- break lab15;
- }
- $this.cursor = (($this.limit - v_5) | 0);
- lab17 = true;
- lab17:
- while (lab17 === true) {
- lab17 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_20, 32) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab17;
- }
- break lab15;
- }
- $this.cursor = (($this.limit - v_5) | 0);
- lab18 = true;
- lab18:
- while (lab18 === true) {
- lab18 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_21, 8) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab18;
- }
- break lab15;
- }
- $this.cursor = (($this.limit - v_5) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_22, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true)) {
- $this.cursor = (($this.limit - v_4) | 0);
- break lab14;
- }
- }
- }
- $this.B_continue_stemming_noun_suffixes = false;
- break lab0;
- }
- $this.cursor = (($this.limit - v_1) | 0);
- lab19 = true;
- lab19:
- while (lab19 === true) {
- lab19 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_17, 4) === 0 ? false : true)) {
- break lab19;
- }
- lab20 = true;
- lab20:
- while (lab20 === true) {
- lab20 = false;
- v_6 = (($this.limit - $this.cursor) | 0);
- lab21 = true;
- lab21:
- while (lab21 === true) {
- lab21 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_20, 32) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab21;
- }
- break lab20;
- }
- $this.cursor = (($this.limit - v_6) | 0);
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_21, 8) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab19;
- }
- }
- break lab0;
- }
- $this.cursor = (($this.limit - v_1) | 0);
- lab22 = true;
- lab22:
- while (lab22 === true) {
- lab22 = false;
- lab23 = true;
- lab23:
- while (lab23 === true) {
- lab23 = false;
- v_7 = (($this.limit - $this.cursor) | 0);
- lab24 = true;
- lab24:
- while (lab24 === true) {
- lab24 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_15, 4) === 0 ? false : true)) {
- break lab24;
- }
- break lab23;
- }
- $this.cursor = (($this.limit - v_7) | 0);
- lab25 = true;
- lab25:
- while (lab25 === true) {
- lab25 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_14, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab25;
- }
- break lab23;
- }
- $this.cursor = (($this.limit - v_7) | 0);
- lab26 = true;
- lab26:
- while (lab26 === true) {
- lab26 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_13, 4) === 0 ? false : true)) {
- break lab26;
- }
- break lab23;
- }
- $this.cursor = (($this.limit - v_7) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_12, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab22;
- }
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_8 = (($this.limit - $this.cursor) | 0);
- lab27 = true;
- lab27:
- while (lab27 === true) {
- lab27 = false;
- $this.ket = $this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_22, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true)) {
- $this.cursor = (($this.limit - v_8) | 0);
- break lab27;
- }
- }
- break lab0;
- }
- $this.cursor = (($this.limit - v_1) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_18, 8) === 0 ? false : true)) {
- return false;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_9 = (($this.limit - $this.cursor) | 0);
- lab28 = true;
- lab28:
- while (lab28 === true) {
- lab28 = false;
- $this.ket = $this.cursor;
- lab29 = true;
- lab29:
- while (lab29 === true) {
- lab29 = false;
- v_10 = (($this.limit - $this.cursor) | 0);
- lab30 = true;
- lab30:
- while (lab30 === true) {
- lab30 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_15, 4) === 0 ? false : true)) {
- break lab30;
- }
- break lab29;
- }
- $this.cursor = (($this.limit - v_10) | 0);
- lab31 = true;
- lab31:
- while (lab31 === true) {
- lab31 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- break lab31;
- }
- break lab29;
- }
- $this.cursor = (($this.limit - v_10) | 0);
- lab32 = true;
- lab32:
- while (lab32 === true) {
- lab32 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_12, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab32;
- }
- break lab29;
- }
- $this.cursor = (($this.limit - v_10) | 0);
- lab33 = true;
- lab33:
- while (lab33 === true) {
- lab33 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_13, 4) === 0 ? false : true)) {
- break lab33;
- }
- break lab29;
- }
- $this.cursor = (($this.limit - v_10) | 0);
- lab34 = true;
- lab34:
- while (lab34 === true) {
- lab34 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_14, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab34;
- }
- break lab29;
- }
- $this.cursor = (($this.limit - v_10) | 0);
- }
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_22, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true)) {
- $this.cursor = (($this.limit - v_9) | 0);
- break lab28;
- }
- }
- }
- $this.bra = $this.cursor;
- return (! BaseStemmer$slice_from$LBaseStemmer$S($this, "") ? false : true);
- };
- TurkishStemmer.r_stem_nominal_verb_suffixes$LTurkishStemmer$ = TurkishStemmer$r_stem_nominal_verb_suffixes$LTurkishStemmer$;
- TurkishStemmer.prototype.r_stem_suffix_chain_before_ki$ = function () {
- var v_1;
- var v_2;
- var v_3;
- var v_4;
- var v_5;
- var v_6;
- var v_7;
- var v_8;
- var v_9;
- var v_10;
- var v_11;
- var lab0;
- var lab1;
- var lab2;
- var lab3;
- var lab4;
- var lab5;
- var lab6;
- var lab7;
- var lab8;
- var lab9;
- var lab10;
- var lab11;
- var lab12;
- var lab13;
- var lab14;
- var lab15;
- var lab16;
- var lab17;
- var lab18;
- this.ket = this.cursor;
- if (! (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 2, "ki") ? false : true)) {
- return false;
- }
- lab0 = true;
- lab0:
- while (lab0 === true) {
- lab0 = false;
- v_1 = ((this.limit - this.cursor) | 0);
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_6, 4) === 0 ? false : true)) {
- break lab1;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_2 = ((this.limit - this.cursor) | 0);
- lab2 = true;
- lab2:
- while (lab2 === true) {
- lab2 = false;
- this.ket = this.cursor;
- lab3 = true;
- lab3:
- while (lab3 === true) {
- lab3 = false;
- v_3 = ((this.limit - this.cursor) | 0);
- lab4 = true;
- lab4:
- while (lab4 === true) {
- lab4 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- break lab4;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_4 = ((this.limit - this.cursor) | 0);
- lab5 = true;
- lab5:
- while (lab5 === true) {
- lab5 = false;
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$(this)) {
- this.cursor = ((this.limit - v_4) | 0);
- break lab5;
- }
- }
- break lab3;
- }
- this.cursor = ((this.limit - v_3) | 0);
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_0, 10) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_U_vowel$LTurkishStemmer$(this) ? false : true)) {
- this.cursor = ((this.limit - v_2) | 0);
- break lab2;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_5 = ((this.limit - this.cursor) | 0);
- lab6 = true;
- lab6:
- while (lab6 === true) {
- lab6 = false;
- this.ket = this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- this.cursor = ((this.limit - v_5) | 0);
- break lab6;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$(this)) {
- this.cursor = ((this.limit - v_5) | 0);
- break lab6;
- }
- }
- }
- }
- break lab0;
- }
- this.cursor = ((this.limit - v_1) | 0);
- lab7 = true;
- lab7:
- while (lab7 === true) {
- lab7 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_3, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_n_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab7;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_6 = ((this.limit - this.cursor) | 0);
- lab8 = true;
- lab8:
- while (lab8 === true) {
- lab8 = false;
- this.ket = this.cursor;
- lab9 = true;
- lab9:
- while (lab9 === true) {
- lab9 = false;
- v_7 = ((this.limit - this.cursor) | 0);
- lab10 = true;
- lab10:
- while (lab10 === true) {
- lab10 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_1, 2) === 0 ? false : true)) {
- break lab10;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- break lab9;
- }
- this.cursor = ((this.limit - v_7) | 0);
- lab11 = true;
- lab11:
- while (lab11 === true) {
- lab11 = false;
- this.ket = this.cursor;
- lab12 = true;
- lab12:
- while (lab12 === true) {
- lab12 = false;
- v_8 = ((this.limit - this.cursor) | 0);
- lab13 = true;
- lab13:
- while (lab13 === true) {
- lab13 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_0, 10) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_U_vowel$LTurkishStemmer$(this) ? false : true)) {
- break lab13;
- }
- break lab12;
- }
- this.cursor = ((this.limit - v_8) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : ! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_U, 105, 305) ? false : ! TurkishStemmer$r_mark_suffix_with_optional_s_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab11;
- }
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_9 = ((this.limit - this.cursor) | 0);
- lab14 = true;
- lab14:
- while (lab14 === true) {
- lab14 = false;
- this.ket = this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- this.cursor = ((this.limit - v_9) | 0);
- break lab14;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$(this)) {
- this.cursor = ((this.limit - v_9) | 0);
- break lab14;
- }
- }
- break lab9;
- }
- this.cursor = ((this.limit - v_7) | 0);
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$(this)) {
- this.cursor = ((this.limit - v_6) | 0);
- break lab8;
- }
- }
- }
- break lab0;
- }
- this.cursor = ((this.limit - v_1) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_7, 2) === 0 ? false : true)) {
- return false;
- }
- lab15 = true;
- lab15:
- while (lab15 === true) {
- lab15 = false;
- v_10 = ((this.limit - this.cursor) | 0);
- lab16 = true;
- lab16:
- while (lab16 === true) {
- lab16 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_1, 2) === 0 ? false : true)) {
- break lab16;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- break lab15;
- }
- this.cursor = ((this.limit - v_10) | 0);
- lab17 = true;
- lab17:
- while (lab17 === true) {
- lab17 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : ! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_U, 105, 305) ? false : ! TurkishStemmer$r_mark_suffix_with_optional_s_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab17;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_11 = ((this.limit - this.cursor) | 0);
- lab18 = true;
- lab18:
- while (lab18 === true) {
- lab18 = false;
- this.ket = this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- this.cursor = ((this.limit - v_11) | 0);
- break lab18;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$(this)) {
- this.cursor = ((this.limit - v_11) | 0);
- break lab18;
- }
- }
- break lab15;
- }
- this.cursor = ((this.limit - v_10) | 0);
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$(this)) {
- return false;
- }
- }
- }
- return true;
- };
- TurkishStemmer.prototype.r_stem_suffix_chain_before_ki = TurkishStemmer.prototype.r_stem_suffix_chain_before_ki$;
- function TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this) {
- var v_1;
- var v_2;
- var v_3;
- var v_4;
- var v_5;
- var v_6;
- var v_7;
- var v_8;
- var v_9;
- var v_10;
- var v_11;
- var lab0;
- var lab1;
- var lab2;
- var lab3;
- var lab4;
- var lab5;
- var lab6;
- var lab7;
- var lab8;
- var lab9;
- var lab10;
- var lab11;
- var lab12;
- var lab13;
- var lab14;
- var lab15;
- var lab16;
- var lab17;
- var lab18;
- $this.ket = $this.cursor;
- if (! (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 2, "ki") ? false : true)) {
- return false;
- }
- lab0 = true;
- lab0:
- while (lab0 === true) {
- lab0 = false;
- v_1 = (($this.limit - $this.cursor) | 0);
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_6, 4) === 0 ? false : true)) {
- break lab1;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_2 = (($this.limit - $this.cursor) | 0);
- lab2 = true;
- lab2:
- while (lab2 === true) {
- lab2 = false;
- $this.ket = $this.cursor;
- lab3 = true;
- lab3:
- while (lab3 === true) {
- lab3 = false;
- v_3 = (($this.limit - $this.cursor) | 0);
- lab4 = true;
- lab4:
- while (lab4 === true) {
- lab4 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- break lab4;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_4 = (($this.limit - $this.cursor) | 0);
- lab5 = true;
- lab5:
- while (lab5 === true) {
- lab5 = false;
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this)) {
- $this.cursor = (($this.limit - v_4) | 0);
- break lab5;
- }
- }
- break lab3;
- }
- $this.cursor = (($this.limit - v_3) | 0);
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_0, 10) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_U_vowel$LTurkishStemmer$($this) ? false : true)) {
- $this.cursor = (($this.limit - v_2) | 0);
- break lab2;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_5 = (($this.limit - $this.cursor) | 0);
- lab6 = true;
- lab6:
- while (lab6 === true) {
- lab6 = false;
- $this.ket = $this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- $this.cursor = (($this.limit - v_5) | 0);
- break lab6;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this)) {
- $this.cursor = (($this.limit - v_5) | 0);
- break lab6;
- }
- }
- }
- }
- break lab0;
- }
- $this.cursor = (($this.limit - v_1) | 0);
- lab7 = true;
- lab7:
- while (lab7 === true) {
- lab7 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_3, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_n_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab7;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_6 = (($this.limit - $this.cursor) | 0);
- lab8 = true;
- lab8:
- while (lab8 === true) {
- lab8 = false;
- $this.ket = $this.cursor;
- lab9 = true;
- lab9:
- while (lab9 === true) {
- lab9 = false;
- v_7 = (($this.limit - $this.cursor) | 0);
- lab10 = true;
- lab10:
- while (lab10 === true) {
- lab10 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_1, 2) === 0 ? false : true)) {
- break lab10;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- break lab9;
- }
- $this.cursor = (($this.limit - v_7) | 0);
- lab11 = true;
- lab11:
- while (lab11 === true) {
- lab11 = false;
- $this.ket = $this.cursor;
- lab12 = true;
- lab12:
- while (lab12 === true) {
- lab12 = false;
- v_8 = (($this.limit - $this.cursor) | 0);
- lab13 = true;
- lab13:
- while (lab13 === true) {
- lab13 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_0, 10) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_U_vowel$LTurkishStemmer$($this) ? false : true)) {
- break lab13;
- }
- break lab12;
- }
- $this.cursor = (($this.limit - v_8) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : ! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_U, 105, 305) ? false : ! TurkishStemmer$r_mark_suffix_with_optional_s_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab11;
- }
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_9 = (($this.limit - $this.cursor) | 0);
- lab14 = true;
- lab14:
- while (lab14 === true) {
- lab14 = false;
- $this.ket = $this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- $this.cursor = (($this.limit - v_9) | 0);
- break lab14;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this)) {
- $this.cursor = (($this.limit - v_9) | 0);
- break lab14;
- }
- }
- break lab9;
- }
- $this.cursor = (($this.limit - v_7) | 0);
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this)) {
- $this.cursor = (($this.limit - v_6) | 0);
- break lab8;
- }
- }
- }
- break lab0;
- }
- $this.cursor = (($this.limit - v_1) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_7, 2) === 0 ? false : true)) {
- return false;
- }
- lab15 = true;
- lab15:
- while (lab15 === true) {
- lab15 = false;
- v_10 = (($this.limit - $this.cursor) | 0);
- lab16 = true;
- lab16:
- while (lab16 === true) {
- lab16 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_1, 2) === 0 ? false : true)) {
- break lab16;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- break lab15;
- }
- $this.cursor = (($this.limit - v_10) | 0);
- lab17 = true;
- lab17:
- while (lab17 === true) {
- lab17 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : ! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_U, 105, 305) ? false : ! TurkishStemmer$r_mark_suffix_with_optional_s_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab17;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_11 = (($this.limit - $this.cursor) | 0);
- lab18 = true;
- lab18:
- while (lab18 === true) {
- lab18 = false;
- $this.ket = $this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- $this.cursor = (($this.limit - v_11) | 0);
- break lab18;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this)) {
- $this.cursor = (($this.limit - v_11) | 0);
- break lab18;
- }
- }
- break lab15;
- }
- $this.cursor = (($this.limit - v_10) | 0);
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this)) {
- return false;
- }
- }
- }
- return true;
- };
- TurkishStemmer.r_stem_suffix_chain_before_ki$LTurkishStemmer$ = TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$;
- TurkishStemmer.prototype.r_stem_noun_suffixes$ = function () {
- var v_1;
- var v_2;
- var v_3;
- var v_4;
- var v_5;
- var v_6;
- var v_7;
- var v_8;
- var v_9;
- var v_10;
- var v_11;
- var v_12;
- var v_13;
- var v_14;
- var v_15;
- var v_16;
- var v_17;
- var v_18;
- var v_19;
- var v_20;
- var v_21;
- var v_22;
- var v_23;
- var v_24;
- var v_25;
- var v_26;
- var v_27;
- var lab0;
- var lab1;
- var lab2;
- var lab3;
- var lab4;
- var lab5;
- var lab6;
- var lab7;
- var lab8;
- var lab9;
- var lab10;
- var lab11;
- var lab12;
- var lab13;
- var lab14;
- var lab15;
- var lab16;
- var lab17;
- var lab18;
- var lab19;
- var lab20;
- var lab21;
- var lab22;
- var lab23;
- var lab24;
- var lab25;
- var lab26;
- var lab27;
- var lab28;
- var lab29;
- var lab30;
- var lab31;
- var lab32;
- var lab33;
- var lab34;
- var lab35;
- var lab36;
- var lab37;
- var lab38;
- var lab39;
- var lab40;
- var lab41;
- var lab42;
- var lab43;
- var lab44;
- var lab45;
- var lab46;
- var lab47;
- var lab48;
- var lab49;
- var lab50;
- var lab51;
- var lab52;
- var lab53;
- var cursor$0;
- var cursor$1;
- lab0 = true;
- lab0:
- while (lab0 === true) {
- lab0 = false;
- v_1 = ((this.limit - this.cursor) | 0);
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- this.ket = this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- break lab1;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_2 = ((this.limit - this.cursor) | 0);
- lab2 = true;
- lab2:
- while (lab2 === true) {
- lab2 = false;
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$(this)) {
- this.cursor = ((this.limit - v_2) | 0);
- break lab2;
- }
- }
- break lab0;
- }
- this.cursor = ((this.limit - v_1) | 0);
- lab3 = true;
- lab3:
- while (lab3 === true) {
- lab3 = false;
- this.ket = this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_11, 2) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_n_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab3;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_3 = ((this.limit - this.cursor) | 0);
- lab4 = true;
- lab4:
- while (lab4 === true) {
- lab4 = false;
- lab5 = true;
- lab5:
- while (lab5 === true) {
- lab5 = false;
- v_4 = ((this.limit - this.cursor) | 0);
- lab6 = true;
- lab6:
- while (lab6 === true) {
- lab6 = false;
- this.ket = this.cursor;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_1, 2) === 0 ? false : true)) {
- break lab6;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- break lab5;
- }
- this.cursor = ((this.limit - v_4) | 0);
- lab7 = true;
- lab7:
- while (lab7 === true) {
- lab7 = false;
- this.ket = this.cursor;
- lab8 = true;
- lab8:
- while (lab8 === true) {
- lab8 = false;
- v_5 = ((this.limit - this.cursor) | 0);
- lab9 = true;
- lab9:
- while (lab9 === true) {
- lab9 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_0, 10) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_U_vowel$LTurkishStemmer$(this) ? false : true)) {
- break lab9;
- }
- break lab8;
- }
- this.cursor = ((this.limit - v_5) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : ! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_U, 105, 305) ? false : ! TurkishStemmer$r_mark_suffix_with_optional_s_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab7;
- }
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_6 = ((this.limit - this.cursor) | 0);
- lab10 = true;
- lab10:
- while (lab10 === true) {
- lab10 = false;
- this.ket = this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- this.cursor = ((this.limit - v_6) | 0);
- break lab10;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$(this)) {
- this.cursor = ((this.limit - v_6) | 0);
- break lab10;
- }
- }
- break lab5;
- }
- cursor$0 = this.cursor = ((this.limit - v_4) | 0);
- this.ket = cursor$0;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- this.cursor = ((this.limit - v_3) | 0);
- break lab4;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$(this)) {
- this.cursor = ((this.limit - v_3) | 0);
- break lab4;
- }
- }
- }
- break lab0;
- }
- this.cursor = ((this.limit - v_1) | 0);
- lab11 = true;
- lab11:
- while (lab11 === true) {
- lab11 = false;
- this.ket = this.cursor;
- lab12 = true;
- lab12:
- while (lab12 === true) {
- lab12 = false;
- v_7 = ((this.limit - this.cursor) | 0);
- lab13 = true;
- lab13:
- while (lab13 === true) {
- lab13 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_7, 2) === 0 ? false : true)) {
- break lab13;
- }
- break lab12;
- }
- this.cursor = ((this.limit - v_7) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_5, 2) === 0 ? false : true)) {
- break lab11;
- }
- }
- lab14 = true;
- lab14:
- while (lab14 === true) {
- lab14 = false;
- v_8 = ((this.limit - this.cursor) | 0);
- lab15 = true;
- lab15:
- while (lab15 === true) {
- lab15 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_1, 2) === 0 ? false : true)) {
- break lab15;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- break lab14;
- }
- this.cursor = ((this.limit - v_8) | 0);
- lab16 = true;
- lab16:
- while (lab16 === true) {
- lab16 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : ! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_U, 105, 305) ? false : ! TurkishStemmer$r_mark_suffix_with_optional_s_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab16;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_9 = ((this.limit - this.cursor) | 0);
- lab17 = true;
- lab17:
- while (lab17 === true) {
- lab17 = false;
- this.ket = this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- this.cursor = ((this.limit - v_9) | 0);
- break lab17;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$(this)) {
- this.cursor = ((this.limit - v_9) | 0);
- break lab17;
- }
- }
- break lab14;
- }
- this.cursor = ((this.limit - v_8) | 0);
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$(this)) {
- break lab11;
- }
- }
- break lab0;
- }
- this.cursor = ((this.limit - v_1) | 0);
- lab18 = true;
- lab18:
- while (lab18 === true) {
- lab18 = false;
- this.ket = this.cursor;
- lab19 = true;
- lab19:
- while (lab19 === true) {
- lab19 = false;
- v_10 = ((this.limit - this.cursor) | 0);
- lab20 = true;
- lab20:
- while (lab20 === true) {
- lab20 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_9, 2) === 0 ? false : true)) {
- break lab20;
- }
- break lab19;
- }
- this.cursor = ((this.limit - v_10) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_2, 4) === 0 ? false : true)) {
- break lab18;
- }
- }
- lab21 = true;
- lab21:
- while (lab21 === true) {
- lab21 = false;
- v_11 = ((this.limit - this.cursor) | 0);
- lab22 = true;
- lab22:
- while (lab22 === true) {
- lab22 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : ! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_U, 105, 305) ? false : ! TurkishStemmer$r_mark_suffix_with_optional_s_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab22;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_12 = ((this.limit - this.cursor) | 0);
- lab23 = true;
- lab23:
- while (lab23 === true) {
- lab23 = false;
- this.ket = this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- this.cursor = ((this.limit - v_12) | 0);
- break lab23;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$(this)) {
- this.cursor = ((this.limit - v_12) | 0);
- break lab23;
- }
- }
- break lab21;
- }
- this.cursor = ((this.limit - v_11) | 0);
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_1, 2) === 0 ? false : true)) {
- break lab18;
- }
- }
- break lab0;
- }
- this.cursor = ((this.limit - v_1) | 0);
- lab24 = true;
- lab24:
- while (lab24 === true) {
- lab24 = false;
- this.ket = this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_8, 4) === 0 ? false : true)) {
- break lab24;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_13 = ((this.limit - this.cursor) | 0);
- lab25 = true;
- lab25:
- while (lab25 === true) {
- lab25 = false;
- this.ket = this.cursor;
- lab26 = true;
- lab26:
- while (lab26 === true) {
- lab26 = false;
- v_14 = ((this.limit - this.cursor) | 0);
- lab27 = true;
- lab27:
- while (lab27 === true) {
- lab27 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_0, 10) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_U_vowel$LTurkishStemmer$(this) ? false : true)) {
- break lab27;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_15 = ((this.limit - this.cursor) | 0);
- lab28 = true;
- lab28:
- while (lab28 === true) {
- lab28 = false;
- this.ket = this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- this.cursor = ((this.limit - v_15) | 0);
- break lab28;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$(this)) {
- this.cursor = ((this.limit - v_15) | 0);
- break lab28;
- }
- }
- break lab26;
- }
- this.cursor = ((this.limit - v_14) | 0);
- lab29 = true;
- lab29:
- while (lab29 === true) {
- lab29 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- break lab29;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_16 = ((this.limit - this.cursor) | 0);
- lab30 = true;
- lab30:
- while (lab30 === true) {
- lab30 = false;
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$(this)) {
- this.cursor = ((this.limit - v_16) | 0);
- break lab30;
- }
- }
- break lab26;
- }
- this.cursor = ((this.limit - v_14) | 0);
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$(this)) {
- this.cursor = ((this.limit - v_13) | 0);
- break lab25;
- }
- }
- }
- break lab0;
- }
- this.cursor = ((this.limit - v_1) | 0);
- lab31 = true;
- lab31:
- while (lab31 === true) {
- lab31 = false;
- this.ket = this.cursor;
- lab32 = true;
- lab32:
- while (lab32 === true) {
- lab32 = false;
- v_17 = ((this.limit - this.cursor) | 0);
- lab33 = true;
- lab33:
- while (lab33 === true) {
- lab33 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_3, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_n_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab33;
- }
- break lab32;
- }
- this.cursor = ((this.limit - v_17) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_10, 2) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab31;
- }
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_18 = ((this.limit - this.cursor) | 0);
- lab34 = true;
- lab34:
- while (lab34 === true) {
- lab34 = false;
- lab35 = true;
- lab35:
- while (lab35 === true) {
- lab35 = false;
- v_19 = ((this.limit - this.cursor) | 0);
- lab36 = true;
- lab36:
- while (lab36 === true) {
- lab36 = false;
- this.ket = this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- break lab36;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$(this)) {
- break lab36;
- }
- break lab35;
- }
- this.cursor = ((this.limit - v_19) | 0);
- lab37 = true;
- lab37:
- while (lab37 === true) {
- lab37 = false;
- this.ket = this.cursor;
- lab38 = true;
- lab38:
- while (lab38 === true) {
- lab38 = false;
- v_20 = ((this.limit - this.cursor) | 0);
- lab39 = true;
- lab39:
- while (lab39 === true) {
- lab39 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_0, 10) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_U_vowel$LTurkishStemmer$(this) ? false : true)) {
- break lab39;
- }
- break lab38;
- }
- this.cursor = ((this.limit - v_20) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : ! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_U, 105, 305) ? false : ! TurkishStemmer$r_mark_suffix_with_optional_s_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab37;
- }
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_21 = ((this.limit - this.cursor) | 0);
- lab40 = true;
- lab40:
- while (lab40 === true) {
- lab40 = false;
- this.ket = this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- this.cursor = ((this.limit - v_21) | 0);
- break lab40;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$(this)) {
- this.cursor = ((this.limit - v_21) | 0);
- break lab40;
- }
- }
- break lab35;
- }
- this.cursor = ((this.limit - v_19) | 0);
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$(this)) {
- this.cursor = ((this.limit - v_18) | 0);
- break lab34;
- }
- }
- }
- break lab0;
- }
- this.cursor = ((this.limit - v_1) | 0);
- lab41 = true;
- lab41:
- while (lab41 === true) {
- lab41 = false;
- this.ket = this.cursor;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_1, 2) === 0 ? false : true)) {
- break lab41;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- break lab0;
- }
- this.cursor = ((this.limit - v_1) | 0);
- lab42 = true;
- lab42:
- while (lab42 === true) {
- lab42 = false;
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$(this)) {
- break lab42;
- }
- break lab0;
- }
- this.cursor = ((this.limit - v_1) | 0);
- lab43 = true;
- lab43:
- while (lab43 === true) {
- lab43 = false;
- this.ket = this.cursor;
- lab44 = true;
- lab44:
- while (lab44 === true) {
- lab44 = false;
- v_22 = ((this.limit - this.cursor) | 0);
- lab45 = true;
- lab45:
- while (lab45 === true) {
- lab45 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_6, 4) === 0 ? false : true)) {
- break lab45;
- }
- break lab44;
- }
- this.cursor = ((this.limit - v_22) | 0);
- lab46 = true;
- lab46:
- while (lab46 === true) {
- lab46 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : ! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_U, 105, 305) ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab46;
- }
- break lab44;
- }
- this.cursor = ((this.limit - v_22) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_4, 2) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$(this) ? false : true)) {
- break lab43;
- }
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_23 = ((this.limit - this.cursor) | 0);
- lab47 = true;
- lab47:
- while (lab47 === true) {
- lab47 = false;
- this.ket = this.cursor;
- lab48 = true;
- lab48:
- while (lab48 === true) {
- lab48 = false;
- v_24 = ((this.limit - this.cursor) | 0);
- lab49 = true;
- lab49:
- while (lab49 === true) {
- lab49 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_0, 10) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_U_vowel$LTurkishStemmer$(this) ? false : true)) {
- break lab49;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_25 = ((this.limit - this.cursor) | 0);
- lab50 = true;
- lab50:
- while (lab50 === true) {
- lab50 = false;
- this.ket = this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- this.cursor = ((this.limit - v_25) | 0);
- break lab50;
- }
- }
- break lab48;
- }
- this.cursor = ((this.limit - v_24) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- this.cursor = ((this.limit - v_23) | 0);
- break lab47;
- }
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- this.ket = this.cursor;
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$(this)) {
- this.cursor = ((this.limit - v_23) | 0);
- break lab47;
- }
- }
- break lab0;
- }
- cursor$1 = this.cursor = ((this.limit - v_1) | 0);
- this.ket = cursor$1;
- lab51 = true;
- lab51:
- while (lab51 === true) {
- lab51 = false;
- v_26 = ((this.limit - this.cursor) | 0);
- lab52 = true;
- lab52:
- while (lab52 === true) {
- lab52 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_0, 10) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_U_vowel$LTurkishStemmer$(this) ? false : true)) {
- break lab52;
- }
- break lab51;
- }
- this.cursor = ((this.limit - v_26) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : ! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_U, 105, 305) ? false : ! TurkishStemmer$r_mark_suffix_with_optional_s_consonant$LTurkishStemmer$(this) ? false : true)) {
- return false;
- }
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- v_27 = ((this.limit - this.cursor) | 0);
- lab53 = true;
- lab53:
- while (lab53 === true) {
- lab53 = false;
- this.ket = this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$(this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- this.cursor = ((this.limit - v_27) | 0);
- break lab53;
- }
- this.bra = this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$(this)) {
- this.cursor = ((this.limit - v_27) | 0);
- break lab53;
- }
- }
- }
- return true;
- };
- TurkishStemmer.prototype.r_stem_noun_suffixes = TurkishStemmer.prototype.r_stem_noun_suffixes$;
- function TurkishStemmer$r_stem_noun_suffixes$LTurkishStemmer$($this) {
- var v_1;
- var v_2;
- var v_3;
- var v_4;
- var v_5;
- var v_6;
- var v_7;
- var v_8;
- var v_9;
- var v_10;
- var v_11;
- var v_12;
- var v_13;
- var v_14;
- var v_15;
- var v_16;
- var v_17;
- var v_18;
- var v_19;
- var v_20;
- var v_21;
- var v_22;
- var v_23;
- var v_24;
- var v_25;
- var v_26;
- var v_27;
- var lab0;
- var lab1;
- var lab2;
- var lab3;
- var lab4;
- var lab5;
- var lab6;
- var lab7;
- var lab8;
- var lab9;
- var lab10;
- var lab11;
- var lab12;
- var lab13;
- var lab14;
- var lab15;
- var lab16;
- var lab17;
- var lab18;
- var lab19;
- var lab20;
- var lab21;
- var lab22;
- var lab23;
- var lab24;
- var lab25;
- var lab26;
- var lab27;
- var lab28;
- var lab29;
- var lab30;
- var lab31;
- var lab32;
- var lab33;
- var lab34;
- var lab35;
- var lab36;
- var lab37;
- var lab38;
- var lab39;
- var lab40;
- var lab41;
- var lab42;
- var lab43;
- var lab44;
- var lab45;
- var lab46;
- var lab47;
- var lab48;
- var lab49;
- var lab50;
- var lab51;
- var lab52;
- var lab53;
- var cursor$0;
- var cursor$1;
- lab0 = true;
- lab0:
- while (lab0 === true) {
- lab0 = false;
- v_1 = (($this.limit - $this.cursor) | 0);
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- $this.ket = $this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- break lab1;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_2 = (($this.limit - $this.cursor) | 0);
- lab2 = true;
- lab2:
- while (lab2 === true) {
- lab2 = false;
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this)) {
- $this.cursor = (($this.limit - v_2) | 0);
- break lab2;
- }
- }
- break lab0;
- }
- $this.cursor = (($this.limit - v_1) | 0);
- lab3 = true;
- lab3:
- while (lab3 === true) {
- lab3 = false;
- $this.ket = $this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_11, 2) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_n_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab3;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_3 = (($this.limit - $this.cursor) | 0);
- lab4 = true;
- lab4:
- while (lab4 === true) {
- lab4 = false;
- lab5 = true;
- lab5:
- while (lab5 === true) {
- lab5 = false;
- v_4 = (($this.limit - $this.cursor) | 0);
- lab6 = true;
- lab6:
- while (lab6 === true) {
- lab6 = false;
- $this.ket = $this.cursor;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_1, 2) === 0 ? false : true)) {
- break lab6;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- break lab5;
- }
- $this.cursor = (($this.limit - v_4) | 0);
- lab7 = true;
- lab7:
- while (lab7 === true) {
- lab7 = false;
- $this.ket = $this.cursor;
- lab8 = true;
- lab8:
- while (lab8 === true) {
- lab8 = false;
- v_5 = (($this.limit - $this.cursor) | 0);
- lab9 = true;
- lab9:
- while (lab9 === true) {
- lab9 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_0, 10) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_U_vowel$LTurkishStemmer$($this) ? false : true)) {
- break lab9;
- }
- break lab8;
- }
- $this.cursor = (($this.limit - v_5) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : ! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_U, 105, 305) ? false : ! TurkishStemmer$r_mark_suffix_with_optional_s_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab7;
- }
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_6 = (($this.limit - $this.cursor) | 0);
- lab10 = true;
- lab10:
- while (lab10 === true) {
- lab10 = false;
- $this.ket = $this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- $this.cursor = (($this.limit - v_6) | 0);
- break lab10;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this)) {
- $this.cursor = (($this.limit - v_6) | 0);
- break lab10;
- }
- }
- break lab5;
- }
- cursor$0 = $this.cursor = (($this.limit - v_4) | 0);
- $this.ket = cursor$0;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- $this.cursor = (($this.limit - v_3) | 0);
- break lab4;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this)) {
- $this.cursor = (($this.limit - v_3) | 0);
- break lab4;
- }
- }
- }
- break lab0;
- }
- $this.cursor = (($this.limit - v_1) | 0);
- lab11 = true;
- lab11:
- while (lab11 === true) {
- lab11 = false;
- $this.ket = $this.cursor;
- lab12 = true;
- lab12:
- while (lab12 === true) {
- lab12 = false;
- v_7 = (($this.limit - $this.cursor) | 0);
- lab13 = true;
- lab13:
- while (lab13 === true) {
- lab13 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_7, 2) === 0 ? false : true)) {
- break lab13;
- }
- break lab12;
- }
- $this.cursor = (($this.limit - v_7) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_5, 2) === 0 ? false : true)) {
- break lab11;
- }
- }
- lab14 = true;
- lab14:
- while (lab14 === true) {
- lab14 = false;
- v_8 = (($this.limit - $this.cursor) | 0);
- lab15 = true;
- lab15:
- while (lab15 === true) {
- lab15 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_1, 2) === 0 ? false : true)) {
- break lab15;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- break lab14;
- }
- $this.cursor = (($this.limit - v_8) | 0);
- lab16 = true;
- lab16:
- while (lab16 === true) {
- lab16 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : ! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_U, 105, 305) ? false : ! TurkishStemmer$r_mark_suffix_with_optional_s_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab16;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_9 = (($this.limit - $this.cursor) | 0);
- lab17 = true;
- lab17:
- while (lab17 === true) {
- lab17 = false;
- $this.ket = $this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- $this.cursor = (($this.limit - v_9) | 0);
- break lab17;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this)) {
- $this.cursor = (($this.limit - v_9) | 0);
- break lab17;
- }
- }
- break lab14;
- }
- $this.cursor = (($this.limit - v_8) | 0);
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this)) {
- break lab11;
- }
- }
- break lab0;
- }
- $this.cursor = (($this.limit - v_1) | 0);
- lab18 = true;
- lab18:
- while (lab18 === true) {
- lab18 = false;
- $this.ket = $this.cursor;
- lab19 = true;
- lab19:
- while (lab19 === true) {
- lab19 = false;
- v_10 = (($this.limit - $this.cursor) | 0);
- lab20 = true;
- lab20:
- while (lab20 === true) {
- lab20 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_9, 2) === 0 ? false : true)) {
- break lab20;
- }
- break lab19;
- }
- $this.cursor = (($this.limit - v_10) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_2, 4) === 0 ? false : true)) {
- break lab18;
- }
- }
- lab21 = true;
- lab21:
- while (lab21 === true) {
- lab21 = false;
- v_11 = (($this.limit - $this.cursor) | 0);
- lab22 = true;
- lab22:
- while (lab22 === true) {
- lab22 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : ! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_U, 105, 305) ? false : ! TurkishStemmer$r_mark_suffix_with_optional_s_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab22;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_12 = (($this.limit - $this.cursor) | 0);
- lab23 = true;
- lab23:
- while (lab23 === true) {
- lab23 = false;
- $this.ket = $this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- $this.cursor = (($this.limit - v_12) | 0);
- break lab23;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this)) {
- $this.cursor = (($this.limit - v_12) | 0);
- break lab23;
- }
- }
- break lab21;
- }
- $this.cursor = (($this.limit - v_11) | 0);
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_1, 2) === 0 ? false : true)) {
- break lab18;
- }
- }
- break lab0;
- }
- $this.cursor = (($this.limit - v_1) | 0);
- lab24 = true;
- lab24:
- while (lab24 === true) {
- lab24 = false;
- $this.ket = $this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_8, 4) === 0 ? false : true)) {
- break lab24;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_13 = (($this.limit - $this.cursor) | 0);
- lab25 = true;
- lab25:
- while (lab25 === true) {
- lab25 = false;
- $this.ket = $this.cursor;
- lab26 = true;
- lab26:
- while (lab26 === true) {
- lab26 = false;
- v_14 = (($this.limit - $this.cursor) | 0);
- lab27 = true;
- lab27:
- while (lab27 === true) {
- lab27 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_0, 10) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_U_vowel$LTurkishStemmer$($this) ? false : true)) {
- break lab27;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_15 = (($this.limit - $this.cursor) | 0);
- lab28 = true;
- lab28:
- while (lab28 === true) {
- lab28 = false;
- $this.ket = $this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- $this.cursor = (($this.limit - v_15) | 0);
- break lab28;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this)) {
- $this.cursor = (($this.limit - v_15) | 0);
- break lab28;
- }
- }
- break lab26;
- }
- $this.cursor = (($this.limit - v_14) | 0);
- lab29 = true;
- lab29:
- while (lab29 === true) {
- lab29 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- break lab29;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_16 = (($this.limit - $this.cursor) | 0);
- lab30 = true;
- lab30:
- while (lab30 === true) {
- lab30 = false;
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this)) {
- $this.cursor = (($this.limit - v_16) | 0);
- break lab30;
- }
- }
- break lab26;
- }
- $this.cursor = (($this.limit - v_14) | 0);
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this)) {
- $this.cursor = (($this.limit - v_13) | 0);
- break lab25;
- }
- }
- }
- break lab0;
- }
- $this.cursor = (($this.limit - v_1) | 0);
- lab31 = true;
- lab31:
- while (lab31 === true) {
- lab31 = false;
- $this.ket = $this.cursor;
- lab32 = true;
- lab32:
- while (lab32 === true) {
- lab32 = false;
- v_17 = (($this.limit - $this.cursor) | 0);
- lab33 = true;
- lab33:
- while (lab33 === true) {
- lab33 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_3, 4) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_n_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab33;
- }
- break lab32;
- }
- $this.cursor = (($this.limit - v_17) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_10, 2) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab31;
- }
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_18 = (($this.limit - $this.cursor) | 0);
- lab34 = true;
- lab34:
- while (lab34 === true) {
- lab34 = false;
- lab35 = true;
- lab35:
- while (lab35 === true) {
- lab35 = false;
- v_19 = (($this.limit - $this.cursor) | 0);
- lab36 = true;
- lab36:
- while (lab36 === true) {
- lab36 = false;
- $this.ket = $this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- break lab36;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this)) {
- break lab36;
- }
- break lab35;
- }
- $this.cursor = (($this.limit - v_19) | 0);
- lab37 = true;
- lab37:
- while (lab37 === true) {
- lab37 = false;
- $this.ket = $this.cursor;
- lab38 = true;
- lab38:
- while (lab38 === true) {
- lab38 = false;
- v_20 = (($this.limit - $this.cursor) | 0);
- lab39 = true;
- lab39:
- while (lab39 === true) {
- lab39 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_0, 10) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_U_vowel$LTurkishStemmer$($this) ? false : true)) {
- break lab39;
- }
- break lab38;
- }
- $this.cursor = (($this.limit - v_20) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : ! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_U, 105, 305) ? false : ! TurkishStemmer$r_mark_suffix_with_optional_s_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab37;
- }
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_21 = (($this.limit - $this.cursor) | 0);
- lab40 = true;
- lab40:
- while (lab40 === true) {
- lab40 = false;
- $this.ket = $this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- $this.cursor = (($this.limit - v_21) | 0);
- break lab40;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this)) {
- $this.cursor = (($this.limit - v_21) | 0);
- break lab40;
- }
- }
- break lab35;
- }
- $this.cursor = (($this.limit - v_19) | 0);
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this)) {
- $this.cursor = (($this.limit - v_18) | 0);
- break lab34;
- }
- }
- }
- break lab0;
- }
- $this.cursor = (($this.limit - v_1) | 0);
- lab41 = true;
- lab41:
- while (lab41 === true) {
- lab41 = false;
- $this.ket = $this.cursor;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_1, 2) === 0 ? false : true)) {
- break lab41;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- break lab0;
- }
- $this.cursor = (($this.limit - v_1) | 0);
- lab42 = true;
- lab42:
- while (lab42 === true) {
- lab42 = false;
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this)) {
- break lab42;
- }
- break lab0;
- }
- $this.cursor = (($this.limit - v_1) | 0);
- lab43 = true;
- lab43:
- while (lab43 === true) {
- lab43 = false;
- $this.ket = $this.cursor;
- lab44 = true;
- lab44:
- while (lab44 === true) {
- lab44 = false;
- v_22 = (($this.limit - $this.cursor) | 0);
- lab45 = true;
- lab45:
- while (lab45 === true) {
- lab45 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_6, 4) === 0 ? false : true)) {
- break lab45;
- }
- break lab44;
- }
- $this.cursor = (($this.limit - v_22) | 0);
- lab46 = true;
- lab46:
- while (lab46 === true) {
- lab46 = false;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : ! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_U, 105, 305) ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab46;
- }
- break lab44;
- }
- $this.cursor = (($this.limit - v_22) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_4, 2) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_y_consonant$LTurkishStemmer$($this) ? false : true)) {
- break lab43;
- }
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_23 = (($this.limit - $this.cursor) | 0);
- lab47 = true;
- lab47:
- while (lab47 === true) {
- lab47 = false;
- $this.ket = $this.cursor;
- lab48 = true;
- lab48:
- while (lab48 === true) {
- lab48 = false;
- v_24 = (($this.limit - $this.cursor) | 0);
- lab49 = true;
- lab49:
- while (lab49 === true) {
- lab49 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_0, 10) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_U_vowel$LTurkishStemmer$($this) ? false : true)) {
- break lab49;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_25 = (($this.limit - $this.cursor) | 0);
- lab50 = true;
- lab50:
- while (lab50 === true) {
- lab50 = false;
- $this.ket = $this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- $this.cursor = (($this.limit - v_25) | 0);
- break lab50;
- }
- }
- break lab48;
- }
- $this.cursor = (($this.limit - v_24) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- $this.cursor = (($this.limit - v_23) | 0);
- break lab47;
- }
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- $this.ket = $this.cursor;
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this)) {
- $this.cursor = (($this.limit - v_23) | 0);
- break lab47;
- }
- }
- break lab0;
- }
- cursor$1 = $this.cursor = (($this.limit - v_1) | 0);
- $this.ket = cursor$1;
- lab51 = true;
- lab51:
- while (lab51 === true) {
- lab51 = false;
- v_26 = (($this.limit - $this.cursor) | 0);
- lab52 = true;
- lab52:
- while (lab52 === true) {
- lab52 = false;
- if (! (BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_0, 10) === 0 ? false : ! TurkishStemmer$r_mark_suffix_with_optional_U_vowel$LTurkishStemmer$($this) ? false : true)) {
- break lab52;
- }
- break lab51;
- }
- $this.cursor = (($this.limit - v_26) | 0);
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : ! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_U, 105, 305) ? false : ! TurkishStemmer$r_mark_suffix_with_optional_s_consonant$LTurkishStemmer$($this) ? false : true)) {
- return false;
- }
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- v_27 = (($this.limit - $this.cursor) | 0);
- lab53 = true;
- lab53:
- while (lab53 === true) {
- lab53 = false;
- $this.ket = $this.cursor;
- if (! (! TurkishStemmer$r_check_vowel_harmony$LTurkishStemmer$($this) ? false : BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_16, 2) === 0 ? false : true)) {
- $this.cursor = (($this.limit - v_27) | 0);
- break lab53;
- }
- $this.bra = $this.cursor;
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "")) {
- return false;
- }
- if (! TurkishStemmer$r_stem_suffix_chain_before_ki$LTurkishStemmer$($this)) {
- $this.cursor = (($this.limit - v_27) | 0);
- break lab53;
- }
- }
- }
- return true;
- };
- TurkishStemmer.r_stem_noun_suffixes$LTurkishStemmer$ = TurkishStemmer$r_stem_noun_suffixes$LTurkishStemmer$;
- TurkishStemmer.prototype.r_post_process_last_consonants$ = function () {
- var among_var;
- this.ket = this.cursor;
- among_var = BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I(this, TurkishStemmer.a_23, 4);
- if (among_var === 0) {
- return false;
- }
- this.bra = this.cursor;
- switch (among_var) {
- case 0:
- return false;
- case 1:
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "p")) {
- return false;
- }
- break;
- case 2:
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "\u00E7")) {
- return false;
- }
- break;
- case 3:
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "t")) {
- return false;
- }
- break;
- case 4:
- if (! BaseStemmer$slice_from$LBaseStemmer$S(this, "k")) {
- return false;
- }
- break;
- }
- return true;
- };
- TurkishStemmer.prototype.r_post_process_last_consonants = TurkishStemmer.prototype.r_post_process_last_consonants$;
- function TurkishStemmer$r_post_process_last_consonants$LTurkishStemmer$($this) {
- var among_var;
- $this.ket = $this.cursor;
- among_var = BaseStemmer$find_among_b$LBaseStemmer$ALAmong$I($this, TurkishStemmer.a_23, 4);
- if (among_var === 0) {
- return false;
- }
- $this.bra = $this.cursor;
- switch (among_var) {
- case 0:
- return false;
- case 1:
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "p")) {
- return false;
- }
- break;
- case 2:
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "\u00E7")) {
- return false;
- }
- break;
- case 3:
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "t")) {
- return false;
- }
- break;
- case 4:
- if (! BaseStemmer$slice_from$LBaseStemmer$S($this, "k")) {
- return false;
- }
- break;
- }
- return true;
- };
- TurkishStemmer.r_post_process_last_consonants$LTurkishStemmer$ = TurkishStemmer$r_post_process_last_consonants$LTurkishStemmer$;
- TurkishStemmer.prototype.r_append_U_to_stems_ending_with_d_or_g$ = function () {
- var v_1;
- var v_2;
- var v_3;
- var v_4;
- var v_5;
- var v_6;
- var v_7;
- var v_8;
- var v_9;
- var v_10;
- var v_11;
- var v_12;
- var v_13;
- var v_14;
- var v_15;
- var lab0;
- var lab1;
- var lab2;
- var lab3;
- var lab5;
- var lab6;
- var lab7;
- var c;
- var lab8;
- var lab10;
- var lab11;
- var lab12;
- var lab13;
- var lab15;
- var lab16;
- var lab17;
- var lab19;
- var lab20;
- var lab21;
- var c_bra$0;
- var adjustment$0;
- var c_bra$1;
- var adjustment$1;
- var c_bra$2;
- var adjustment$2;
- var c_bra$3;
- var adjustment$3;
- var cursor$0;
- var cursor$1;
- var cursor$2;
- var cursor$3;
- var cursor$4;
- var cursor$5;
- var cursor$6;
- var limit$0;
- var cursor$7;
- var cursor$8;
- var $__jsx_postinc_t;
- v_1 = ((this.limit - this.cursor) | 0);
- lab0 = true;
- lab0:
- while (lab0 === true) {
- lab0 = false;
- v_2 = ((this.limit - this.cursor) | 0);
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "d")) {
- break lab1;
- }
- break lab0;
- }
- this.cursor = ((this.limit - v_2) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "g")) {
- return false;
- }
- }
- this.cursor = ((this.limit - v_1) | 0);
- lab2 = true;
- lab2:
- while (lab2 === true) {
- lab2 = false;
- v_3 = ((this.limit - this.cursor) | 0);
- lab3 = true;
- lab3:
- while (lab3 === true) {
- lab3 = false;
- v_4 = ((this.limit - this.cursor) | 0);
- golab4:
- while (true) {
- v_5 = ((this.limit - this.cursor) | 0);
- lab5 = true;
- lab5:
- while (lab5 === true) {
- lab5 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel, 97, 305)) {
- break lab5;
- }
- this.cursor = ((this.limit - v_5) | 0);
- break golab4;
- }
- cursor$0 = this.cursor = ((this.limit - v_5) | 0);
- if (cursor$0 <= this.limit_backward) {
- break lab3;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- lab6 = true;
- lab6:
- while (lab6 === true) {
- lab6 = false;
- v_6 = ((this.limit - this.cursor) | 0);
- lab7 = true;
- lab7:
- while (lab7 === true) {
- lab7 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "a")) {
- break lab7;
- }
- break lab6;
- }
- this.cursor = ((this.limit - v_6) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "\u0131")) {
- break lab3;
- }
- }
- cursor$1 = this.cursor = ((this.limit - v_4) | 0);
- c = cursor$1;
- c_bra$0 = cursor$1;
- adjustment$0 = BaseStemmer$replace_s$LBaseStemmer$IIS(this, cursor$1, cursor$1, "\u0131");
- if (cursor$1 <= this.bra) {
- this.bra = (this.bra + adjustment$0) | 0;
- }
- if (c_bra$0 <= this.ket) {
- this.ket = (this.ket + adjustment$0) | 0;
- }
- this.cursor = c;
- break lab2;
- }
- this.cursor = ((this.limit - v_3) | 0);
- lab8 = true;
- lab8:
- while (lab8 === true) {
- lab8 = false;
- v_7 = ((this.limit - this.cursor) | 0);
- golab9:
- while (true) {
- v_8 = ((this.limit - this.cursor) | 0);
- lab10 = true;
- lab10:
- while (lab10 === true) {
- lab10 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel, 97, 305)) {
- break lab10;
- }
- this.cursor = ((this.limit - v_8) | 0);
- break golab9;
- }
- cursor$2 = this.cursor = ((this.limit - v_8) | 0);
- if (cursor$2 <= this.limit_backward) {
- break lab8;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- lab11 = true;
- lab11:
- while (lab11 === true) {
- lab11 = false;
- v_9 = ((this.limit - this.cursor) | 0);
- lab12 = true;
- lab12:
- while (lab12 === true) {
- lab12 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "e")) {
- break lab12;
- }
- break lab11;
- }
- this.cursor = ((this.limit - v_9) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "i")) {
- break lab8;
- }
- }
- cursor$3 = this.cursor = ((this.limit - v_7) | 0);
- c = cursor$3;
- c_bra$1 = cursor$3;
- adjustment$1 = BaseStemmer$replace_s$LBaseStemmer$IIS(this, cursor$3, cursor$3, "i");
- if (cursor$3 <= this.bra) {
- this.bra = (this.bra + adjustment$1) | 0;
- }
- if (c_bra$1 <= this.ket) {
- this.ket = (this.ket + adjustment$1) | 0;
- }
- this.cursor = c;
- break lab2;
- }
- this.cursor = ((this.limit - v_3) | 0);
- lab13 = true;
- lab13:
- while (lab13 === true) {
- lab13 = false;
- v_10 = ((this.limit - this.cursor) | 0);
- golab14:
- while (true) {
- v_11 = ((this.limit - this.cursor) | 0);
- lab15 = true;
- lab15:
- while (lab15 === true) {
- lab15 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel, 97, 305)) {
- break lab15;
- }
- this.cursor = ((this.limit - v_11) | 0);
- break golab14;
- }
- cursor$4 = this.cursor = ((this.limit - v_11) | 0);
- if (cursor$4 <= this.limit_backward) {
- break lab13;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- lab16 = true;
- lab16:
- while (lab16 === true) {
- lab16 = false;
- v_12 = ((this.limit - this.cursor) | 0);
- lab17 = true;
- lab17:
- while (lab17 === true) {
- lab17 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "o")) {
- break lab17;
- }
- break lab16;
- }
- this.cursor = ((this.limit - v_12) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "u")) {
- break lab13;
- }
- }
- cursor$5 = this.cursor = ((this.limit - v_10) | 0);
- c = cursor$5;
- c_bra$2 = cursor$5;
- adjustment$2 = BaseStemmer$replace_s$LBaseStemmer$IIS(this, cursor$5, cursor$5, "u");
- if (cursor$5 <= this.bra) {
- this.bra = (this.bra + adjustment$2) | 0;
- }
- if (c_bra$2 <= this.ket) {
- this.ket = (this.ket + adjustment$2) | 0;
- }
- this.cursor = c;
- break lab2;
- }
- cursor$7 = this.cursor = (((limit$0 = this.limit) - v_3) | 0);
- v_13 = ((limit$0 - cursor$7) | 0);
- golab18:
- while (true) {
- v_14 = ((this.limit - this.cursor) | 0);
- lab19 = true;
- lab19:
- while (lab19 === true) {
- lab19 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel, 97, 305)) {
- break lab19;
- }
- this.cursor = ((this.limit - v_14) | 0);
- break golab18;
- }
- cursor$6 = this.cursor = ((this.limit - v_14) | 0);
- if (cursor$6 <= this.limit_backward) {
- return false;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- lab20 = true;
- lab20:
- while (lab20 === true) {
- lab20 = false;
- v_15 = ((this.limit - this.cursor) | 0);
- lab21 = true;
- lab21:
- while (lab21 === true) {
- lab21 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "\u00F6")) {
- break lab21;
- }
- break lab20;
- }
- this.cursor = ((this.limit - v_15) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS(this, 1, "\u00FC")) {
- return false;
- }
- }
- cursor$8 = this.cursor = ((this.limit - v_13) | 0);
- c = cursor$8;
- c_bra$3 = cursor$8;
- adjustment$3 = BaseStemmer$replace_s$LBaseStemmer$IIS(this, cursor$8, cursor$8, "\u00FC");
- if (cursor$8 <= this.bra) {
- this.bra = (this.bra + adjustment$3) | 0;
- }
- if (c_bra$3 <= this.ket) {
- this.ket = (this.ket + adjustment$3) | 0;
- }
- this.cursor = c;
- }
- return true;
- };
- TurkishStemmer.prototype.r_append_U_to_stems_ending_with_d_or_g = TurkishStemmer.prototype.r_append_U_to_stems_ending_with_d_or_g$;
- function TurkishStemmer$r_append_U_to_stems_ending_with_d_or_g$LTurkishStemmer$($this) {
- var v_1;
- var v_2;
- var v_3;
- var v_4;
- var v_5;
- var v_6;
- var v_7;
- var v_8;
- var v_9;
- var v_10;
- var v_11;
- var v_12;
- var v_13;
- var v_14;
- var v_15;
- var lab0;
- var lab1;
- var lab2;
- var lab3;
- var lab5;
- var lab6;
- var lab7;
- var c;
- var lab8;
- var lab10;
- var lab11;
- var lab12;
- var lab13;
- var lab15;
- var lab16;
- var lab17;
- var lab19;
- var lab20;
- var lab21;
- var c_bra$0;
- var adjustment$0;
- var c_bra$1;
- var adjustment$1;
- var c_bra$2;
- var adjustment$2;
- var c_bra$3;
- var adjustment$3;
- var cursor$0;
- var cursor$1;
- var cursor$2;
- var cursor$3;
- var cursor$4;
- var cursor$5;
- var cursor$6;
- var limit$0;
- var cursor$7;
- var cursor$8;
- var $__jsx_postinc_t;
- v_1 = (($this.limit - $this.cursor) | 0);
- lab0 = true;
- lab0:
- while (lab0 === true) {
- lab0 = false;
- v_2 = (($this.limit - $this.cursor) | 0);
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "d")) {
- break lab1;
- }
- break lab0;
- }
- $this.cursor = (($this.limit - v_2) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "g")) {
- return false;
- }
- }
- $this.cursor = (($this.limit - v_1) | 0);
- lab2 = true;
- lab2:
- while (lab2 === true) {
- lab2 = false;
- v_3 = (($this.limit - $this.cursor) | 0);
- lab3 = true;
- lab3:
- while (lab3 === true) {
- lab3 = false;
- v_4 = (($this.limit - $this.cursor) | 0);
- golab4:
- while (true) {
- v_5 = (($this.limit - $this.cursor) | 0);
- lab5 = true;
- lab5:
- while (lab5 === true) {
- lab5 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel, 97, 305)) {
- break lab5;
- }
- $this.cursor = (($this.limit - v_5) | 0);
- break golab4;
- }
- cursor$0 = $this.cursor = (($this.limit - v_5) | 0);
- if (cursor$0 <= $this.limit_backward) {
- break lab3;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- lab6 = true;
- lab6:
- while (lab6 === true) {
- lab6 = false;
- v_6 = (($this.limit - $this.cursor) | 0);
- lab7 = true;
- lab7:
- while (lab7 === true) {
- lab7 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "a")) {
- break lab7;
- }
- break lab6;
- }
- $this.cursor = (($this.limit - v_6) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "\u0131")) {
- break lab3;
- }
- }
- cursor$1 = $this.cursor = (($this.limit - v_4) | 0);
- c = cursor$1;
- c_bra$0 = cursor$1;
- adjustment$0 = BaseStemmer$replace_s$LBaseStemmer$IIS($this, cursor$1, cursor$1, "\u0131");
- if (cursor$1 <= $this.bra) {
- $this.bra = ($this.bra + adjustment$0) | 0;
- }
- if (c_bra$0 <= $this.ket) {
- $this.ket = ($this.ket + adjustment$0) | 0;
- }
- $this.cursor = c;
- break lab2;
- }
- $this.cursor = (($this.limit - v_3) | 0);
- lab8 = true;
- lab8:
- while (lab8 === true) {
- lab8 = false;
- v_7 = (($this.limit - $this.cursor) | 0);
- golab9:
- while (true) {
- v_8 = (($this.limit - $this.cursor) | 0);
- lab10 = true;
- lab10:
- while (lab10 === true) {
- lab10 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel, 97, 305)) {
- break lab10;
- }
- $this.cursor = (($this.limit - v_8) | 0);
- break golab9;
- }
- cursor$2 = $this.cursor = (($this.limit - v_8) | 0);
- if (cursor$2 <= $this.limit_backward) {
- break lab8;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- lab11 = true;
- lab11:
- while (lab11 === true) {
- lab11 = false;
- v_9 = (($this.limit - $this.cursor) | 0);
- lab12 = true;
- lab12:
- while (lab12 === true) {
- lab12 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "e")) {
- break lab12;
- }
- break lab11;
- }
- $this.cursor = (($this.limit - v_9) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "i")) {
- break lab8;
- }
- }
- cursor$3 = $this.cursor = (($this.limit - v_7) | 0);
- c = cursor$3;
- c_bra$1 = cursor$3;
- adjustment$1 = BaseStemmer$replace_s$LBaseStemmer$IIS($this, cursor$3, cursor$3, "i");
- if (cursor$3 <= $this.bra) {
- $this.bra = ($this.bra + adjustment$1) | 0;
- }
- if (c_bra$1 <= $this.ket) {
- $this.ket = ($this.ket + adjustment$1) | 0;
- }
- $this.cursor = c;
- break lab2;
- }
- $this.cursor = (($this.limit - v_3) | 0);
- lab13 = true;
- lab13:
- while (lab13 === true) {
- lab13 = false;
- v_10 = (($this.limit - $this.cursor) | 0);
- golab14:
- while (true) {
- v_11 = (($this.limit - $this.cursor) | 0);
- lab15 = true;
- lab15:
- while (lab15 === true) {
- lab15 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel, 97, 305)) {
- break lab15;
- }
- $this.cursor = (($this.limit - v_11) | 0);
- break golab14;
- }
- cursor$4 = $this.cursor = (($this.limit - v_11) | 0);
- if (cursor$4 <= $this.limit_backward) {
- break lab13;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- lab16 = true;
- lab16:
- while (lab16 === true) {
- lab16 = false;
- v_12 = (($this.limit - $this.cursor) | 0);
- lab17 = true;
- lab17:
- while (lab17 === true) {
- lab17 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "o")) {
- break lab17;
- }
- break lab16;
- }
- $this.cursor = (($this.limit - v_12) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "u")) {
- break lab13;
- }
- }
- cursor$5 = $this.cursor = (($this.limit - v_10) | 0);
- c = cursor$5;
- c_bra$2 = cursor$5;
- adjustment$2 = BaseStemmer$replace_s$LBaseStemmer$IIS($this, cursor$5, cursor$5, "u");
- if (cursor$5 <= $this.bra) {
- $this.bra = ($this.bra + adjustment$2) | 0;
- }
- if (c_bra$2 <= $this.ket) {
- $this.ket = ($this.ket + adjustment$2) | 0;
- }
- $this.cursor = c;
- break lab2;
- }
- cursor$7 = $this.cursor = (((limit$0 = $this.limit) - v_3) | 0);
- v_13 = ((limit$0 - cursor$7) | 0);
- golab18:
- while (true) {
- v_14 = (($this.limit - $this.cursor) | 0);
- lab19 = true;
- lab19:
- while (lab19 === true) {
- lab19 = false;
- if (! BaseStemmer$in_grouping_b$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel, 97, 305)) {
- break lab19;
- }
- $this.cursor = (($this.limit - v_14) | 0);
- break golab18;
- }
- cursor$6 = $this.cursor = (($this.limit - v_14) | 0);
- if (cursor$6 <= $this.limit_backward) {
- return false;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t - 1) | 0, $__jsx_postinc_t);
- }
- lab20 = true;
- lab20:
- while (lab20 === true) {
- lab20 = false;
- v_15 = (($this.limit - $this.cursor) | 0);
- lab21 = true;
- lab21:
- while (lab21 === true) {
- lab21 = false;
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "\u00F6")) {
- break lab21;
- }
- break lab20;
- }
- $this.cursor = (($this.limit - v_15) | 0);
- if (! BaseStemmer$eq_s_b$LBaseStemmer$IS($this, 1, "\u00FC")) {
- return false;
- }
- }
- cursor$8 = $this.cursor = (($this.limit - v_13) | 0);
- c = cursor$8;
- c_bra$3 = cursor$8;
- adjustment$3 = BaseStemmer$replace_s$LBaseStemmer$IIS($this, cursor$8, cursor$8, "\u00FC");
- if (cursor$8 <= $this.bra) {
- $this.bra = ($this.bra + adjustment$3) | 0;
- }
- if (c_bra$3 <= $this.ket) {
- $this.ket = ($this.ket + adjustment$3) | 0;
- }
- $this.cursor = c;
- }
- return true;
- };
- TurkishStemmer.r_append_U_to_stems_ending_with_d_or_g$LTurkishStemmer$ = TurkishStemmer$r_append_U_to_stems_ending_with_d_or_g$LTurkishStemmer$;
- TurkishStemmer.prototype.r_more_than_one_syllable_word$ = function () {
- var v_1;
- var v_3;
- var v_2;
- var lab1;
- var lab3;
- var $__jsx_postinc_t;
- v_1 = this.cursor;
- v_2 = 2;
- replab0:
- while (true) {
- v_3 = this.cursor;
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- golab2:
- while (true) {
- lab3 = true;
- lab3:
- while (lab3 === true) {
- lab3 = false;
- if (! BaseStemmer$in_grouping$LBaseStemmer$AIII(this, TurkishStemmer.g_vowel, 97, 305)) {
- break lab3;
- }
- break golab2;
- }
- if (this.cursor >= this.limit) {
- break lab1;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t + 1) | 0, $__jsx_postinc_t);
- }
- v_2--;
- continue replab0;
- }
- this.cursor = v_3;
- break replab0;
- }
- if (v_2 > 0) {
- return false;
- }
- this.cursor = v_1;
- return true;
- };
- TurkishStemmer.prototype.r_more_than_one_syllable_word = TurkishStemmer.prototype.r_more_than_one_syllable_word$;
- function TurkishStemmer$r_more_than_one_syllable_word$LTurkishStemmer$($this) {
- var v_1;
- var v_3;
- var v_2;
- var lab1;
- var lab3;
- var $__jsx_postinc_t;
- v_1 = $this.cursor;
- v_2 = 2;
- replab0:
- while (true) {
- v_3 = $this.cursor;
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- golab2:
- while (true) {
- lab3 = true;
- lab3:
- while (lab3 === true) {
- lab3 = false;
- if (! BaseStemmer$in_grouping$LBaseStemmer$AIII($this, TurkishStemmer.g_vowel, 97, 305)) {
- break lab3;
- }
- break golab2;
- }
- if ($this.cursor >= $this.limit) {
- break lab1;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t + 1) | 0, $__jsx_postinc_t);
- }
- v_2--;
- continue replab0;
- }
- $this.cursor = v_3;
- break replab0;
- }
- if (v_2 > 0) {
- return false;
- }
- $this.cursor = v_1;
- return true;
- };
- TurkishStemmer.r_more_than_one_syllable_word$LTurkishStemmer$ = TurkishStemmer$r_more_than_one_syllable_word$LTurkishStemmer$;
- TurkishStemmer.prototype.r_is_reserved_word$ = function () {
- var v_1;
- var v_2;
- var v_4;
- var lab0;
- var lab1;
- var lab3;
- var lab5;
- var I_strlen$0;
- var cursor$0;
- var I_strlen$1;
- var $__jsx_postinc_t;
- lab0 = true;
- lab0:
- while (lab0 === true) {
- lab0 = false;
- v_1 = this.cursor;
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- v_2 = this.cursor;
- golab2:
- while (true) {
- lab3 = true;
- lab3:
- while (lab3 === true) {
- lab3 = false;
- if (! BaseStemmer$eq_s$LBaseStemmer$IS(this, 2, "ad")) {
- break lab3;
- }
- break golab2;
- }
- if (this.cursor >= this.limit) {
- break lab1;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t + 1) | 0, $__jsx_postinc_t);
- }
- I_strlen$0 = this.I_strlen = 2;
- if (! (I_strlen$0 === this.limit)) {
- break lab1;
- }
- this.cursor = v_2;
- break lab0;
- }
- cursor$0 = this.cursor = v_1;
- v_4 = cursor$0;
- golab4:
- while (true) {
- lab5 = true;
- lab5:
- while (lab5 === true) {
- lab5 = false;
- if (! BaseStemmer$eq_s$LBaseStemmer$IS(this, 5, "soyad")) {
- break lab5;
- }
- break golab4;
- }
- if (this.cursor >= this.limit) {
- return false;
- }
- ($__jsx_postinc_t = this.cursor, this.cursor = ($__jsx_postinc_t + 1) | 0, $__jsx_postinc_t);
- }
- I_strlen$1 = this.I_strlen = 5;
- if (! (I_strlen$1 === this.limit)) {
- return false;
- }
- this.cursor = v_4;
- }
- return true;
- };
- TurkishStemmer.prototype.r_is_reserved_word = TurkishStemmer.prototype.r_is_reserved_word$;
- function TurkishStemmer$r_is_reserved_word$LTurkishStemmer$($this) {
- var v_1;
- var v_2;
- var v_4;
- var lab0;
- var lab1;
- var lab3;
- var lab5;
- var I_strlen$0;
- var cursor$0;
- var I_strlen$1;
- var $__jsx_postinc_t;
- lab0 = true;
- lab0:
- while (lab0 === true) {
- lab0 = false;
- v_1 = $this.cursor;
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- v_2 = $this.cursor;
- golab2:
- while (true) {
- lab3 = true;
- lab3:
- while (lab3 === true) {
- lab3 = false;
- if (! BaseStemmer$eq_s$LBaseStemmer$IS($this, 2, "ad")) {
- break lab3;
- }
- break golab2;
- }
- if ($this.cursor >= $this.limit) {
- break lab1;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t + 1) | 0, $__jsx_postinc_t);
- }
- I_strlen$0 = $this.I_strlen = 2;
- if (! (I_strlen$0 === $this.limit)) {
- break lab1;
- }
- $this.cursor = v_2;
- break lab0;
- }
- cursor$0 = $this.cursor = v_1;
- v_4 = cursor$0;
- golab4:
- while (true) {
- lab5 = true;
- lab5:
- while (lab5 === true) {
- lab5 = false;
- if (! BaseStemmer$eq_s$LBaseStemmer$IS($this, 5, "soyad")) {
- break lab5;
- }
- break golab4;
- }
- if ($this.cursor >= $this.limit) {
- return false;
- }
- ($__jsx_postinc_t = $this.cursor, $this.cursor = ($__jsx_postinc_t + 1) | 0, $__jsx_postinc_t);
- }
- I_strlen$1 = $this.I_strlen = 5;
- if (! (I_strlen$1 === $this.limit)) {
- return false;
- }
- $this.cursor = v_4;
- }
- return true;
- };
- TurkishStemmer.r_is_reserved_word$LTurkishStemmer$ = TurkishStemmer$r_is_reserved_word$LTurkishStemmer$;
- TurkishStemmer.prototype.r_postlude$ = function () {
- var v_1;
- var v_2;
- var lab0;
- var lab1;
- var lab2;
- var cursor$0;
- var limit$0;
- var cursor$1;
- v_1 = this.cursor;
- lab0 = true;
- lab0:
- while (lab0 === true) {
- lab0 = false;
- if (! TurkishStemmer$r_is_reserved_word$LTurkishStemmer$(this)) {
- break lab0;
- }
- return false;
- }
- cursor$0 = this.cursor = v_1;
- this.limit_backward = cursor$0;
- cursor$1 = this.cursor = limit$0 = this.limit;
- v_2 = ((limit$0 - cursor$1) | 0);
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- if (! TurkishStemmer$r_append_U_to_stems_ending_with_d_or_g$LTurkishStemmer$(this)) {
- break lab1;
- }
- }
- this.cursor = ((this.limit - v_2) | 0);
- lab2 = true;
- lab2:
- while (lab2 === true) {
- lab2 = false;
- if (! TurkishStemmer$r_post_process_last_consonants$LTurkishStemmer$(this)) {
- break lab2;
- }
- }
- this.cursor = this.limit_backward;
- return true;
- };
- TurkishStemmer.prototype.r_postlude = TurkishStemmer.prototype.r_postlude$;
- function TurkishStemmer$r_postlude$LTurkishStemmer$($this) {
- var v_1;
- var v_2;
- var lab0;
- var lab1;
- var lab2;
- var cursor$0;
- var limit$0;
- var cursor$1;
- v_1 = $this.cursor;
- lab0 = true;
- lab0:
- while (lab0 === true) {
- lab0 = false;
- if (! TurkishStemmer$r_is_reserved_word$LTurkishStemmer$($this)) {
- break lab0;
- }
- return false;
- }
- cursor$0 = $this.cursor = v_1;
- $this.limit_backward = cursor$0;
- cursor$1 = $this.cursor = limit$0 = $this.limit;
- v_2 = ((limit$0 - cursor$1) | 0);
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- if (! TurkishStemmer$r_append_U_to_stems_ending_with_d_or_g$LTurkishStemmer$($this)) {
- break lab1;
- }
- }
- $this.cursor = (($this.limit - v_2) | 0);
- lab2 = true;
- lab2:
- while (lab2 === true) {
- lab2 = false;
- if (! TurkishStemmer$r_post_process_last_consonants$LTurkishStemmer$($this)) {
- break lab2;
- }
- }
- $this.cursor = $this.limit_backward;
- return true;
- };
- TurkishStemmer.r_postlude$LTurkishStemmer$ = TurkishStemmer$r_postlude$LTurkishStemmer$;
- TurkishStemmer.prototype.stem$ = function () {
- var v_1;
- var lab0;
- var lab1;
- var limit$0;
- var cursor$0;
- if (! TurkishStemmer$r_more_than_one_syllable_word$LTurkishStemmer$(this)) {
- return false;
- }
- this.limit_backward = this.cursor;
- cursor$0 = this.cursor = limit$0 = this.limit;
- v_1 = ((limit$0 - cursor$0) | 0);
- lab0 = true;
- lab0:
- while (lab0 === true) {
- lab0 = false;
- if (! TurkishStemmer$r_stem_nominal_verb_suffixes$LTurkishStemmer$(this)) {
- break lab0;
- }
- }
- this.cursor = ((this.limit - v_1) | 0);
- if (! this.B_continue_stemming_noun_suffixes) {
- return false;
- }
- lab1 = true;
- lab1:
- while (lab1 === true) {
- lab1 = false;
- if (! TurkishStemmer$r_stem_noun_suffixes$LTurkishStemmer$(this)) {
- break lab1;
- }
- }
- this.cursor = this.limit_backward;
- return (! TurkishStemmer$r_postlude$LTurkishStemmer$(this) ? false : true);
- };
- TurkishStemmer.prototype.stem = TurkishStemmer.prototype.stem$;
- TurkishStemmer.prototype.equals$X = function (o) {
- return o instanceof TurkishStemmer;
- };
- TurkishStemmer.prototype.equals = TurkishStemmer.prototype.equals$X;
- function TurkishStemmer$equals$LTurkishStemmer$X($this, o) {
- return o instanceof TurkishStemmer;
- };
- TurkishStemmer.equals$LTurkishStemmer$X = TurkishStemmer$equals$LTurkishStemmer$X;
- TurkishStemmer.prototype.hashCode$ = function () {
- var classname;
- var hash;
- var i;
- var char;
- classname = "TurkishStemmer";
- hash = 0;
- for (i = 0; i < classname.length; i++) {
- char = classname.charCodeAt(i);
- hash = (hash << 5) - hash + char;
- hash = hash & hash;
- }
- return (hash | 0);
- };
- TurkishStemmer.prototype.hashCode = TurkishStemmer.prototype.hashCode$;
- function TurkishStemmer$hashCode$LTurkishStemmer$($this) {
- var classname;
- var hash;
- var i;
- var char;
- classname = "TurkishStemmer";
- hash = 0;
- for (i = 0; i < classname.length; i++) {
- char = classname.charCodeAt(i);
- hash = (hash << 5) - hash + char;
- hash = hash & hash;
- }
- return (hash | 0);
- };
- TurkishStemmer.hashCode$LTurkishStemmer$ = TurkishStemmer$hashCode$LTurkishStemmer$;
- TurkishStemmer.serialVersionUID = 1;
- $__jsx_lazy_init(TurkishStemmer, "methodObject", function () {
- return new TurkishStemmer();
- });
- $__jsx_lazy_init(TurkishStemmer, "a_0", function () {
- return [ new Among("m", -1, -1), new Among("n", -1, -1), new Among("miz", -1, -1), new Among("niz", -1, -1), new Among("muz", -1, -1), new Among("nuz", -1, -1), new Among("m\u00FCz", -1, -1), new Among("n\u00FCz", -1, -1), new Among("m\u0131z", -1, -1), new Among("n\u0131z", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_1", function () {
- return [ new Among("leri", -1, -1), new Among("lar\u0131", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_2", function () {
- return [ new Among("ni", -1, -1), new Among("nu", -1, -1), new Among("n\u00FC", -1, -1), new Among("n\u0131", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_3", function () {
- return [ new Among("in", -1, -1), new Among("un", -1, -1), new Among("\u00FCn", -1, -1), new Among("\u0131n", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_4", function () {
- return [ new Among("a", -1, -1), new Among("e", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_5", function () {
- return [ new Among("na", -1, -1), new Among("ne", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_6", function () {
- return [ new Among("da", -1, -1), new Among("ta", -1, -1), new Among("de", -1, -1), new Among("te", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_7", function () {
- return [ new Among("nda", -1, -1), new Among("nde", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_8", function () {
- return [ new Among("dan", -1, -1), new Among("tan", -1, -1), new Among("den", -1, -1), new Among("ten", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_9", function () {
- return [ new Among("ndan", -1, -1), new Among("nden", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_10", function () {
- return [ new Among("la", -1, -1), new Among("le", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_11", function () {
- return [ new Among("ca", -1, -1), new Among("ce", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_12", function () {
- return [ new Among("im", -1, -1), new Among("um", -1, -1), new Among("\u00FCm", -1, -1), new Among("\u0131m", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_13", function () {
- return [ new Among("sin", -1, -1), new Among("sun", -1, -1), new Among("s\u00FCn", -1, -1), new Among("s\u0131n", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_14", function () {
- return [ new Among("iz", -1, -1), new Among("uz", -1, -1), new Among("\u00FCz", -1, -1), new Among("\u0131z", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_15", function () {
- return [ new Among("siniz", -1, -1), new Among("sunuz", -1, -1), new Among("s\u00FCn\u00FCz", -1, -1), new Among("s\u0131n\u0131z", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_16", function () {
- return [ new Among("lar", -1, -1), new Among("ler", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_17", function () {
- return [ new Among("niz", -1, -1), new Among("nuz", -1, -1), new Among("n\u00FCz", -1, -1), new Among("n\u0131z", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_18", function () {
- return [ new Among("dir", -1, -1), new Among("tir", -1, -1), new Among("dur", -1, -1), new Among("tur", -1, -1), new Among("d\u00FCr", -1, -1), new Among("t\u00FCr", -1, -1), new Among("d\u0131r", -1, -1), new Among("t\u0131r", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_19", function () {
- return [ new Among("cas\u0131na", -1, -1), new Among("cesine", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_20", function () {
- return [ new Among("di", -1, -1), new Among("ti", -1, -1), new Among("dik", -1, -1), new Among("tik", -1, -1), new Among("duk", -1, -1), new Among("tuk", -1, -1), new Among("d\u00FCk", -1, -1), new Among("t\u00FCk", -1, -1), new Among("d\u0131k", -1, -1), new Among("t\u0131k", -1, -1), new Among("dim", -1, -1), new Among("tim", -1, -1), new Among("dum", -1, -1), new Among("tum", -1, -1), new Among("d\u00FCm", -1, -1), new Among("t\u00FCm", -1, -1), new Among("d\u0131m", -1, -1), new Among("t\u0131m", -1, -1), new Among("din", -1, -1), new Among("tin", -1, -1), new Among("dun", -1, -1), new Among("tun", -1, -1), new Among("d\u00FCn", -1, -1), new Among("t\u00FCn", -1, -1), new Among("d\u0131n", -1, -1), new Among("t\u0131n", -1, -1), new Among("du", -1, -1), new Among("tu", -1, -1), new Among("d\u00FC", -1, -1), new Among("t\u00FC", -1, -1), new Among("d\u0131", -1, -1), new Among("t\u0131", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_21", function () {
- return [ new Among("sa", -1, -1), new Among("se", -1, -1), new Among("sak", -1, -1), new Among("sek", -1, -1), new Among("sam", -1, -1), new Among("sem", -1, -1), new Among("san", -1, -1), new Among("sen", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_22", function () {
- return [ new Among("mi\u015F", -1, -1), new Among("mu\u015F", -1, -1), new Among("m\u00FC\u015F", -1, -1), new Among("m\u0131\u015F", -1, -1) ];
- });
- $__jsx_lazy_init(TurkishStemmer, "a_23", function () {
- return [ new Among("b", -1, 1), new Among("c", -1, 2), new Among("d", -1, 3), new Among("\u011F", -1, 4) ];
- });
- TurkishStemmer.g_vowel = [ 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 8, 0, 0, 0, 0, 0, 0, 1 ];
- TurkishStemmer.g_U = [ 1, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1 ];
- TurkishStemmer.g_vowel1 = [ 1, 64, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ];
- TurkishStemmer.g_vowel2 = [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 130 ];
- TurkishStemmer.g_vowel3 = [ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ];
- TurkishStemmer.g_vowel4 = [ 17 ];
- TurkishStemmer.g_vowel5 = [ 65 ];
- TurkishStemmer.g_vowel6 = [ 65 ];
- var $__jsx_classMap = {
- "src/among.jsx": {
- Among: Among,
- Among$SII: Among,
- Among$SIIF$LBaseStemmer$B$LBaseStemmer$: Among$0
- },
- "src/stemmer.jsx": {
- Stemmer: Stemmer,
- Stemmer$: Stemmer
- },
- "src/base-stemmer.jsx": {
- BaseStemmer: BaseStemmer,
- BaseStemmer$: BaseStemmer
- },
- "src/turkish-stemmer.jsx": {
- TurkishStemmer: TurkishStemmer,
- TurkishStemmer$: TurkishStemmer
- }
- };
- })(JSX);
- var Among = JSX.require("src/among.jsx").Among;
- var Among$SII = JSX.require("src/among.jsx").Among$SII;
- var Stemmer = JSX.require("src/stemmer.jsx").Stemmer;
- var BaseStemmer = JSX.require("src/base-stemmer.jsx").BaseStemmer;
- var TurkishStemmer = JSX.require("src/turkish-stemmer.jsx").TurkishStemmer;
|