C# Класс ABB.Swum.ConstructorRule

The rule to construct the SWUM for constructor methods.
Наследование: UnigramRule
Показать файл Открыть проект

Открытые методы

Метод Описание
ConstructSwum ( ProgramElementNode node ) : void

Constructs the Software Word Use Model for the given node. This method assumes that the node has already been tested to satisfy this Rule, using the InClass method.

ConstructorRule ( ) : System

Creates a new ConstructorRule using default values.

ConstructorRule ( PartOfSpeechData posData, Tagger tagger, IdSplitter splitter ) : System

Creates a new ConstructorRule.

InClass ( ProgramElementNode node ) : bool

Determines whether the supplied node meets the criteria for this rule.

Описание методов

ConstructSwum() публичный метод

Constructs the Software Word Use Model for the given node. This method assumes that the node has already been tested to satisfy this Rule, using the InClass method.
public ConstructSwum ( ProgramElementNode node ) : void
node ABB.Swum.Nodes.ProgramElementNode The node to construct SWUM for.
Результат void

ConstructorRule() публичный метод

Creates a new ConstructorRule using default values.
public ConstructorRule ( ) : System
Результат System

ConstructorRule() публичный метод

Creates a new ConstructorRule.
public ConstructorRule ( PartOfSpeechData posData, Tagger tagger, IdSplitter splitter ) : System
posData ABB.Swum.WordData.PartOfSpeechData The part-of-speech data to use.
tagger Tagger The part-of-speech tagger to use.
splitter IdSplitter The identifier splitter to use.
Результат System

InClass() публичный метод

Determines whether the supplied node meets the criteria for this rule.
public InClass ( ProgramElementNode node ) : bool
node ABB.Swum.Nodes.ProgramElementNode The node to test.
Результат bool