@Test public void test_should_have_paths_for_pronouns_bura_sura_ora() { predefinedPaths.createPredefinedPathOf_ora_bura_sura_nere(); assertDefinedPath("or", Pronoun, null, "or(ora)+Pron+A3sg+Pnon+Loc(da[da])", "or(ora)+Pron+A3sg+Pnon+Abl(dan[dan])"); assertDefinedPath("bur", Pronoun, null, "bur(bura)+Pron+A3sg+Pnon+Loc(da[da])", "bur(bura)+Pron+A3sg+Pnon+Abl(dan[dan])"); assertDefinedPath("şur", Pronoun, null, "şur(şura)+Pron+A3sg+Pnon+Loc(da[da])", "şur(şura)+Pron+A3sg+Pnon+Abl(dan[dan])"); assertDefinedPath("ner", Pronoun, SecondaryPos.Question, "ner(nere)+Pron+Ques+A3sg+Pnon+Loc(de[de])", "ner(nere)+Pron+Ques+A3sg+Pnon+Abl(den[den])"); }
void createPredefinedPathOf_ora_bura_sura_nere() { final Root root_or = this.findRoot("or", PrimaryPos.Pronoun, null); final Root root_bur = this.findRoot("bur", PrimaryPos.Pronoun, null); final Root root_sur = this.findRoot("şur", PrimaryPos.Pronoun, null); final Root root_ner = this.findRoot("ner", PrimaryPos.Pronoun, SecondaryPos.Question); final Suffix A3Sg_Pron = this.suffixGraph.getSuffix("A3Sg_Pron"); final Suffix Pnon_Pron = this.suffixGraph.getSuffix("Pnon_Pron"); this.pathBuilder(root_or).s(A3Sg_Pron).s(Pnon_Pron).s("Loc_Pron", "da").add(); this.pathBuilder(root_or).s(A3Sg_Pron).s(Pnon_Pron).s("Abl_Pron", "dan").add(); this.pathBuilder(root_bur).s(A3Sg_Pron).s(Pnon_Pron).s("Loc_Pron", "da").add(); this.pathBuilder(root_bur).s(A3Sg_Pron).s(Pnon_Pron).s("Abl_Pron", "dan").add(); this.pathBuilder(root_sur).s(A3Sg_Pron).s(Pnon_Pron).s("Loc_Pron", "da").add(); this.pathBuilder(root_sur).s(A3Sg_Pron).s(Pnon_Pron).s("Abl_Pron", "dan").add(); this.pathBuilder(root_ner).s(A3Sg_Pron).s(Pnon_Pron).s("Loc_Pron", "de").add(); this.pathBuilder(root_ner).s(A3Sg_Pron).s(Pnon_Pron).s("Abl_Pron", "den").add(); }
PredefinedPaths { void createPredefinedPathOf_ora_bura_sura_nere() { final Root root_or = this.findRoot("or", PrimaryPos.Pronoun, null); final Root root_bur = this.findRoot("bur", PrimaryPos.Pronoun, null); final Root root_sur = this.findRoot("şur", PrimaryPos.Pronoun, null); final Root root_ner = this.findRoot("ner", PrimaryPos.Pronoun, SecondaryPos.Question); final Suffix A3Sg_Pron = this.suffixGraph.getSuffix("A3Sg_Pron"); final Suffix Pnon_Pron = this.suffixGraph.getSuffix("Pnon_Pron"); this.pathBuilder(root_or).s(A3Sg_Pron).s(Pnon_Pron).s("Loc_Pron", "da").add(); this.pathBuilder(root_or).s(A3Sg_Pron).s(Pnon_Pron).s("Abl_Pron", "dan").add(); this.pathBuilder(root_bur).s(A3Sg_Pron).s(Pnon_Pron).s("Loc_Pron", "da").add(); this.pathBuilder(root_bur).s(A3Sg_Pron).s(Pnon_Pron).s("Abl_Pron", "dan").add(); this.pathBuilder(root_sur).s(A3Sg_Pron).s(Pnon_Pron).s("Loc_Pron", "da").add(); this.pathBuilder(root_sur).s(A3Sg_Pron).s(Pnon_Pron).s("Abl_Pron", "dan").add(); this.pathBuilder(root_ner).s(A3Sg_Pron).s(Pnon_Pron).s("Loc_Pron", "de").add(); this.pathBuilder(root_ner).s(A3Sg_Pron).s(Pnon_Pron).s("Abl_Pron", "den").add(); } }
PredefinedPaths { void createPredefinedPathOf_ora_bura_sura_nere() { final Root root_or = this.findRoot("or", PrimaryPos.Pronoun, null); final Root root_bur = this.findRoot("bur", PrimaryPos.Pronoun, null); final Root root_sur = this.findRoot("şur", PrimaryPos.Pronoun, null); final Root root_ner = this.findRoot("ner", PrimaryPos.Pronoun, SecondaryPos.Question); final Suffix A3Sg_Pron = this.suffixGraph.getSuffix("A3Sg_Pron"); final Suffix Pnon_Pron = this.suffixGraph.getSuffix("Pnon_Pron"); this.pathBuilder(root_or).s(A3Sg_Pron).s(Pnon_Pron).s("Loc_Pron", "da").add(); this.pathBuilder(root_or).s(A3Sg_Pron).s(Pnon_Pron).s("Abl_Pron", "dan").add(); this.pathBuilder(root_bur).s(A3Sg_Pron).s(Pnon_Pron).s("Loc_Pron", "da").add(); this.pathBuilder(root_bur).s(A3Sg_Pron).s(Pnon_Pron).s("Abl_Pron", "dan").add(); this.pathBuilder(root_sur).s(A3Sg_Pron).s(Pnon_Pron).s("Loc_Pron", "da").add(); this.pathBuilder(root_sur).s(A3Sg_Pron).s(Pnon_Pron).s("Abl_Pron", "dan").add(); this.pathBuilder(root_ner).s(A3Sg_Pron).s(Pnon_Pron).s("Loc_Pron", "de").add(); this.pathBuilder(root_ner).s(A3Sg_Pron).s(Pnon_Pron).s("Abl_Pron", "den").add(); } PredefinedPaths(SuffixGraph suffixGraph, Multimap<String, ? extends Root> rootMap, SuffixApplier suffixApplier); }
PredefinedPaths { void createPredefinedPathOf_ora_bura_sura_nere() { final Root root_or = this.findRoot("or", PrimaryPos.Pronoun, null); final Root root_bur = this.findRoot("bur", PrimaryPos.Pronoun, null); final Root root_sur = this.findRoot("şur", PrimaryPos.Pronoun, null); final Root root_ner = this.findRoot("ner", PrimaryPos.Pronoun, SecondaryPos.Question); final Suffix A3Sg_Pron = this.suffixGraph.getSuffix("A3Sg_Pron"); final Suffix Pnon_Pron = this.suffixGraph.getSuffix("Pnon_Pron"); this.pathBuilder(root_or).s(A3Sg_Pron).s(Pnon_Pron).s("Loc_Pron", "da").add(); this.pathBuilder(root_or).s(A3Sg_Pron).s(Pnon_Pron).s("Abl_Pron", "dan").add(); this.pathBuilder(root_bur).s(A3Sg_Pron).s(Pnon_Pron).s("Loc_Pron", "da").add(); this.pathBuilder(root_bur).s(A3Sg_Pron).s(Pnon_Pron).s("Abl_Pron", "dan").add(); this.pathBuilder(root_sur).s(A3Sg_Pron).s(Pnon_Pron).s("Loc_Pron", "da").add(); this.pathBuilder(root_sur).s(A3Sg_Pron).s(Pnon_Pron).s("Abl_Pron", "dan").add(); this.pathBuilder(root_ner).s(A3Sg_Pron).s(Pnon_Pron).s("Loc_Pron", "de").add(); this.pathBuilder(root_ner).s(A3Sg_Pron).s(Pnon_Pron).s("Abl_Pron", "den").add(); } PredefinedPaths(SuffixGraph suffixGraph, Multimap<String, ? extends Root> rootMap, SuffixApplier suffixApplier); void initialize(); boolean hasPathsForRoot(Root root); Set<MorphemeContainer> getPaths(Root root); }
PredefinedPaths { void createPredefinedPathOf_ora_bura_sura_nere() { final Root root_or = this.findRoot("or", PrimaryPos.Pronoun, null); final Root root_bur = this.findRoot("bur", PrimaryPos.Pronoun, null); final Root root_sur = this.findRoot("şur", PrimaryPos.Pronoun, null); final Root root_ner = this.findRoot("ner", PrimaryPos.Pronoun, SecondaryPos.Question); final Suffix A3Sg_Pron = this.suffixGraph.getSuffix("A3Sg_Pron"); final Suffix Pnon_Pron = this.suffixGraph.getSuffix("Pnon_Pron"); this.pathBuilder(root_or).s(A3Sg_Pron).s(Pnon_Pron).s("Loc_Pron", "da").add(); this.pathBuilder(root_or).s(A3Sg_Pron).s(Pnon_Pron).s("Abl_Pron", "dan").add(); this.pathBuilder(root_bur).s(A3Sg_Pron).s(Pnon_Pron).s("Loc_Pron", "da").add(); this.pathBuilder(root_bur).s(A3Sg_Pron).s(Pnon_Pron).s("Abl_Pron", "dan").add(); this.pathBuilder(root_sur).s(A3Sg_Pron).s(Pnon_Pron).s("Loc_Pron", "da").add(); this.pathBuilder(root_sur).s(A3Sg_Pron).s(Pnon_Pron).s("Abl_Pron", "dan").add(); this.pathBuilder(root_ner).s(A3Sg_Pron).s(Pnon_Pron).s("Loc_Pron", "de").add(); this.pathBuilder(root_ner).s(A3Sg_Pron).s(Pnon_Pron).s("Abl_Pron", "den").add(); } PredefinedPaths(SuffixGraph suffixGraph, Multimap<String, ? extends Root> rootMap, SuffixApplier suffixApplier); void initialize(); boolean hasPathsForRoot(Root root); Set<MorphemeContainer> getPaths(Root root);  }