Example #1
0
        private string GetLabel()
        {
            var    leafDocCnt = _dataScheme.GetTopicLeafDocIndices(_dataNode).Count;
            var    words      = _dataScheme.GetTopicWords(_dataNode);
            string label      = leafDocCnt.ToString() + "\n";
            int    index      = 0;

            foreach (var word in words.Keys)
            {
                label += word + "\n";
                if (++index == 3)
                {
                    break;
                }
            }
            return(label);
        }