-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Stopwords remover xml documentation #3413
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
Stopwords remover xml documentation #3413
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3413 +/- ##
==========================================
+ Coverage 72.69% 72.73% +0.03%
==========================================
Files 807 807
Lines 145171 145206 +35
Branches 16225 16230 +5
==========================================
+ Hits 105536 105612 +76
+ Misses 35220 35176 -44
- Partials 4415 4418 +3
|
/// | Output column data type | Vector of unknown size of [Text]<xref:System.ReadOnlyMemory{System.Char}> | | ||
/// | ||
/// The resulting <xref:Microsoft.ML.Transforms.Text.StopWordsRemovingTransformer/> creates a new column, named as specified in the output column name parameters, and | ||
/// fills it with vector of strings similar to vector of strings in input column but removing all, predefined for certain language, strings from it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
strings [](start = 32, length = 7)
replace strings with texts? #Resolved
/// | | | | ||
/// | -- | -- | | ||
/// | Does this estimator need to look at the data to train its parameters? | No | | ||
/// | Input column data type | Vector of [Text]<xref:System.ReadOnlyMemory{System.Char}> | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Text]xref:System.ReadOnlyMemory{System.Char} [](start = 45, length = 47)
nice. let's check how this renders when the preview site is refreshed tomorrow
/// | | | | ||
/// | -- | -- | | ||
/// | Does this estimator need to look at the data to train its parameters? | No | | ||
/// | Input column data type | Vector of [Text]<xref:System.ReadOnlyMemory{System.Char}> | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vector [](start = 35, length = 6)
should this be known-sized? #ByDesign
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it can be either known-sized or unknown size.
output would always be unknown size
In reply to: 276871092 [](ancestors = 276871092)
/// Removes stop words from incoming token streams in <paramref name="inputColumnName"/> | ||
/// and outputs the token streams without stopwords as <paramref name="outputColumnName"/>. | ||
/// Create a <see cref="CustomStopWordsRemovingEstimator"/>, which copies the data from the column specified in <paramref name="inputColumnName"/> | ||
/// to a new column: <paramref name="outputColumnName"/> and removes predifined set of text specific for <paramref name="language"/> from it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
specific for [](start = 100, length = 40)
for later: we should that these language-specific lists to docs.
/// | -- | -- | | ||
/// | Does this estimator need to look at the data to train its parameters? | No | | ||
/// | Input column data type | Vector of [Text]<xref:System.ReadOnlyMemory{System.Char}> | | ||
/// | Output column data type | Vector of unknown size of [Text]<xref:System.ReadOnlyMemory{System.Char}> | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vector of unknown size of [](start = 36, length = 25)
how about "Unknown-sized vector of"? #Resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unspecified? #ByDesign
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// | -- | -- | | ||
/// | Does this estimator need to look at the data to train its parameters? | No | | ||
/// | Input column data type | Vector of [Text]<xref:System.ReadOnlyMemory{System.Char}> | | ||
/// | Output column data type | Unknown-sized vector of [Text]<xref:System.ReadOnlyMemory{System.Char}> | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unspecified? #Resolved
/// | -- | -- | | ||
/// | Does this estimator need to look at the data to train its parameters? | No | | ||
/// | Input column data type | Vector of [Text]<xref:System.ReadOnlyMemory{System.Char}> | | ||
/// | Output column data type | Vector of unknown size of [Text]<xref:System.ReadOnlyMemory{System.Char}> | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unspecified? #ByDesign
/// | Output column data type | Vector of unknown size of [Text]<xref:System.ReadOnlyMemory{System.Char}> | | ||
/// | ||
/// The resulting <xref:Microsoft.ML.Transforms.Text.CustomStopWordsRemovingTransformer/> creates a new column, named as specified in the output column name parameters, and | ||
/// fills it with vector of texts similar to vector of texts in input column but removing all specified texts from it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
specified texts -> common words? #Resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vector of texts -> vector of words? #Resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
they not common, they provided by user. does that phrasing looks better?
In reply to: 276881001 [](ancestors = 276881001)
/// | Output column data type | Unknown-sized vector of [Text](<xref:Microsoft.ML.Data.TextDataViewType>) | | ||
/// | ||
/// The resulting <xref:Microsoft.ML.Transforms.Text.CustomStopWordsRemovingTransformer/> creates a new column, named as specified in the output column name parameters, and | ||
/// fills it with vector of texts similar to vector of words in input column but removing all provided by user words from it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest: The resulting xref:Microsoft.ML.Transforms.Text.CustomStopWordsRemovingTransformer/ creates a new column, named as specified by the output column name parameter, and
fills it with a vector of words containing all of the words in the input column except those given by the stopwords parameter. #Resolved
/// The resulting <xref:Microsoft.ML.Transforms.Text.StopWordsRemovingTransformer/> creates a new column, named as specified in the output column name parameters, and | ||
/// fills it with vector of words similar to vector of words in input column but removing all, predefined for certain language, texts from it. | ||
/// All text comparison made by casting predefined text and text from input column to lower case using casing rules of invariant culture. | ||
/// See the See Also section for links to examples of the usage. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest: The resulting xref:Microsoft.ML.Transforms.Text.StopWordsRemovingTransformer/ creates a new column, named as specified in the output column name parameter, and fills it with a vector of words containing all of the words in the input column **except the predefined list of stopwords for the specified language. #Resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Small type: extra ** in there
/// The resulting <xref:Microsoft.ML.Transforms.Text.StopWordsRemovingTransformer/> creates a new column, named as specified in the output column name parameters, and | ||
/// fills it with vector of words similar to vector of words in input column but removing all, predefined for certain language, texts from it. | ||
/// All text comparison made by casting predefined text and text from input column to lower case using casing rules of invariant culture. | ||
/// See the See Also section for links to examples of the usage. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Small type: extra ** in there
towards #3204