BayesClassifier.Classifier.Add C# (CSharp) Method

Add() public method

Adds phrases to a category.
public Add ( string category, IEnumerable phrases ) : void
category string The category to add the phrases to. Will be created if necessary.
phrases IEnumerable The phrases to add.
return void
        public void Add(string category, IEnumerable<string> phrases)
        {
            foreach (string phrase in phrases)
                Add(category, phrase);
        }
        /// <summary>

Same methods

Classifier::Add ( string category, string phrase ) : void