ABB.Swum.Nodes.WordNode.WordNode C# (CSharp) Method

WordNode() public method

Creates a new WordNode.
public WordNode ( String text, PartOfSpeechTag tag, double confidence ) : System
text String The actual text of the word.
tag PartOfSpeechTag The part-of-speech of the word.
confidence double A rating of the confidence of the part-of-speech tagging for this word.
return System
        public WordNode(String text, PartOfSpeechTag tag, double confidence) {
            if(text == null) { throw new ArgumentNullException("text"); }
            this.Text = text;
            this.Tag = tag;
            this.Confidence = confidence;
            if(text == text.ToUpper()) { this.AllCaps = true; }
        }

Same methods

WordNode::WordNode ( ) : System
WordNode::WordNode ( String text ) : System
WordNode::WordNode ( String text, PartOfSpeechTag tag ) : System