private void DomainsLoad(EpinionsCrossDomainDataContainer container)
 {
     int i = 0;
     foreach (var file in DomainFiles)
     {
         container.CurrentDomain = container.Domains["ep" + i++];
         foreach (string line in File.ReadAllLines(file).Skip(1))
         {
             var parts = line.Split(',');
             container.AddRating(parts[0], parts[1], float.Parse(parts[2]), false);
         }
     }
 }
        private void NormalRead(EpinionsCrossDomainDataContainer container)
        {
            string reviewsPath = FolderPath + "\\Reviews.csv";

            // add products
            foreach (string line in File.ReadAllLines(FolderPath + "\\Products.csv").Skip(1))
            {
                var parts = line.Split(',');
                var item = container.AddItem(parts[0]);
                item.Properties["Category"] = parts[1];
            }

            // add reviews
            foreach (string line in File.ReadAllLines(FolderPath + "\\Reviews.csv").Skip(1))
            {
                var parts = line.Split(',');
                container.AddRating(parts[1], parts[4], float.Parse(parts[2]), false);
            }
        }