GithubHelp home page GithubHelp logo

odanoburu / conllu-mode Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 2.0 440 KB

CoNLL-U major mode for emacs

License: GNU General Public License v3.0

Emacs Lisp 99.80% Makefile 0.20%
conll-u emacs emacs-lisp universal-dependencies

conllu-mode's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

emacsmirror ljos

conllu-mode's Issues

clean column

to implement a function to clean all the values of the current column (replacing with -).

column alignment

  1. the symbol that marks the \t is not right after the content of the column
  2. the columns should be alignment by sentences, avoiding long spaces just because 1 particular long token in one particular sentence.

flycheck error display

if there are many errors emacs slows down noticeably. is this unavoidable or am I doing something wrong? currently this is mitigated by limiting the number of errors reported by the validate script.

conllu-insert-token-line command

This could remunerate the tokens (and adjust the heads) and add a token line with a number already filled?

We also need commands to

  1. new multi-word token
  2. new empty nodes

default values for flycheck

You wrote:

note that the validate.py demands a two-letter language code to do its validation; conllu-mode tries to infer this from the file name, assuming it follows UD filename convention of starting with such a language code (as in pt_bosque-ud-test.conllu). if your file doesn’t start with a language code, conllu-mode will ask you for a language code; if you don’t supply anything, Flycheck will invoke the validate script with the default value of ud.

Could we have variables to supply default values for:

  1. validate vs no validate
  2. language

So when I open a file with conllu extension, I would not have to answer any question?

validation is not working

SyntaxError: invalid syntax

Try installing a more recent version of conllu-validate-python3, and please open a bug report if the issue persists in the latest release.  Thanks!

when editing interactively, don't modify buffer until user commits change

currently I'm using delete-and-extract-region to extract the text to be edited. when using flycheck, this triggers a re-run of checker with an empty field. although this does not slow emacs down because it is done asynchronously, it may report a trivial error, so it's better to not delete the region until its replacement is ready.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.