GithubHelp home page GithubHelp logo

opsdroid / skill-words Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 1.0 11 KB

๐Ÿ’ฌ A skill to work with words in opsdroid - scrabble helper, dictionary, translator

License: Apache License 2.0

Python 100.00%

skill-words's Introduction

opsdroid skill words

A skill for 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 on the official NLTK site.

Configuration

None.

Usage

help scrabble: <letters> <board letter>

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: <term>

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: <term> from: <language> to: <language>

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

skill-words's People

Contributors

fabiorosado avatar jacobtomlinson avatar musale avatar

Stargazers

Brian Parbhu avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

Forkers

musale

skill-words's Issues

Nice work!

I just want to say this is freaking awesome!

Let me know if you want to transfer it to an official skill.

Also you might want a requirements.txt file in order for others to be able to install it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.