https://github.com/opsdroid/skill-words
💬 A skill to work with words in opsdroid - scrabble helper, dictionary, translator
https://github.com/opsdroid/skill-words
Last synced: 18 days ago
JSON representation
💬 A skill to work with words in opsdroid - scrabble helper, dictionary, translator
- Host: GitHub
- URL: https://github.com/opsdroid/skill-words
- Owner: opsdroid
- License: apache-2.0
- Created: 2018-01-13T11:06:48.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-01T13:44:35.000Z (over 6 years ago)
- Last Synced: 2025-05-06T11:35:57.590Z (10 months ago)
- Language: Python
- Size: 10.7 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# opsdroid skill words
A skill for [opsdroid](https://github.com/opsdroid/opsdroid) that uses the NLTK module to play with words.
## Requirements
NLTK module + NLTK data
To download NLTK data you can type in the command line the following:
```
python -m nltk.downloader all
```
[Read more](http://www.nltk.org/data.html) on the official NLTK site.
## Configuration
None.
## Usage
#### `help scrabble: `
Opsdroid will help you in scrabble. Just type your unused letters followed by one board letter and opsdroid will give you words that you can use.
> user: help scrabble: igetadl e
>
> opsdroid: Please give me a second, I'm thinking...
>
> opsdroid: Hmm... How about: ['gaited', 'aiglet', 'detail', 'taigle', 'ligate']
Opsdroid will choose words that are at least 4 letters long. If no combination is possible Opsdroid will let you know.
> user: help scrabble: aeiouff f
>
> opsdroid: Please give me a second, I'm thinking...
>
> opsdroid: Sorry, I can't help you with these letters, you better replace some.
#### `define: `
Opsdroid will give you the meaning of a word and how you can use it in a sentence.
> user: define: car
>
> opsdroid:
> Definition of the word 'car': a motor vehicle with four wheels; usually propelled by an internal combustion engine
> Synonyms: ['car', 'auto', 'automobile', 'machine', 'motorcar']
> You can use this word like such: ['he needs a car to get to work']
#### `translate: from: to: `
Opsdroid will translate a word from a language into another language.
> user: translate: dog from: english to: portuguese
>
> opsdroid: The english word 'dog' in portuguese is: cão, cachorro