我有一些中英文翻译的文本。我需要对齐文本,例如把每个句子放在单独的行上,并将英文行与相应的中文行相匹配。
投入1:
今天小兔子去超市。他买了三平水。
…
投入2:
Today Little Rabbit went to the supermarket. He bought three bottles of water.
…
输出:
今天小兔子去超市。 Today Little Rabbit went to the supermarket.
他买了三平水。 He bought three bottles of water.
… …
是否有任何软件可以帮助这种对齐,要么通过识别中、英文单词并将文本移动到平行线来提供自动对齐,要么使对齐平行文本的手工任务更加方便?
发布于 2014-10-12 11:51:40
您可以使用Microsoft手动完成此操作:
More Columns
条目修改宽度。请注意,如果希望将其包含在较长的文本中,则可以用两个连续分段分隔来包围列。
发布于 2014-10-12 14:02:49
另一种方法是使用LaTeX。
longtable
环境允许将文本排列到跨多个页面的表中。tex文件的格式如下:
\documentclass[12pt, a4paper]{article}
\usepackage{CJKutf8} % For Chinese characters support
\usepackage{longtable}
\begin{document}
\begin{longtable}{ll} % Use longtable with 2 columns and no borders
今天小兔子去超市 & Today Little Rabbit went to the supermarket \\
他买了三平水。 & He bought three bottles of water. \\
... & ... \\
\end{longtable}
\end{document}
使用pdflatex
编译,您应该以pdf文件中所需的格式结束。
https://softwarerecs.stackexchange.com/questions/13122
复制相似问题