def __init__(self, abbr):
self.abbr = abbr<EOL>self.categorizer = defaultdict(set)<EOL>subs = db.subjects.find({"<STR_LIT>": abbr})<EOL>for sub in subs:<EOL><INDENT>self.categorizer[sub['<STR_LIT>']] = sub['<STR_LIT>']<EOL><DEDENT>
load categorization from subjects mongo table