3

I'm wondering if there is any free online tool that offers the ability to type in a sentence and have it provide a literal "interlinear gloss" of the original English text in the translated Chinese. So for example you would type in:

It wasn't very hot last night.

And instead of just getting this:

昨晚不是很热。

...which is nice, but it's not enough. It would be nice if it divided it into individual words and put there literal meaning next to it, sort of like:

[昨]   [晚]   [不]       [是]   [很热]
last   night  not       very   hot

I'm not sure if that is correct, but something like that. That would make it easier to learn.

4
  • 2
    昨[last]晚[night]不是[wasn't]很[very]热[hot]。
    – tsh
    Mar 2, 2019 at 8:30
  • 1
    cloud.google.com/translate/docs maybe you can find word level translate here. Overall, it maybe a NLP job if you want precision. If not asked for precision, Firstly translate english to chinese, then use tools like jieba github.com/fxsjy/jieba to segment words, finally foreach words translate to English again. But I think the final result is useless for complex sentences.
    – Voyager
    Mar 7, 2019 at 10:18
  • And all example sentences in dict.youdao.com has similar function, you can use mouse to find translation of each words. And you can search example sentences either for chinese or english.
    – Voyager
    Mar 7, 2019 at 10:31
  • 1
    Have you tried "Perapera Chinese Popup Dictionary" as an extension in your web browser? It interactively does what you want, but one word at a time. ("昨晚" is one word.) Dec 2, 2019 at 13:55

3 Answers 3

2

I wish I had seen this question sooner since this is exactly what I use Yabla for:

enter image description here

2
  • Yabla is such a great resource, thanks.
    – Lance
    Nov 3, 2022 at 18:24
  • This is not a "real" interlinear gloss - it just gets definitions for each word that has been segmented. It doesn't even use part of speech to filter out definitions from the correct part of speech (probably because CC-CEDICT specifically doesn't include any part of speech information, and have refused to add it). Oct 12 at 9:35
1

A straightforward approach is to copy/paste the translation output into Pleco. E.g.:

昨晚不是很热

0

I don't know if there is a tool, but this can be done with some tools combined.

First, use any translation services to get the Chinese text.

Then use a 分词 library to split words.

And there are many ways to add pinyin.

I will write a script, if I can't found one later.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.