How to determine the language(English, Chinese…) of a given string in Oracle?

后端 未结 4 1972
再見小時候
再見小時候 2021-02-06 00:46

How to determine the language (English, Chinese...) of a given sting (table column value) in Oracle(multi language environment)?

4条回答
  •  鱼传尺愫
    2021-02-06 01:25

    It should be possible to use a library like Language Dectection for Java and tie it with your PL/SQL.

    It will probably be more efficient to use SQL to do naive Bayesian filtering and use language profiles derived e.g. from Wikipedia (they are neatly packed here).

    These are just pointers, not a full solution as requested for the bounty, but should help bounty-seekers.

提交回复
热议问题