public IEnumerable <string> GetAllDocumentsConcatenated()
        {
            var trainDocsContents = DocumentList.Select(d => d.DocumentContent);
            var features          = trainDocsContents.SelectMany(d => d.ExtractFeatures());

            return(features);
        }
Esempio n. 2
0
        public List <TheGraphShare> ExistingShares()
        {
            var existing = DocumentList.Select(x => x.ShareOrigin);

            return(Shares.Where(x => existing.Contains(x.Id) || x.Sender == null).OrderByDescending(x => x.BlockNumber).ToList());
        }