Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
BBEdit codeless language module to check grammar
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BBEditDocumentType</key>
<string>CodelessLanguageModule</string>
<key>BBLMLanguageCode</key>
<string>GraM</string>
<key>BBLMLanguageDisplayName</key>
<string>Grammar</string>
<key>BBLMColorsSyntax</key>
<true/>
<key>BBLMScansFunctions</key>
<true/>
<key>BBLMIsCaseSensitive</key>
<false/>
<key>Language Features</key>
<dict>
<key>Comment Pattern</key>
<string></string>
<key>Function Pattern</key>
<string></string>
<key>Identifier and Keyword Character Class</key>
<string>0-9A-Z_a-z',</string>
<key>Skip Pattern</key>
<string></string>
<key>String Pattern</key>
<string><![CDATA[(?x)
\ba\s+\[?(<[^>]*>)?([aeiou]|hei|ho)\w* | (?# a hour)
\ban\s+\[?(<[^>]*>)?[^aeiou]\w* | (?# an popsicle)
\b(?P<dupe>\w+)\b\s+\[?(<[^>]*>)?\b(?P=dupe)\b (?# duplicates)
]]>
</string>
</dict>
<key>BBLMKeywordList</key>
<array>
<string>accept</string>
<string>except</string>
<string>adapt</string>
<string>adopt</string>
<string>adverse</string>
<string>averse</string>
<string>advice</string>
<string>advise</string>
<string>affect</string>
<string>effect</string>
<string>afterward</string>
<string>afterwards</string>
<string>afterwordaggravate</string>
<string>irritate</string>
<string>aid</string>
<string>aide</string>
<string>ascent</string>
<string>assent</string>
<string>aural</string>
<string>oral</string>
<string>assure</string>
<string>ensure</string>
<string>insure</string>
<string>avocation</string>
<string>vocation</string>
<string>awhile</string>
<string>alot</string>
<string>baited</string>
<string>bated</string>
<string>band</string>
<string>banned</string>
<string>bare</string>
<string>bear</string>
<string>beside</string>
<string>besides</string>
<string>bloc</string>
<string>block</string>
<string>boar</string>
<string>boor</string>
<string>bore</string>
<string>board</string>
<string>bored</string>
<string>bolder</string>
<string>boulder</string>
<string>brake</string>
<string>break</string>
<string>breakdown</string>
<string>breath</string>
<string>breathe</string>
<string>bridal</string>
<string>bridle</string>
<string>bring</string>
<string>take</string>
<string>buy</string>
<string>by</string>
<string>bye</string>
<string>calvary</string>
<string>cavalry</string>
<string>canvas</string>
<string>canvass</string>
<string>capital</string>
<string>capitol</string>
<string>carat</string>
<string>caret</string>
<string>carrot</string>
<string>ceiling</string>
<string>sealing</string>
<string>censor</string>
<string>censure</string>
<string>cent</string>
<string>scent</string>
<string>sent</string>
<string>cereal</string>
<string>serial</string>
<string>chafe</string>
<string>chaff</string>
<string>chaotic</string>
<string>inchoate</string>
<string>childish</string>
<string>childlike</string>
<string>choose</string>
<string>chose</string>
<string>chosen</string>
<string>chord</string>
<string>cord</string>
<string>cite</string>
<string>site</string>
<string>cleanup</string>
<string>click</string>
<string>clique</string>
<string>climactic</string>
<string>climatic</string>
<string>close</string>
<string>clothes</string>
<string>cloths</string>
<string>coarse</string>
<string>course</string>
<string>collaborate</string>
<string>cooperate</string>
<string>complement</string>
<string>compliment</string>
<string>complementary</string>
<string>complimentary</string>
<string>confidant</string>
<string>confident</string>
<string>conscience</string>
<string>conscious</string>
<string>consequently</string>
<string>subsequently</string>
<string>contemptible</string>
<string>contemptuous</string>
<string>continual</string>
<string>continuous</string>
<string>council</string>
<string>counsel</string>
<string>credible</string>
<string>creditable</string>
<string>credulous</string>
<string>criterion</string>
<string>criteria</string>
<string>dam</string>
<string>damn</string>
<string>days</string>
<string>daze</string>
<string>dazed</string>
<string>dazzled</string>
<string>defective</string>
<string>deficient</string>
<string>defuse</string>
<string>diffuse</string>
<string>deprecate</string>
<string>depreciate</string>
<string>desert</string>
<string>dessert</string>
<string>device</string>
<string>devise</string>
<string>diagnosis</string>
<string>prognosis</string>
<string>discover</string>
<string>invent</string>
<string>discreet</string>
<string>discrete</string>
<string>disinterested</string>
<string>uninterested</string>
<string>distinct</string>
<string>distinctive</string>
<string>dual</string>
<string>duel</string>
<string>economic</string>
<string>economical</string>
<string>elicit</string>
<string>illicit</string>
<string>emigrate</string>
<string>immigrate</string>
<string>eminent</string>
<string>imminent</string>
<string>envelop</string>
<string>envelope</string>
<string>epigram</string>
<string>epigraph</string>
<string>epitaph</string>
<string>eventually</string>
<string>ultimately</string>
<string>everyday</string>
<string>everyone</string>
<string>evoke</string>
<string>invoke</string>
<string>exhort</string>
<string>extort</string>
<string>explicit</string>
<string>implicit</string>
<string>faint</string>
<string>feint</string>
<string>fair</string>
<string>fare</string>
<string>farther</string>
<string>further</string>
<string>faze</string>
<string>phase</string>
<string>few</string>
<string>fewer</string>
<string>little</string>
<string>less</string>
<string>finally</string>
<string>finely</string>
<string>flair</string>
<string>flare</string>
<string>flaunt</string>
<string>flout</string>
<string>flew</string>
<string>flu</string>
<string>flue</string>
<string>flounder</string>
<string>founder</string>
<string>foreword</string>
<string>forward</string>
<string>formally</string>
<string>formerly</string>
<string>forth</string>
<string>fourth</string>
<string>fortunate</string>
<string>fortuitous</string>
<string>full</string>
<string>fulsome</string>
<string>garner</string>
<string>garnish</string>
<string>gibe</string>
<string>jibe</string>
<string>jive</string>
<string>good</string>
<string>well</string>
<string>gorilla</string>
<string>guerrilla</string>
<string>gourmand</string>
<string>gourmet</string>
<string>grate</string>
<string>great</string>
<string>grisly</string>
<string>grizzly</string>
<string>groan</string>
<string>grown</string>
<string>guessed</string>
<string>guest</string>
<string>hanged</string>
<string>hung</string>
<string>hardy</string>
<string>hearty</string>
<string>hear</string>
<string>here</string>
<string>heard</string>
<string>herd</string>
<string>heroin</string>
<string>heroine</string>
<string>higher</string>
<string>hire</string>
<string>historic</string>
<string>historical</string>
<string>hoard</string>
<string>horde</string>
<string>hoarse</string>
<string>horse</string>
<string>hole</string>
<string>whole</string>
<string>home</string>
<string>hone</string>
<string>hoping</string>
<string>hopping</string>
<string>human</string>
<string>humane</string>
<string>hurdle</string>
<string>hurtle</string>
<string>imply</string>
<string>infer</string>
<string>incidence</string>
<string>incidents</string>
<string>incite</string>
<string>insight</string>
<string>incredible</string>
<string>incredulous</string>
<string>indiscreet</string>
<string>indiscrete</string>
<string>ingenious</string>
<string>ingenuous</string>
<string>insidious</string>
<string>invidious</string>
<string>intense</string>
<string>intent</string>
<string>inveigh</string>
<string>inveigle</string>
<string>its</string>
<string>it's</string>
<string>judicial</string>
<string>judicious</string>
<string>last</string>
<string>latter</string>
<string>later</string>
<string>latter</string>
<string>lay</string>
<string>lie</string>
<string>leach</string>
<string>leech</string>
<string>lead</string>
<string>led</string>
<string>leave</string>
<string>lend</string>
<string>loan</string>
<string>lessen</string>
<string>lesson</string>
<string>liable</string>
<string>libel</string>
<string>lightening</string>
<string>lightning</string>
<string>literally</string>
<string>figuratively</string>
<string>loath</string>
<string>loathe</string>
<string>loose</string>
<string>lose</string>
<string>mail</string>
<string>male</string>
<string>manner</string>
<string>manor</string>
<string>mantel</string>
<string>mantle</string>
<string>many</string>
<string>much</string>
<string>marital</string>
<string>martial</string>
<string>material</string>
<string>materiel</string>
<string>maybe</string>
<string>medal</string>
<string>metal</string>
<string>mettle</string>
<string>media</string>
<string>medium</string>
<string>mediums</string>
<string>militate</string>
<string>mitigate</string>
<string>miner</string>
<string>minor</string>
<string>moot</string>
<string>mute</string>
<string>moral</string>
<string>morale</string>
<string>naval</string>
<string>navel</string>
<string>noisome</string>
<string>noisy</string>
<string>nutritional</string>
<string>nutritious</string>
<string>obsolescent</string>
<string>obsolete</string>
<string>official</string>
<string>officious</string>
<string>pair</string>
<string>pare</string>
<string>pear</string>
<string>palate</string>
<string>palette</string>
<string>pallet</string>
<string>passed</string>
<string>past</string>
<string>patience</string>
<string>patients</string>
<string>peace</string>
<string>piece</string>
<string>peak</string>
<string>peek</string>
<string>pique</string>
<string>pedal</string>
<string>peddle</string>
<string>perpetrate</string>
<string>perpetuate</string>
<string>perquisite</string>
<string>prerequisite</string>
<string>persecute</string>
<string>prosecute</string>
<string>personal</string>
<string>personnel</string>
<string>perspective</string>
<string>prospective</string>
<string>perverse</string>
<string>perverted</string>
<string>plain</string>
<string>plane</string>
<string>pole</string>
<string>poll</string>
<string>pore</string>
<string>pour</string>
<string>pray</string>
<string>prey</string>
<string>precede</string>
<string>proceed</string>
<string>precedence</string>
<string>precedents</string>
<string>premier</string>
<string>premiere</string>
<string>prescribe</string>
<string>proscribe</string>
<string>principal</string>
<string>principle</string>
<string>prodigy</string>
<string>protege</string>
<string>prophecy</string>
<string>prophesy</string>
<string>prostate</string>
<string>prostrate</string>
<string>quell</string>
<string>quench</string>
<string>quiet</string>
<string>quit</string>
<string>quite</string>
<string>quotation</string>
<string>quote</string>
<string>rack</string>
<string>wrack</string>
<string>rain</string>
<string>reign</string>
<string>rein</string>
<string>raise</string>
<string>raze</string>
<string>rise</string>
<string>rapt</string>
<string>wrapped</string>
<string>rational</string>
<string>rationale</string>
<string>ravage</string>
<string>ravish</string>
<string>recourse</string>
<string>resource</string>
<string>regretful</string>
<string>regrettable</string>
<string>reluctant</string>
<string>reticent</string>
<string>respectfully</string>
<string>respectively</string>
<string>restive</string>
<string>restless</string>
<string>review</string>
<string>revue</string>
<string>riffle</string>
<string>rifle</string>
<string>right</string>
<string>rite</string>
<string>wright</string>
<string>write</string>
<string>ring</string>
<string>wring</string>
<string>risky</string>
<string>risque</string>
<string>role</string>
<string>roll</string>
<string>scene</string>
<string>seen</string>
<string>sensual</string>
<string>sensuous</string>
<string>serve</string>
<string>service</string>
<string>set</string>
<string>sit</string>
<string>shear</string>
<string>sheer</string>
<string>simple</string>
<string>simplistic</string>
<string>sole</string>
<string>soul</string>
<string>sometime</string>
<string>sometimes</string>
<string>stanch</string>
<string>staunch</string>
<string>stationary</string>
<string>stationery</string>
<string>statue</string>
<string>statute</string>
<string>steal</string>
<string>steel</string>
<string>straight</string>
<string>strait</string>
<string>suit</string>
<string>suite</string>
<string>sweet</string>
<string>tack</string>
<string>tact</string>
<string>tail</string>
<string>tale</string>
<string>taught</string>
<string>taut</string>
<string>team</string>
<string>teem</string>
<string>temerity</string>
<string>timidity</string>
<string>than</string>
<string>then</string>
<string>their</string>
<string>there</string>
<string>they're</string>
<string>there's</string>
<string>threw</string>
<string>through</string>
<string>thru</string>
<string>throes</string>
<string>throws</string>
<string>tide</string>
<string>tied</string>
<string>to</string>
<string>too</string>
<string>two</string>
<string>torpid</string>
<string>torrid</string>
<string>tortuous</string>
<string>torturous</string>
<string>track</string>
<string>tract</string>
<string>troop</string>
<string>troupe</string>
<string>trustee</string>
<string>trusty</string>
<string>turbid</string>
<string>turbulent</string>
<string>turgid</string>
<string>urban</string>
<string>urbane</string>
<string>vain</string>
<string>vane</string>
<string>vein</string>
<string>vale</string>
<string>veil</string>
<string>vary</string>
<string>very</string>
<string>venal</string>
<string>venial</string>
<string>veracious</string>
<string>voracious</string>
<string>wade</string>
<string>weighed</string>
<string>waist</string>
<string>waste</string>
<string>waive</string>
<string>wave</string>
<string>weak</string>
<string>week</string>
<string>weather</string>
<string>whether</string>
<string>were</string>
<string>we're</string>
<string>where</string>
<string>whose</string>
<string>who's</string>
<string>yoke</string>
<string>yolk</string>
<string>young</string>
<string>youthful</string>
<string>your</string>
<string>you're</string>
</array>
<key>BBLMSuffixMap</key>
<array>
<dict>
<key>BBLMLanguageSuffix</key>
<string>gram</string>
</dict>
</array>
<key>BBLMCanSpellCheckCodeRuns</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment