如何确定Oracle中给定字符串的语言(英文,中文...)? [英] How to determine the language(English, Chinese...) of a given string in Oracle?

查看:142
本文介绍了如何确定Oracle中给定字符串的语言(英文,中文...)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何确定Oracle(多语言环境)中给定sting(表列值)的语言(英语,中文...)?

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

推荐答案

应该可以使用像 Java的语言检测并将其与PL / SQL联系起来。

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

使用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.

这篇关于如何确定Oracle中给定字符串的语言(英文,中文...)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆