-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Decide a good name for TextLoader #2144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Just a random thought, but what about |
DataViewReader? |
DelimitedTextReader sounds good to me. |
Personally, I think that the word 'delimited' in
I think we need a name that characterizes this loader and that remains simple. That's why I like the idea of keeping the word 'Text' in the name. I would go for What your opinions on this @Ivanidzo4ka, @wschin, @TomFinley, @najeeb-kazmi? |
I think this was captured somewhere, but I cannot find the issue where we talked about this, so I am going to recapture the gist. Somewhere else (that I cannot find right now) we determined that So, the proposal was: once |
It may have been something that we discussed in .NET team API review a while ago, where they told us, "don't call it a reader, we don't like that." And we agreed. So maybe like many "obvious" things we had to do we failed to capture it in an issue, since everyone agreed quite readily, to the point where paradoxically it also did not make much of an impression on our minds. 😄 |
Makes sense! Thank you for bringing this up here. I will go ahead and do the change according to the proposal. |
In #1690 we renamed
MLContext.Data.CreateTextReader
toMLContext.Data.CreateTextLoader
to have the method match the return typeTextLoader
.In #581 and subsequent work, we are replacing
IDataLoader
withIDataReader
, and so renaming theTextLoader
toTextReader
would make sense. However, doing so would lead to disambiguation issues betweenMicrosoft.ML.Data.TextReader
andSystem.IO.TextReader
, which we should avoid as per .NET guidelines. So, we must come up with a new name forTextLoader
that is descriptive but is different fromTextReader
.Some suggestions:
DelimitedTextReader
DelimTextReader
TextDataReader
cc: @glebuk @eerhardt @TomFinley
The text was updated successfully, but these errors were encountered: