Skip to content

Decide a good name for TextLoader #2144

Closed
@najeeb-kazmi

Description

@najeeb-kazmi

In #1690 we renamed MLContext.Data.CreateTextReader to MLContext.Data.CreateTextLoader to have the method match the return type TextLoader.

In #581 and subsequent work, we are replacing IDataLoader with IDataReader, and so renaming the TextLoader to TextReader would make sense. However, doing so would lead to disambiguation issues between Microsoft.ML.Data.TextReader and System.IO.TextReader, which we should avoid as per .NET guidelines. So, we must come up with a new name for TextLoader that is descriptive but is different from TextReader.

Some suggestions:

  • DelimitedTextReader
  • DelimTextReader
  • TextDataReader

cc: @glebuk @eerhardt @TomFinley

Metadata

Metadata

Assignees

Labels

APIIssues pertaining the friendly API

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions