问题标签 [transliteration]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
980 浏览

utf-8 - 从埃塞俄比亚语(及其他)音译为 ASCII(ሀ -> ha; ü -> ue)

我还不太擅长阅读阿姆哈拉语(吉兹/埃塞俄比亚)字母。

如果我有 Ge'ez(埃塞俄比亚)字母(http://en.wikipedia.org/wiki/Ge%27ez_language)的文本,我想将它们音译为 ASCII。

当我使用 LYNX Textmode 浏览器访问http://www.addismap.com/am/(阿姆哈拉语网页)时,它会显示“edis map: yeedis ebeba karta”。如何在 Python、Bash 或 PHP 中访问此功能?他们使用哪个 API?

好像不是iconv:

0 投票
1 回答
727 浏览

emacs - Emacs 音译?

有什么方法可以让音译在 Emacs 中工作,就像现在在 Gmail 中一样?我对让它以西里尔文工作特别感兴趣。

作为参考,Gmail 做了如下的事情:我可以输入svoboda,它会输出свобода. 这允许像我这样会说俄语但不能打字的人轻松输入西里尔字符。在 Gmail 中,这适用于其他语言,但我只担心西里尔文。

0 投票
3 回答
287 浏览

perl - 如何在 Perl 中用 bfjpv 替换 aeiou?

我想在用户输入的字符串中用 bfjpv 替换 aeiou。这是不起作用的代码:-

我应该怎么做才能添加一个字符?我的意思是如何替换ab.

0 投票
4 回答
11569 浏览

python - Python 和字符规范化

您好,我从包含特殊字符的外部来源检索基于文本的 utf8 数据,例如u"ıöüç"我想将它们标准化为英语,例如"ıöüç"-> "iouc"。实现这一目标的最佳方法是什么?

0 投票
1 回答
4775 浏览

java - 如何在我的 Java Web 应用程序中使用 Google 音译 API?

如何在我的 Java 应用程序中使用Google Transliteration API。

如果我给出一个字符串英语或阿拉伯语)作为输入,Google Transliterator API 那么它应该将其翻译成相应的其他语言并将转译的字符串提供给我。我也想知道用谷歌翻译好还是直译好?

这个怎么做?请有任何建议。我需要在我的 JAVA 程序中使用它。

0 投票
3 回答
2914 浏览

ruby - 在 Ruby 中使用 Iconv 进行音译

当我试图用

(见问题/1726404/transliteration-in-ruby

除了那些必须音译的符号外,我得到了所有东西。

例如:“r-строка”→“r-”和“Gévry”→“Gvry”。

怎么了?

Ruby 1.8.7 / Rails 2.3.5 / WSeven

0 投票
1 回答
2464 浏览

android - iOS/Android 上的音译

是否可以在 iOS 和/或 Android 上使用Google Transliterate API ?

这里的关键是能够让用户在任何常规文本字段的任何位置键入非英语(从英语音译)文本,而无需打开任何应用程序并复制/粘贴。

0 投票
1 回答
339 浏览

api - What's the limit of google transliteration?

I've used google transliteration API experimentally. It's working fine and I've noticed that it allows only five words at a time. Is there any method to send more words? and is there any daily limit? If I have 100 words, I will have to send a set of five and then join them?

0 投票
3 回答
306 浏览

perl - 在 perl 中保存音译表

我想用 0 音译 1 - 8 的数字,但在编译时不知道数字。由于音译不插入变量我这样做:

然后像这样索引它:

如果有人能指出我最好的解决方案,我将不胜感激。

0 投票
1 回答
1340 浏览

java - Google Transliteration API: How to take the input & save the output in a text file?

Greetings All;

I need to use google translitrate api in a java application.

What I have done till now is to import the sample in the library "gwt-language-1.1.0" that called "hellolanguage" in the netbeans, then I added the required libraries/jars.

It worked fine like this demo: hellolanguage Demo but on my localhost.

what I want to do is to transliterate data from "inputfile.txt" for example and put the output in an "outputfile.txt".

I don't know how to implement this idea?

I'll be glad if you help me.

Best regards;