text
text copied to clipboard
Update doc strings to clarify file-object
Update doc strings and clarify that the file object supported by the functions are the file opened in a text mode. A followup task is to add the support of HTTPResponse, which has read method. Relevant issues https://github.com/pytorch/text/issues/1003 and https://github.com/pytorch/text/issues/1004