Coder Social home page Coder Social logo

Comments (4)

lmk123 avatar lmk123 commented on June 8, 2024

嗯……我没太明白你的需求 😂

“源文本正则表达式”的功能是在翻译之前对源文本做处理(比如去掉空格、换行等)再提交给翻译服务,但是你想要的”翻译文本正则表达式”是想要怎么做,对翻译结果进行处理之后再显示出来吗?

from crx-selection-translate.

huangyc0618 avatar huangyc0618 commented on June 8, 2024

嗯……我没太明白你的需求 😂

“源文本正则表达式”的功能是在翻译之前对源文本做处理(比如去掉空格、换行等)再提交给翻译服务,但是你想要的”翻译文本正则表达式”是想要怎么做,对翻译结果进行处理之后再显示出来吗?

对的!对翻译结果进行处理,举个例子:
原文:LLM generates new solutions from the prompt.
译文:法学硕士从提示词中生成新的解决方案。
期待译文:大语言模型从提示词中生成新的解决方案。

原因是LLM有多个含义,法学领域是法学硕士,计算机领域是大语言模型。期待加个正则功能对原始译文进行替换,将法学硕士替换为大语言模型。

from crx-selection-translate.

lmk123 avatar lmk123 commented on June 8, 2024

我明白你的意思了,确实是个很有趣的功能,我考虑一下

from crx-selection-translate.

LdsDante avatar LdsDante commented on June 8, 2024

在翻译专业领域文献时非常需要这个功能,尤其DeepL把某个频繁出现的冷僻义专有词各种错译时,每次都需要手动修改,非常繁琐,期待后续实装 !

from crx-selection-translate.

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.