Code Monkey home page Code Monkey logo

inuktag's Introduction

Inuktag

An atom plugin for creating the %mor tier of CHAT transcriptions.

Installing

After installing Atom, look for its .atom folder. In Windows, it is probably in C:/Users/<your_user_name>/.atom; in Linux, it is probably in /home/<your_user_name>/.atom.

Download the entire code into a folder called inuktag inside .atom/packages/. The code needs the dictionary containing the morphemes and the corresponding glosses (they are not included here to prevent copyright issues). You should put it in inuktag/lib/data/dict.txt.

TODO: explain that interact.js is necessary for showing the panel with the dictionary, and how to install it. Without it, it was not possible to resize that pane.

Now just open Atom and the plugin should be accessible.

Using

The file keymaps/inuktag.json contains the keyboard shortcuts for the functionalities provided by the plugin. By default, they are:

  • ctrl+shift+space: Tags current morpheme
  • ctrl+i: Copies the current line into a %mor tier
  • ctrl+shift+e: Shows dictionary

(actually, these functions are not doing a lot so far. Hopefully they will soon)

Comment on the ctrl+i functionality

Atom by defaults uses "soft tabs", by which it shows the characters as if they were tabs, but actually inserts space characters in the files. This may break the ctrl+i functionality (because CHAT files really need to have a tab character after the beginning of the line, i.e., %mor: part).

To prevent this from happening, it may be a good idea to deactivate the soft tabs in the Settings, in Atom. You may open the Settings going to Edit > Preferences. Then click in Editor (in the left panel) and search for the option named Tab Type. Then choose hard to deactivate soft tabs.

inuktag's People

Contributors

jcbgamboa avatar

Watchers

 avatar  avatar  avatar

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.