@@ -247,13 +247,12 @@ export function filterPartsByGeon(parts: string[], geon: Geon): string[] {
248 if (['gq4', 'gfs'].includes(geon)) {
248 if (['gq4', 'gfs'].includes(geon)) {
249 parts = without(parts, 'cbr2mb', 'cbr2lf', 'abrf2', 'abrb2', 'arb2');
249 parts = without(parts, 'cbr2mb', 'cbr2lf', 'abrf2', 'abrb2', 'arb2');
251 return parts;
251 return parts;
254−export function filterFakeParts(parts: string[], symbolType: SymbolType): string[] {
254+export function filterFakeParts(parts: string[]): string[] {
255− let plausibleSyllables = getSyllablesBySymbolType(symbolType);
256− return parts.filter(part => plausibleSyllables.includes(part));
255+ return parts.filter(part => partParents[part]);
259export class SymbolQuery {
258export class SymbolQuery {
@@ -318,7 +317,7 @@ export class SymbolQuery {
318 cleanupParts() {
317 cleanupParts() {
319 this.components = uniq(this.components);
318 this.components = uniq(this.components);
320 this.components = filterPartsByGeon(this.components, this.geon);
319 this.components = filterPartsByGeon(this.components, this.geon);
321− this.components = filterFakeParts(this.components, this.symbolType);
320+ this.components = filterFakeParts(this.components);
322 // if (!this.allowFictional) {
321 // if (!this.allowFictional) {
323 // this.components = this.plausibleParts;
322 // this.components = this.plausibleParts;