lsa with efficient dictionary