Giter VIP home page Giter VIP logo

Comments (8)

PantsuDango avatar PantsuDango commented on May 27, 2024

这个功能我有兴趣做,但是我对日文的规则不太了解,检测到日文汉字时,在输出的原文的汉字上方添加平假名注音,是否有那种对照关系的表呢

from dango-translator.

honjiaxuan avatar honjiaxuan commented on May 27, 2024

你好,我略略调查了一下,这些libraries都能为日文汉字找到对应的平假名注音。不知道对你有帮助吗?我也蛮有兴趣这个功能的,不过没信心可以实现它

依照star数量排列
https://github.com/SamuraiT/mecab-python3
https://github.com/miurahr/pykakasi
https://github.com/ikegami-yukino/jaconv
https://github.com/neocl/jamdict
https://github.com/MikimotoH/furigana

from dango-translator.

HS7097 avatar HS7097 commented on May 27, 2024

这个功能我有兴趣做,但是我对日文的规则不太了解,检测到日文汉字时,在输出的原文的汉字上方添加平假名注音,是否有那种对照关系的表呢

emmm,或许可以换个角度,一些翻译软件提供罗马音,比如谷歌翻译,可以考虑直接获取整句的读法,软件再按照读音拼写出来

from dango-translator.

HS7097 avatar HS7097 commented on May 27, 2024

你好,我略略调查了一下,这些libraries都能为日文汉字找到对应的平假名注音。不知道对你有帮助吗?我也蛮有兴趣这个功能的,不过没信心可以实现它

依照star数量排列 https://github.com/SamuraiT/mecab-python3 https://github.com/miurahr/pykakasi https://github.com/ikegami-yukino/jaconv https://github.com/neocl/jamdict https://github.com/MikimotoH/furigana

我是在读一些小说或者看剧情时会发现有些汉字根本不知道怎么读,导致想往翻译软件中输入也没有办法,主要是想提高词汇量,况且一些句子,读出来就知道是什么意思了,很头疼这些汉字或是外来词

from dango-translator.

PantsuDango avatar PantsuDango commented on May 27, 2024

你好,我略略调查了一下,这些libraries都能为日文汉字找到对应的平假名注音。不知道对你有帮助吗?我也蛮有兴趣这个功能的,不过没信心可以实现它

依照star数量排列 https://github.com/SamuraiT/mecab-python3 https://github.com/miurahr/pykakasi https://github.com/ikegami-yukino/jaconv https://github.com/neocl/jamdict https://github.com/MikimotoH/furigana

非常非常感谢推荐可以使用的项目,我觉得 jaconv 这个就挺不错的,应该可以满足需要,我会在后续更新中尝试加进去

from dango-translator.

PantsuDango avatar PantsuDango commented on May 27, 2024

你好,我略略调查了一下,这些libraries都能为日文汉字找到对应的平假名注音。不知道对你有帮助吗?我也蛮有兴趣这个功能的,不过没信心可以实现它
依照star数量排列 https://github.com/SamuraiT/mecab-python3 https://github.com/miurahr/pykakasi https://github.com/ikegami-yukino/jaconv https://github.com/neocl/jamdict https://github.com/MikimotoH/furigana

我是在读一些小说或者看剧情时会发现有些汉字根本不知道怎么读,导致想往翻译软件中输入也没有办法,主要是想提高词汇量,况且一些句子,读出来就知道是什么意思了,很头疼这些汉字或是外来词

明白,我会在后续的更新中加上的,目前有解决思路了

from dango-translator.

HS7097 avatar HS7097 commented on May 27, 2024

你好,我略略调查了一下,这些libraries都能为日文汉字找到对应的平假名注音。不知道对你有帮助吗?我也蛮有兴趣这个功能的,不过没信心可以实现它
依照star数量排列 https://github.com/SamuraiT/mecab-python3 https://github.com/miurahr/pykakasi https://github.com/ikegami-yukino/jaconv https://github.com/neocl/jamdict https://github.com/MikimotoH/furigana

我是在读一些小说或者看剧情时会发现有些汉字根本不知道怎么读,导致想往翻译软件中输入也没有办法,主要是想提高词汇量,况且一些句子,读出来就知道是什么意思了,很头疼这些汉字或是外来词

明白,我会在后续的更新中加上的,目前有解决思路了

辛苦大佬了

from dango-translator.

sdy623 avatar sdy623 commented on May 27, 2024

@honjiaxuan 谢谢大佬,确实是这样的,用带有词典的NLP工具来注音是最佳方式,我会一些日文,可以写一些难读的但已经成为约定俗称读法的日文汉字词(熟字训)作为测试用例,以这些的测试用例的正确率做一个benchmark怎么样。

from dango-translator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.