C# Class csCommon.Types.TextAnalysis.WordHistogram

Inheritance: IConvertibleGeoJson, IConvertibleXml
Mostra file Open project: TNOCS/csTouch Class Usage Examples

Public Methods

Method Description
Append ( string moreText ) : void
Clone ( ) : WordHistogram
FromGeoJson ( Newtonsoft.Json.Linq.JObject geoJsonObject, bool newObject = true ) : IConvertibleGeoJson
FromGeoJson ( string geoJson, bool newObject = true ) : IConvertibleGeoJson
FromGeoJson ( string geoJson ) : WordHistogram
FromXml ( System.Xml.Linq.XElement element ) : void
GetFrequency ( string word ) : int
Merge ( WordHistogram other ) : void
Merge ( string otherWordFrequencies ) : void
ToGeoJson ( ) : string
ToXml ( ) : System.Xml.Linq.XElement
WordHistogram ( string language = null, string text = null ) : System

Private Methods

Method Description
DoWordCount ( string text, bool append ) : void

Method Details

Append() public method

public Append ( string moreText ) : void
moreText string
return void

Clone() public method

public Clone ( ) : WordHistogram
return WordHistogram

FromGeoJson() public method

public FromGeoJson ( Newtonsoft.Json.Linq.JObject geoJsonObject, bool newObject = true ) : IConvertibleGeoJson
geoJsonObject Newtonsoft.Json.Linq.JObject
newObject bool
return IConvertibleGeoJson

FromGeoJson() public method

public FromGeoJson ( string geoJson, bool newObject = true ) : IConvertibleGeoJson
geoJson string
newObject bool
return IConvertibleGeoJson

FromGeoJson() public static method

public static FromGeoJson ( string geoJson ) : WordHistogram
geoJson string
return WordHistogram

FromXml() public method

public FromXml ( System.Xml.Linq.XElement element ) : void
element System.Xml.Linq.XElement
return void

GetFrequency() public method

public GetFrequency ( string word ) : int
word string
return int

Merge() public method

public Merge ( WordHistogram other ) : void
other WordHistogram
return void

Merge() public method

public Merge ( string otherWordFrequencies ) : void
otherWordFrequencies string
return void

ToGeoJson() public method

public ToGeoJson ( ) : string
return string

ToXml() public method

public ToXml ( ) : System.Xml.Linq.XElement
return System.Xml.Linq.XElement

WordHistogram() public method

public WordHistogram ( string language = null, string text = null ) : System
language string
text string
return System