textann

Vim plugin for text annotations

https://github.com/yansh/textann

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.9%) to scientific vocabulary

Keywords

annotation-tool
Last synced: 6 months ago · JSON representation ·

Repository

Vim plugin for text annotations

Basic Info
  • Host: GitHub
  • Owner: yansh
  • License: mit
  • Language: Vim Script
  • Default Branch: master
  • Homepage:
  • Size: 43.9 KB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
annotation-tool
Created almost 5 years ago · Last pushed about 2 years ago
Metadata Files
Readme License Citation

README.md

GitHub Logo

TextAnn in a multi-purpose text annotation vim plugin.

Requirements

  • Python 3.X
  • version of Vim 8.2 or higher

Installation

Use your plugin manager of choice.

  • Pathogen
    • git clone https://github.com/yansh/Textann ~/.vim/bundle/Textann
  • Vundle
    • Add Bundle 'https://github.com/yansh/Textann' to .vimrc
    • Run :BundleInstall
  • NeoBundle
    • Add NeoBundle 'https://github.com/yansh/Textann' to .vimrc
    • Run :NeoBundleInstall
  • vim-plug
    • Add Plug 'https://github.com/yansh/Textann' to .vimrc
    • Run :PlugInstall

Usage

Configure your labels in your .vimrc:

vim let g:labels = {"[S]ender":'S', \ "[A]ttribute":"A", \ "[R]]cipient":"R", \ "S[u]bject":"U", \ "[T]P": "T", \ "AI[M]": "M", \"[H]edge Modal": "H"}

Set the key to trigger the Parameters pop-up (e.g., Ctrl P) map <C-p> :Params<CR>

Set the syntax: set syntax=vim_textann_default You can then open a text file to annotate.

TextAnn Usage Example - Watch Video

Credit

This plugin was designed using the excellent Vim PluginStarter Kit

References

[1] Beyond the text: Analysis of privacy statements through syntactic and semantic role labeling. Shvartzshanider, Y., Balashankar, A., Wies, T., & Subramanian, L. In Proceedings of the natural legal language processing workshop 2023, pages 85–98, Singapore, December, 2023. Association for Computational Linguistics.

[2] Going against the (appropriate) flow: A contextual integrity approach to privacy policy analysis. Shvartzshnaider, Y.; Apthorpe, N.; Feamster, N.; and Nissenbaum, H. In Proceedings of the AAAI Conference on Human Computation and Crowdsourcing, volume 7, pages 162–170, 2019

Owner

  • Login: yansh
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Shvartzshnaider"
  given-names: "Yan"
  orcid: "https://orcid.org/0000-0001-5954-916X"
title: "TextAnn Annotation tool"
date-released: 2023-12-08
url: "https://github.com/yansh/TextAnn"

GitHub Events

Total
Last Year