diff --git a/routes/pronouns.vue b/routes/pronouns.vue
index e19260c39..dcd5d70dd 100644
--- a/routes/pronouns.vue
+++ b/routes/pronouns.vue
@@ -54,9 +54,9 @@
-
+
@@ -334,6 +334,14 @@
clearExampleParts(parts) {
return parts.map(p => new ExamplePart(p.variable, p.str.replace(/^'/, '')));
},
+ deduplicatePronounGroup(pronounGroup) {
+ const dict = {};
+ for (let pronoun of pronounGroup) {
+ if (dict.hasOwnProperty(pronoun.name(this.glue))) { continue; }
+ dict[pronoun.name(this.glue)] = pronoun;
+ }
+ return Object.values(dict);
+ },
},
}