nlplab / brat

brat rapid annotation tool (brat) - for all your textual annotation needs
http://brat.nlplab.org
Other
1.81k stars 509 forks source link

NEW FEATURE: Vim mode #1380

Open ufo5260987423 opened 2 years ago

ufo5260987423 commented 2 years ago

We've developed Vim mode for BRAT, based on v1.3_Crunchy_Frog. It helped a lot when you have so many annotation in pages.And it's time to open source! It has such features:

  1. normal mode: keyboard driven cursor and hjkl and many shortcut keys. This is available to text span, entity and relation indicators;
  2. select mode: moving cursor and using v and V to select text spans;
  3. command mode: create/delete entity and relation with command with leader ":";
  4. auto-completion for command based on type inference;
  5. finding mode: using regex in command mode with leader "/";
  6. "Enter" smart command and quickly match your intentional command;

Something must be confirmed:

  1. Which branch should we pull request to? It seems many bugs in v1.3_Crunchy_Frog (we've fixed in our version but it would not be opened); Or there should be a new branch for us?
  2. Where could we place some instruction and right claim for our contribution?

We promise:

  1. we would merge other features into vim mode branches in a decent style;
  2. we would be open to hear from community;
TSxSAHIL commented 6 months ago

Hi @ufo5260987423 I am getting a blank screen after running the standalone.py Can you please assist me with that? image

It would be a great help if you could assist me with this issue I am stuck with this from past 3 days