@hncode/hncode 0.7.3 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,6 @@
1
+ // The lowercase words `o200k_base` merges into a single token.
2
+ //
3
+ // A length threshold cannot do this: `include` (seven letters) is one token and `hncode` (six) is two, so any
4
+ // cutoff that gets one right gets the other wrong. The list below is the vocabulary of English prose, of code and
5
+ // of the identifiers a session's own transcript is full of.
6
+ export const COMMON_WORDS = new Set(["a","able","adapter","add","additionalproperties","after","agent","agents","all","also","an","and","answer","any","app","append","area","arg","args","arguments","arr","array","assert","async","auto","average","avg","await","away","back","been","before","being","best","better","between","bin","block","blocks","boolean","both","boy","break","budget","buf","buffer","build","builder","but","bytes","cache","callback","can","case","catch","cell","cells","certain","cfg","chan","channel","char","chars","charset","check","child","chmod","chunk","chunks","class","clean","clear","client","clone","close","cmd","code","col","collect","color","cols","column","columns","come","command","compose","concat","config","conn","const","constructor","content","context","continue","conversation","copy","cost","could","count","course","create","ctx","data","date","day","decode","default","defaults","defer","del","delay","delta","deprecated","depth","description","dev","did","doc","does","done","down","draw","each","early","edge","edit","else","encode","encoding","end","enough","entry","enum","env","err","error","errors","etc","even","ever","every","example","examples","exclude","exec","exists","exit","expect","extends","eye","face","fact","factory","fallback","family","feel","few","field","fields","figure","file","filter","finally","find","first","flush","follow","form","format","found","fragment","frame","from","func","function","gather","get","gid","give","good","goto","graph","group","grow","guidelines","had","hand","handler","happen","has","hash","have","head","hear","height","help","her","here","hide","high","him","his","history","hold","home","hooks","host","house","how","however","idea","idx","impl","import","important","inbox","include","index","info","init","input","insert","instanceof","instructions","integer","interest","interface","interval","into","item","items","its","join","just","keep","key","keys","kind","know","kwargs","label","language","large","last","later","leader","leaf","leave","left","len","less","let","letter","level","lib","life","light","like","limit","line","lines","link","list","listener","little","live","load","local","locale","log","long","look","macro","made","main","major","make","man","many","map","match","max","maximum","mean","median","member","members","memory","merge","message","messages","might","min","mind","minimum","miss","mkdir","mode","model","module","money","month","more","most","move","msg","much","must","name","near","need","never","new","next","night","node","nor","not","now","null","nullable","num","number","obj","object","observer","often","old","one","only","open","opt","option","options","opts","or","order","origin","other","our","out","output","over","overrides","own","owner","package","page","paint","panel","parameters","params","parent","parse","part","parts","pass","patch","path","pattern","people","percentile","permission","phase","pid","piece","pieces","place","plugins","point","policy","port","possible","post","present","prev","price","print","private","problem","profile","prompt","properties","props","prototype","provider","public","pull","push","put","question","queue","quite","range","rate","read","reader","real","reasoning","record","reduce","registry","rem","remove","rename","render","replace","reply","req","request","required","res","reset","response","result","results","retry","return","right","rmdir","room","root","row","rows","run","said","same","save","say","scan","schema","search","see","seem","segment","select","send","sense","server","session","set","settings","several","shall","she","should","show","side","since","size","skills","sleep","small","socket","some","something","sometimes","soon","sort","source","spawn","speed","split","src","stack","stage","start","stat","state","static","status","step","still","stop","store","str","stream","string","struct","style","such","sum","summary","super","switch","table","tag","take","target","team","teams","test","text","than","that","the","them","theme","then","these","they","thing","think","thinking","third","this","those","though","thought","thread","three","threshold","through","throw","time","timeout","title","tmp","today","together","token","tokens","too","took","tool","tools","total","toward","trait","tree","true","tuple","turn","two","type","typeof","uid","undefined","under","understand","union","unlink","until","up","update","upon","usage","use","used","user","using","usr","val","validate","value","values","var","very","view","visit","void","wait","walk","want","was","water","way","well","went","were","what","when","where","whether","which","while","white","who","whole","whose","why","width","will","window","with","woman","word","work","world","would","write","writer","year","yet","yield","you","young","your"]);