Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dkuku/stop_words
provides a list of stop words for a given language
https://github.com/dkuku/stop_words
Last synced: 18 days ago
JSON representation
provides a list of stop words for a given language
- Host: GitHub
- URL: https://github.com/dkuku/stop_words
- Owner: dkuku
- Created: 2024-04-15T17:29:08.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-04-15T17:55:20.000Z (9 months ago)
- Last Synced: 2024-12-06T05:18:51.256Z (about 1 month ago)
- Language: Elixir
- Size: 70.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# StopWords
based on [stopwords-iso](https://github.com/stopwords-iso/stopwords-iso)Allows to get a list of stop words for a given language
```elixir
iex> Stopwords.pl()
iex> Stopwords.get(:pl)
iex> Stopwords.get("pl")
```All supported languages:
```elixir
iex> Stopwords.languages()
```You can configure the list of supported languages by setting the "include" or "exclude" config keys. It accepts a single atom or a list of atoms.
```elixir
config :stop_words,
include: :pl
```
or```elixir
config :stop_words,
exclude: [:pl, :en]
```## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `stop_words` to your list of dependencies in `mix.exs`:```elixir
def deps do
[
{:stop_words, "~> 0.1.0"}
]
end
```Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at .