Ejemplo n.º 1
0
        public SVBlock(SVVector key, string words)
        {
            Vector = key;
            Words  = words.Split(new[] { Environment.NewLine, " " }, StringSplitOptions.RemoveEmptyEntries);

            foreach (var word in Words)
            {
                string.Intern(word);
            }
        }
Ejemplo n.º 2
0
 public static SVBlock FromSV(SVVector key, IEnumerable <string> words) =>
 new SVBlock(key, string.Join(' ', words));