Dictionary parser and basic template