BayesClassifier.Classifier.Add C# (CSharp) Méthode

Add() public méthode

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.
Résultat 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