public CreateThemeFromPhrases ( |
||
phrase1 | The first phrase. | |
phrase2 | The second phrase. | |
Résultat | void |
/// <summary> /// Assigns part-of-speech tags, and sets Action, Theme and Arguments for methods that have a reactive name. /// </summary> /// <param name="mdn">The MethodDeclarationNode to parse.</param> protected void ParseReactiveName(MethodDeclarationNode mdn) { //this assumes that the name has already been split and the preamble stripped mdn.Action = mdn.ParsedName[0].GetNewWord("handle", PartOfSpeechTag.Verb); this.PosTagger.TagNounPhrase(mdn.ParsedName); mdn.CreateThemeFromPhrases(mdn.Preamble, mdn.ParsedName); SetDefaultUnknownArguments(mdn); mdn.IsReactive = true; }