Utilities for creating term vectors from data
Returns an iterator of (filename, file) tuples from filenames and/or urls (convenience function)
Returns a text stream from filename or url
Returns iterator of files from filenames and/or urls
Returns a term vector for ‘file’, represented as a dictionary of the form {term: frequency}
Returns term vector for string s, represented as a dictionary of the from {term: frequency}
(Convenience function - wraps term_vec())