java - check if word belongs to locale -
i have file of words (phrases) belong specific language (let's spanish). in same file there words belong language (let's english). there way find few words using java? locale class of help? these 2 languages example. russian main language , in english ones want identify abnormally.
the locale class isn't going of in case. best bet put spanish , english dictionaries in hashsets , check set membership iterate through file, or if dictionaries large fit in memory put them in database instead.
Comments
Post a Comment