Skip to content

Adds Linux keybindings for generating constituency and dependency parse trees from the first sentence on your clipboard.

Notifications You must be signed in to change notification settings

cfwelch/parse_keybindings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

This program installs keybindings for Ubuntu to automatically generate parse trees from your clipboard.

Run the python install script and give it the location of Stanford CoreNLP and the desired install directory.

Then if you press "<Ctrl><Shift>!" it will open a constituency parse visualization of the first sentence on your clipboard. Similarly, if you press "<Ctrl><Shift>@" it will open a dependency parse. It saves all the parse trees to the install directory inside the parse_visualize/parses folder.

Python dependencies: https://github.com/brendano/stanford_corenlp_pywrapper
Ubuntu dependencies: sudo apt-get install xclip graphviz

You can modify the keybindings in the installation script if you know the gsettings abbreviations or you can open Settings > Keyboard > Shortcuts > Custom Shortcuts to modify them with the GUI.

About

Adds Linux keybindings for generating constituency and dependency parse trees from the first sentence on your clipboard.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages