-
Notifications
You must be signed in to change notification settings - Fork 0
Text rakeoptions equals
github-actions[bot] edited this page Sep 21, 2026
·
21 revisions
Development build. This page describes
main, not a released package. The latest published Lodestar.Text is 0.6.0 — read its documentation.
Home › Text › Keyword extraction
Compares every option, treating the stop words as a set.
public bool Equals(RakeOptions other)Parameters — other is the options to compare against, or null.
Returns — true when every scalar matches and both stop-word collections hold the same
words.
Example — the same configuration, written two ways.
using Lodestar.Text.Keywords;
RakeOptions left = new() { StopWords = ["the", "the", "a"] };
RakeOptions right = new() { StopWords = ["a", "the"] };
bool same = left == right; // => TrueRemarks — the stop words are a set, so order and repetition do not count, and an absent collection is not an empty one. the equality rule has the rule.
Applies to — net10.0, netstandard2.0.
See also — RakeOptions.GetHashCode,
RakeOptions.