This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os.path | |
import collections | |
from operator import itemgetter | |
WORDFILE = '/usr/share/dict/words' | |
class Autocorrect(object): | |
""" | |
Very simplistic implementation of autocorrect using ngrams. | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- VAST document with one InLine ad and one Wrapper ad--> | |
<VAST version="2.0"> | |
<Ad id="601364"> | |
<InLine> | |
<AdSystem>Acudeo Compatible</AdSystem> | |
<AdTitle>VAST 2.0 Instream Test 1</AdTitle> | |
<Description>VAST 2.0 Instream Test 1</Description> | |
<Error>http://myErrorURL/error</Error> | |
<Impression> |