public virtual string ToSummaryString() { StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); pw.Println("Number of data points: " + Size()); pw.Println("Number of active feature tokens: " + NumFeatureTokens()); pw.Println("Number of active feature types:" + NumFeatureTypes()); return(pw.ToString()); }