#!/usr/bin/env python """ alphabet learning system """ import re, sys sys.path.append('/home/user/.pylib/') from utils import freq import codecs from unicodedata import category sys.stdin = codecs.getreader('utf-8')(sys.stdin) sys.stdout = codecs.getwriter('utf-8')(sys.stdout) class Lexicon: """ The total lexicon from the input word pairs. """ def __init__(self): pass class Vocabulary: """ the subset of Lexicon which the learner has seen """ def __init__(self): pass class Wordset: def __init__(self, words, lexicon): self.lexicon = lexicon self.words = words class Level: def __init__(self, letters, lexicon): self.letters = letters self.lexicon = lexicon self.pattern = regexify(letters) self. def html(self): pass