# text quality estimation

**URL:** <https://support.prodi.gy/t/text-quality-estimation/3624>\
**Category:** Uncategorized\
**Tags:** usage, custom\
**Created:** [November 11, 2020, 6:28pm UTC](https://support.prodi.gy/t/text-quality-estimation/3624 "2020-11-11T18:28:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![codingnoobneedshelp](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/codingnoobneedshelp/32/1740_2.png) [@codingnoobneedshelp](https://support.prodi.gy/u/codingnoobneedshelp)\
**Post date:** [November 11, 2020, 6:28pm UTC](https://support.prodi.gy/t/text-quality-estimation/3624/1 "2020-11-11T18:28:33Z")

</div>

Hello,

I'm building a parallel corpus where I want to compare German and English sentences.

Basically, I try to reproduce the "Diff" example at the [https://prodi.gy/demo](https://prodi.gy/demo) page.

As far as I understand Diff is only working for mark, review, and custom recipe.

Which one do I need to use for my use-case?

I have tried the mark recipe with diff as view\_id but it seems not to be the right recipe.

Thanks

Edit: I think that I have figured it out. I assume the "Diff" example uses some kind of translation model and the concept of blocks right?

---

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [November 13, 2020, 1:12am UTC](https://support.prodi.gy/t/text-quality-estimation/3624/2 "2020-11-13T01:12:34Z")

</div>

Hi! From what you describe, it sounds like you might be looking for something like the `compare` recipe? [https://prodi.gy/docs/recipes#compare](https://prodi.gy/docs/recipes#compare)

It lets you pass in two files with the two outputs you want to compare, and lets you set a `--diff` flag to show a visual diff. You can also configure whether the A/B mapping should be randomised so you can perform an actual A/B evaluation 🙂

Alternatively, you can also write a [custom recipe](https://prodi.gy/docs/custom-recipes) and use the `diff` interface. You can see an example of the expected format here – that's what your stream needs to yield: [https://prodi.gy/docs/api-interfaces#diff](https://prodi.gy/docs/api-interfaces#diff) You can also put together a custom combined interface, e.g. using `diff` plus `choice` for multiple choice options, or whatever else you need: [https://prodi.gy/docs/custom-interfaces](https://prodi.gy/docs/custom-interfaces)
