
LengthFilter
- Namespace
- Rowles.LeanCorpus.Analysis.Filters
- Assembly
- Rowles.LeanCorpus.dll
Removes tokens whose text length falls outside an inclusive range.
public sealed class LengthFilter : ITokenFilter
LengthFilter
- Implements
Constructors
LengthFilter(int, int)
Initialises a new LengthFilter with inclusive minimum and maximum lengths.
Methods
Apply(List<Token>)
Applies the filter to the token list, modifying it in place.