take words from other files if there is no variants from current file at all (IDEA-117511)
(cherry picked from commit 64575f6) [r=Peter.Gromov]