Giter Site home page Giter Site logo

ppenglish's Introduction

英语外刊阅读

在线访问  


演示          

image

image

image

image


特点

  • 千问大模型AI翻译
  • 主流外刊文章,适配四六级、考研等英语学习者需求
  • 用户自定义布局
    • 字体样式 fontFamily
    • 字体大小 fontSize
    • 行间距 lineHeight   
    • 单双列布局
    • 主题
  • markdown笔记

数据来源

文章来源于主流期刊杂志, 翻译由qwen-plus提供:   

# 阿里千问api_key
dashscope.api_key = ""

def AITranslate(content):
    messages = [
        {
            "role": "system",
            "content": "You will be provided with statements, and your task is to translate them to standard Chinese.",
        },
        {
            "role": "user",
            "content": content,
        },
    ]
    response = Generation.call(
        model="qwen-plus",
        messages=messages,
        seed=random.randint(1, 10000),
        result_format="message",
    )
    if response.status_code == HTTPStatus.OK: 
        return response.output.choices[0].message.content
    else: 
        return ""

查词功能

网站不提供查词功能,可安装 欧路翻译 - 网页划词翻译工具 (google.com)等插件实现。


反馈           

网站开源且长期更新,希望得到你的帮助。
如果你有好的想法或者文章数据源,请到 github上提交issue。  

ppenglish's People

Contributors

weiguic2w avatar wushanglang avatar

Stargazers

 avatar YaoYYoung avatar  avatar  avatar

Watchers

 avatar

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.