GithubHelp home page GithubHelp logo

align's Introduction

简介

大概步骤就是:

将源文件放入相应位置,

然后在工程目录下打开命令行窗口,

进入python虚拟环境来执行python命令。

命令行的意思是:python执行脚本文件,-s指英文文件名称,-t指中文文件名称。

执行完成后,去result目录获取对齐结果。

使用步骤

1.将中英docx文件放入 /home/wande/文档/docx/source/

2.进入工程目录 cd /home/wande/align/alignProject

3.若使用xshell远程登录模式,可直接输入conda activate align_env,进入python虚拟环境;

4.若直接登录linux操作系统模式:则需要 "右键-打开shell" 进入代码模式后再进入虚拟环境

5.执行命令 python disposeOneMain.py -s "xxx-en.docx" -t "xxx-en-CN.docx",待命令执行完成

6.从 /home/wande/文档/docx/result/ 中获取对齐结果

###备注: ######文档根目录:/home/wande/文档/docx/ ######程序根目录:/home/wande/align/alignProject ######对齐工具champollion tool kit(CTK)使用说明: https://blog.csdn.net/hengwen1991/article/details/79025740

align's People

Contributors

mengguiyouziyi avatar

Stargazers

 avatar

Watchers

James Cloos 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.