【问题标题】:org.xeustechnologies.googleapi.spelling.SpellCheckException: java.io.FileNotFoundException: https://www.google.com/tbproxy/spell?lang=en&hl=enorg.xeustechnologies.googleapi.spelling.SpellCheckException: java.io.FileNotFoundException: https://www.google.com/tbproxy/spell?lang=en&hl=en
【发布时间】:2023-03-27 19:09:01
【问题描述】:

我正在使用 google-speller-api.jar 它抛出异常

org.xeustechnologies.googleapi.spelling.SpellCheckException: java.io.FileNotFoundException: https://www.google.com/tbproxy/spell?lang=en&hl=en

这是我的代码

SpellChecker spellChecker=new SpellChecker();
spellChecker.setLanguage(Language.ENGLISH);


SpellRequest spellRequest=new SpellRequest();
spellChecker.setOverHttps(true);
spellRequest.setText("aple");

SpellResponse spellResponse=spellChecker.check(spellRequest);

【问题讨论】:

    标签: java spell-checking spelling


    【解决方案1】:

    Google 停止了这项服务,这就是您收到 404 错误的原因,因为该服务不可用。

    检查这个issue report

    【讨论】:

    • 谢谢。还有其他类似 google-speller.jar 的服务吗?
    • @DoctorDo 我不知道有任何服务。请在softwarerecs.stackexchange.com提出问题
    猜你喜欢
    • 2021-08-25
    • 1970-01-01
    • 2019-11-07
    • 2020-07-02
    • 1970-01-01
    • 2019-06-16
    • 2013-03-26
    • 2014-09-16
    • 1970-01-01
    相关资源
    最近更新 更多