look up tries and levenstein