Dictionary: Avoid random text selection going through api

Do a simple check to see if the selection looks like a word for
dictionary api

Change-Id: Id248bd364ff57baf0b0eed850ce810fe6728f747
Merge "Dictionary: Avoid random text selection going through api"