Skip to content

Commit

Permalink
Add memoQ quality estimation integrations (#541)
Browse files Browse the repository at this point in the history
* Add memoQ quality estimation integrations

* Update quality-estimation.json

remove "API" from name, so we don't have "The ... API ... API" in the description

* Update integration.html

* #541 Merge and run generate.py (#542)

* Add QE to Integrations pages

* Fix punctuation

* Improve wording

* Modify data

* Generate data

* Generate data

* Update quality_estimation.html

---------

Co-authored-by: Tovmas <[email protected]>
Co-authored-by: Adam Bittlingmayer <[email protected]>

* Update integration.html

* Update quality_estimation.html

* Make tagline small and in quotes

* Update quality_estimation.html

---------

Co-authored-by: tovmasharrison <[email protected]>
Co-authored-by: Tovmas <[email protected]>
  • Loading branch information
3 people authored Sep 27, 2023
1 parent e901aad commit 4bb6b36
Show file tree
Hide file tree
Showing 7 changed files with 72 additions and 75 deletions.
12 changes: 12 additions & 0 deletions _data/integrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,18 @@
}
}
],
"quality_estimation_integrations":[
{
"modelfront": {
"custom": true
}
},
{
"demt-estimate": {
"custom": true
}
}
],
"local_api_support": true,
"multiple_api_suggestions": true,
"fuzzy_repair": true
Expand Down
6 changes: 3 additions & 3 deletions _data/quality-estimation.json
Original file line number Diff line number Diff line change
Expand Up @@ -3955,8 +3955,8 @@
]
},
{
"id": "demt-estimate-api",
"name": "DeMT Estimate API",
"id": "demt-estimate",
"name": "DeMT Estimate",
"company": "TAUS",
"tagline": null,
"languages": [
Expand Down Expand Up @@ -4173,4 +4173,4 @@
"https://cloud.google.com/translation-hub/docs/supported-languages#machine_translation_quality_prediction_model"
]
}
]
]
35 changes: 9 additions & 26 deletions _layouts/integration.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,38 +13,23 @@ <h2>
<hr/>

<p>
{% if page.api_integrations.size == 1 %}
<a href="#integrations">1 machine translation API</a> has been integrated by the <strong>{{ page.title }}</strong> translation management system.
{% else %}
The <strong>{{ page.title }}</strong> {{ page.type_description }} has <a href="#machine-translation">{{ page.api_integrations | size }} machine translation API integrations</a>.
{% endif %}
</p>

<p>
{% if page.quality_estimation_integrations.size == 1 %}
<a href="#quality-estimation">1 quality estimation API</a> has been integrated by the <strong>{{ page.title }}</strong> translation management system.
{% else %}
The <strong>{{ page.title }}</strong> translation management system has <a href="#quality-estimation">{{ page.quality_estimation_integrations | size }} quality estimation API integrations</a>.
{% endif %}
The <strong>{{ page.title }}</strong> {{ page.type_description }} has
<a href="#machine-translation">{{ page.api_integrations | size }}machine translation API integration{% if page.api_integrations.size != 1 %}s{% endif %}</a>
and
<a href="#quality-estimation">{{ page.quality_estimation_integrations | size }}translation quality estimation API integration{% if page.quality_estimation_integrations != 1 %}s{% endif %}</a>.
</p>

<blockquote>
<dl>

<dt>API support</dt>
<dd>
{% if page.api_integrations.size > 0 %}
<a href="#machine-translation">{{ page.api_integrations.size }} machine translation API{% if page.api_integrations.size > 0 %}s{% endif %}</a>{% if page.quality_estimation_integrations.size > 0 %},{% endif %}
{% endif %}
<a href="#machine-translation">{{ page.api_integrations.size }} machine translation API{% if page.api_integrations.size != 1 %}s{% endif %}</a>,
</dd>
<dd>
{% if page.quality_estimation_integrations.size > 0 %}
<a href="#quality-estimation"> {{ page.quality_estimation_integrations.size }} quality estimation API{% if page.quality_estimation_integrations.size > 1 %}s{% endif %} </a>
{% endif %}
<a href="#quality-estimation">{{ page.quality_estimation_integrations.size }} quality estimation API{% if page.quality_estimation_integrations.size != 1 %}s{% endif %} </a>
</dd>



</dl>

<hr/>
Expand Down Expand Up @@ -81,12 +66,11 @@ <h2>Machine translation</h2>
</details>
</section>


<section id="quality-estimation">
<h2>Quality estimation</h2>
<details>
<summary>
<strong>{{ page.quality_estimation_integrations| size }}</strong> Quality estimation API integrations are available for {{ page.title }}.
<strong>{{ page.quality_estimation_integrations| size }}</strong> quality estimation API integrations are available for {{ page.title }}.
<p class="preview hint">
{{page.quality_estimation_integrations | slice: 0, 5 | map: 'name' | join: ', ' }}
{% if page.quality_estimation_integrations > 5 %}, …{% endif %}
Expand All @@ -104,8 +88,7 @@ <h2>Quality estimation</h2>
</details>
</section>


{% if page.fuzzy_repair %}
<h2>Other features</h2>
{{ page.description }} offers <strong>fuzzy repair</strong> with machine translation.
<h2>Other machine translation features</h2>
<p>{{ page.description }} offers <strong>fuzzy repair</strong>.</p>
{% endif %}
68 changes: 29 additions & 39 deletions _layouts/quality_estimation.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,35 +12,30 @@ <h2>
<hr>

<p>
{% if page.supported_languages.size > 0 %}
The <strong>{{ page.title }}</strong> quality estimation API supports <a href="#language-support">{{ page.supported_languages | size }} languages</a>.
{% else %}
The <strong>{{ page.title }}</strong> quality estimation API supports an unknown number of languages.
{% endif %}
The <strong>{{ page.title }}</strong> quality estimation API is available in
<a href="#integrations">{{ page.integrations | size }}
machine translation management system{% if page.integrations.size != 1 %}s{% endif %}</a>.
</p>

<p>
{% if page.integrations.size == 1 %}
<a href="#integrations">1 machine translation management system</a> has integrated the {{ page.title }} quality estimation API.
{% else %}
<a href="#integrations">{{ page.integrations | size }} machine translation management systems</a> have integrated the <strong>{{ page.title }}</strong> quality estimation API.
{% endif %}
{% if page.supported_languages.size > 0 %}
{{ page.title }}</strong> supports <a href="#language-support">{{ page.supported_languages | size }} languages</a>.
{% else %}
{{ page.title }} supports an unknown number of languages.
{% endif %}
</p>

{% if page.tagline %}
<blockquote>
<h3>
{{ page.tagline }}
</h3>
“{{ page.tagline }}”
</blockquote>
{% endif %}

{{ content }}


{% if page.customisation %}
<p>
The <strong>{{ page.title }}</strong> quality estimation API supports <a href="/customisation">Customisation</a>.
The <strong>{{ page.title }}</strong> quality estimation API supports <a href="/customisation">customisation</a>.
{% endif %}
{% if page.only_compatible_tms != nil %}
{% if page.only_compatible_tms.size > 1 %}
Expand Down Expand Up @@ -171,27 +166,22 @@ <h2>Language support</h2>
{% endif %}
</section>


<section id="integrations">
<h2>Integrations</h2>
<details>
<summary>
{% if page.integrations.size == 1 %}
<strong>1</strong> translation management system has integrated the {{ page.title }} quality estimation API.
{% else %}
<strong>{{ page.integrations | size }}</strong> translation management systems have integrated the {{ page.title }} quality estimation API.
{% endif %}
<p class="preview hint">
{{ page.integrations | slice: 0, 5 | map: 'name' | join: ', ' }}
{% if page.integrations.size > 5 %}, …{% endif %}
</p>
</summary>
<ul>
{% for i in page.integrations %}
<li>
<a href="/{{ i.slug }}" >{{ i.name }}</a>
</li>
{% endfor %}
</ul>
</details>
</section>
<section id="integrations">
<h2>Integrations</h2>
<details>
<summary>
{{ page.title }} is integrated in <strong>1</strong> translation management system{% if page.integrations.size != 1 %}s{% endif %}.
<p class="preview hint">
{{ page.integrations | slice: 0, 5 | map: 'name' | join: ', ' }}
{% if page.integrations.size > 5 %}, …{% endif %}
</p>
</summary>
<ul>
{% for i in page.integrations %}
<li>
<a href="/{{ i.slug }}" >{{ i.name }}</a>
</li>
{% endfor %}
</ul>
</details>
</section>
10 changes: 8 additions & 2 deletions integrations/memoq.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
autogenerated: true
layout: integration
nav_order: 975
nav_order: 973
title: MemoQ
description: Machine translation API integrations in MemoQ
id: memoq
Expand Down Expand Up @@ -135,7 +135,13 @@ api_integrations:
name: XL8
fuzzy_repair: true
open-source: false
quality_estimation_integrations: []
quality_estimation_integrations:
- slug: modelfront
custom: true
name: ModelFront
- slug: demt-estimate
custom: true
name: DeMT Estimate
seo:
name: Machine translation API integrations in MemoQ
type: Product
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
autogenerated: true
nav_order: 891
layout: quality_estimation
title: DeMT Estimate API
description: The DeMT Estimate API translation quality estimation API
title: DeMT Estimate
description: The DeMT Estimate translation quality estimation API
tagline: null
id: demt-estimate-api
id: demt-estimate
company: TAUS
parent: Quality estimation
urls:
Expand Down Expand Up @@ -560,9 +560,12 @@ supported_languages:
only_compatible_mt_api: null
only_compatible_tms: null
customisation: false
integrations: []
integrations:
- slug: memoq
name: MemoQ
custom: true
seo:
name: The DeMT Estimate API translation quality estimation API
name: The DeMT Estimate translation quality estimation API
type: Product

---
Expand Down
3 changes: 3 additions & 0 deletions quality-estimation/modelfront.md
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,9 @@ integrations:
- slug: crowdin
name: Crowdin
custom: true
- slug: memoq
name: MemoQ
custom: true
- slug: translate5
name: translate5
custom: true
Expand Down

0 comments on commit 4bb6b36

Please sign in to comment.