Skip to content

A wordnet interface for the atom editor to access definitions, synonyms, etc.

License

Notifications You must be signed in to change notification settings

mbroedl/atom-wordnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

atom-wordnet package

A Wordnet wrapper to display definitions and insert/replace with synonyms. The package uses lemmatisation to suggest alternatives even for inflected words, and part of speech tagging to suggest the correct words.

Warning: It downloads and extracts the whole WordNet (~30mb) database.

Screenshot

Keybindings

At the moment this package has no keybindings in the standard editor environment, so you can find those that work best for you, and to avoid clashes. If you would like keybindings, copy these lines to your keymap.cson (and change the keys if you like)

'atom-text-editor':
  'alt-s': 'wordnet:synonyms-for-cursor'

to find a synonym for the word under the current cursor and

'atom-workspace'
  'alt-a': 'wordnet:search-synonyms'

to find a synonym for a word you can enter into the search bar. Use tab/shift-tab or left/right to scroll through suggestions, and enter to paste the highlighted word to the cursor.

Potential Future Improvements

  • fuzzy search + suggestions for words under cursor
  • automatic expansion of the currently typed word in the wordnet-search
  • use user-defined fields from the wordnet database (e.g. categorisation, similar-to, or antonyms)
  • a helper-pane showing a definition for the word currently under the cursor
  • integrate with other packages using the natural package and therefore having a wordnet-copy already

About

A wordnet interface for the atom editor to access definitions, synonyms, etc.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published