//todo: build a dict with distinct words before insert in the db to save time public void Train(ProcessedDocument document) { _iWordRepository.AddMultipleWords(document.Words); return; }