public BookCollection(List <string> ids)
        {
            this.ids         = ids;
            sentences        = new List <SentenceExample>();
            trainingExamples = new List <SentenceExample>();
            trainingLabels   = new List <int>();

            id = IdUtil.CreateBookCollectionName(ids);
        }
 public void CreateBookCollectionNameTest()
 {
     Assert.Equal("cat_dog", IdUtil.CreateBookCollectionName(new List <string>(new string[] { "cat", "dog" })));
 }
 public void CreateBookCollectionNameEmptyTest()
 {
     Assert.Equal("", IdUtil.CreateBookCollectionName(new List <string>()));
 }
 public void CreateBookCollectionNameNullTest()
 {
     Assert.Equal("", IdUtil.CreateBookCollectionName(null));
 }