Skip to content

Get list of common stop words in various languages in dotnet

License

Notifications You must be signed in to change notification settings

hklemp/dotnet-stop-words

Repository files navigation

dotnet-stop-words

Get list of common stop words in various languages in dotnet. Based on the list of Alir3z4
NuGet version (dotnet-stop-words) Nuget

Actions Status Build Status

Available languages

  • Arabic
  • Bulgarian
  • Catalan
  • Czech
  • Danish
  • Dutch
  • English
  • Finnish
  • French
  • German
  • Hebrew
  • Hindi
  • Hungarian
  • Indonesian
  • Malaysian
  • Italian
  • Norwegian
  • Polish
  • Portuguese
  • Romanian
  • Russian
  • Slovak
  • Spanish
  • Swedish
  • Turkish
  • Ukrainian
  • Vietnamese

Installation

Install-Package dotnet-stop-words -Version 1.1.0

or

dotnet add package dotnet-stop-words --version 1.1.0

or

paket add dotnet-stop-words --version 1.1.0

Usage

var testString = "Hello this is a test";
var newString = s.RemoveStopWords("en");
// newstring is now Hello
var stopWords = StopWords.GetStopWords("en");
// stopWords has a list of all englisch stop words