All Projects → scalarwaves → leximaven

scalarwaves / leximaven

Licence: MIT license
A command line tool for searching word-related APIs.

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to leximaven

cmu-pronouncing-dictionary
The 134,000+ words and their pronunciations in the CMU pronouncing dictionary
Stars: ✭ 46 (+130%)
Mutual labels:  dictionary, rhyme, pronunciation, arpabet
mw-thesaurus.el
Merriam-Webster Thesaurus in Emacs
Stars: ✭ 84 (+320%)
Mutual labels:  dictionary, thesaurus
waylan android
A dictionary concept for Android ~ Making words and their meanings available through a natural and beautiful experience
Stars: ✭ 13 (-35%)
Mutual labels:  dictionary, thesaurus
Britfone
British English pronunciation dictionary
Stars: ✭ 66 (+230%)
Mutual labels:  dictionary, pronunciation
linguistic-datasets-portuguese
Linguistic Datasets for Portuguese: Lista de conjuntos de dados linguísticos para língua portuguesa com licença flexíveis: banco de dados, lista de palavras, sinônimos, antônimos, dicionário temático, tesauro, linked data, semântica, ontologia e representação de conhecimento
Stars: ✭ 46 (+130%)
Mutual labels:  dictionary, thesaurus
alfred-powerthesaurus
Search Powerthesaurus synonyms and antonyms from Alfred
Stars: ✭ 81 (+305%)
Mutual labels:  dictionary, thesaurus
poet-assistant
Android app with rhyming dictionary, thesaurus, and dictionary, with text-to-speech functionality to read your poem.
Stars: ✭ 64 (+220%)
Mutual labels:  dictionary, thesaurus
myG2P
Myanmar (Burmese) Language Grapheme to Phoneme (myG2P) Conversion Dictionary for speech recognition (ASR) and speech synthesis (TTS).
Stars: ✭ 43 (+115%)
Mutual labels:  dictionary
BaiDuYunCrack
iOS百度云盘 破解速度限制、去广告、去更新 无需越狱~
Stars: ✭ 82 (+310%)
Mutual labels:  ipa
strongs-dictionary-xml
Strong's Greek Dictionary in XML with real Greek
Stars: ✭ 65 (+225%)
Mutual labels:  dictionary
Spell4Wiki
Spell4Wiki is a mobile application to record and upload audio for Wiktionary words to Wikimedia commons. Also act as a Wiki-Dictionary.
Stars: ✭ 17 (-15%)
Mutual labels:  dictionary
wn
A modern, interlingual wordnet interface for Python
Stars: ✭ 119 (+495%)
Mutual labels:  dictionary
English-Persian-Word-Database
English Persian Word Database - Popular database extensions
Stars: ✭ 19 (-5%)
Mutual labels:  dictionary
Translator
Translator for Elementary OS
Stars: ✭ 13 (-35%)
Mutual labels:  dictionary
BinPackage
The vocabulary of modern Icelandic, encapsulated in a Python package
Stars: ✭ 19 (-5%)
Mutual labels:  dictionary
priority-queue-dictionary
A Pythonic indexed priority queue
Stars: ✭ 74 (+270%)
Mutual labels:  dictionary
engAraDictionaryFrom ArabEyes
English - Arabic dictionary MySQL database based on WordList from ArabEyes Team
Stars: ✭ 29 (+45%)
Mutual labels:  dictionary
cpwp
Chinese Programmer Wrong Pronunciation
Stars: ✭ 42 (+110%)
Mutual labels:  pronunciation
MouseTooltipTranslator
chrome extension - When mouse hover on text, it shows translated tooltip using google translate
Stars: ✭ 93 (+365%)
Mutual labels:  dictionary
sentiment analysis dict
sentiment analysis、情感分析、文本分类、基于字典、python、classification
Stars: ✭ 111 (+455%)
Mutual labels:  dictionary

leximaven

Build Status npm version Standard - JavaScript Style Guide

Introduction

leximaven is a powerful tool for searching word-related APIs from the command line. It can fetch acronyms, bi-gram phrases, definitions, etymologies, example uses, hyphenation, offensive word flags, portmanteaus, pronunciations (Arpabet & IPA), related words, rhymes, slang, syllable stress and count, and more. See the wiki for more info.

Platform

Looking for testers on other platforms. Developed and tested on Linux. Works on Windows, see Windows below.

Supported Node.js versions:

  • Typescript
  • 12.x
  • 11.x
  • 10.x
  • 8.x

Install

Linux installation

To initialize the config file and load themes, your NODE_PATH environment variable must point to the node_modules directory of the Node.js installation. You can set this path automatically like this:

export NP=$(which node)
export BP=${NP%bin/node} #this replaces the string '/bin/node'
export LP="${BP}lib/node_modules"
export NODE_PATH="$LP"

Provided these lines are towards the end of the shell initialization file (at least after any NVM stuff) this should work for a system installation of Node.js and nvm.

Add all of this to .bashrc, .zshrc, etc. then:

npm install -g leximaven
leximaven config init

Windows installation

I highly recommend using nodist to install Node.js on Windows. It automatically sets %NODE_PATH% for you, though you may have to edit it to make sure it doesn't contain itself (i.e. C:......\node_modules;%NODE_PATH%). If you install Node.js manually, npm install --global leximaven will install the package in C:\Users\username\AppData\Roaming\npm\node_modules. And if you just do npm install leximaven then it will install the package to a subfolder of the Node.js installation, but that won't be the NODE_PATH folder unless you manually set it. Either way, you're going to have to mess around with Windows environment variables to get it to work. And don't forget to put your Wordnik API key into an environment variable WORDNIK

As for getting the ANSI color escape codes to work, Cmder seems to be the easiest way. It doesn't install a full linux environment like Cygwin, but you can still use some linux commands like which, cat, and ls.

Usage

leximaven has a built-in help system for CLI parameters and options. Access it with leximaven -h|--help [command] [subcommand]. There is also the wiki.

Here are some examples:

// Get definitions for 'catharsis'
leximaven wordnik define catharsis

// Get antonyms for 'noise'
leximaven wordnik relate --canon --type antonym noises

// Pronounce 'quixotic'
leximaven wordnik pronounce quixotic

// Get etymology for 'special'
leximaven wordnik origin special

// Get words that sound like 'blue'
leximaven datamuse get sl=blue

// Get slang/colloquialisms for 'diesel'
leximaven urban diesel

// Get anagrams with at least 2 letters in each word and a maximum of 3 words
// per anagram using short form flags and exporting to JSON
leximaven anagram -n2 -w3 -o anagrams.json toomanysecrets

// Get a wordmap for 'ubiquity'
leximaven wordmap ubiquity

Resources

The following links can help you use leximaven or perform related tasks.

Contributing

See CONTRIBUTING.

License

MIT ©️ 2017-2019 Andrew Prentice

Powered by

Acronym Server, Datamuse, Onelook, Rhymebrain, Urban Dictionary, and Wordnik

Extras

Prose

For fun, read some of my prose...

Take Command

See take-command.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].