Skip to content

Commit eedf9a9

Browse files
committed
Beauty
1 parent d8dcad7 commit eedf9a9

File tree

1 file changed

+4
-4
lines changed
  • src/components/CognateAnalysisModal

1 file changed

+4
-4
lines changed

src/components/CognateAnalysisModal/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ const computeNeuroCognateAnalysisMutation = gql`
295295
mutation computeNeuroCognateAnalysis(
296296
$sourcePerspectiveId: LingvodocID!
297297
$perspectiveInfoList: [[LingvodocID]]!
298-
$matchTranslations: Boolean
298+
$distilledModel: Boolean
299299
$baseLanguageId: LingvodocID
300300
$inputPairs: ObjectVal
301301
$truthThreshold: Float
@@ -307,7 +307,7 @@ const computeNeuroCognateAnalysisMutation = gql`
307307
neuro_cognate_analysis(
308308
source_perspective_id: $sourcePerspectiveId
309309
perspective_info_list: $perspectiveInfoList
310-
match_translations: $matchTranslations
310+
distilled_model: $distilledModel
311311
base_language_id: $baseLanguageId
312312
input_pairs: $inputPairs
313313
truth_threshold: $truthThreshold
@@ -2439,7 +2439,7 @@ class CognateAnalysisModal extends React.Component {
24392439
sourcePerspectiveId: perspectiveId,
24402440
baseLanguageId: this.baseLanguageId, //really required?
24412441
truthThreshold,
2442-
matchTranslations: this.state.matchTranslationsFlag,
2442+
distilledModel: this.state.matchTranslationsFlag,
24432443
onlyOrphansFlag: this.state.onlyOrphansFlag,
24442444
groupFieldId: groupField.id,
24452445
debugFlag: this.state.debugFlag,
@@ -2562,7 +2562,7 @@ class CognateAnalysisModal extends React.Component {
25622562
</div>
25632563
<div className="lingvo-cognate-checkbox">
25642564
<Checkbox
2565-
label={this.context("Match translations")}
2565+
label={this.context("Better precision (but slower)")}
25662566
checked={this.state.matchTranslationsFlag}
25672567
onChange={(e, { checked }) => {
25682568
this.setState({ matchTranslationsFlag: checked });

0 commit comments

Comments
 (0)