Lookup candidates in the dictionary.
a midasi (title) string to lookup
whether to search okuri-ari entries or okuri-nasi entries
an array of Candidate