The university of Tromsø > Giellatekno
 

Special emacs modes

Special Emacs modes

The Emacs mode definitions are located in project directory gt/scripts/emacs under cvs. Copy the relevant files to your emacs directory in your home directory (or use direct path). Load the file by adding the command to your .emacs file:

(load "~/emacs/file-name") 

correct-corpus-mode

The file containing the mode definitions is correct.el. Command to add to your .emacs file:

(load "~/emacs/correct")

Start the mode by typing

M-x correct-corpus-mode

The keystrokes are:

C-c f
Looks for the next cohort with several readings
C-c c
Adds a correct tag and proceeds to the next cohort
C-c x
Adds a correct tag and proceeds to the next line in the same cohort
C-c t
Passes by already marked cohorts (not fully working)

namelex-mode

The file containing the mode definitions is namelex.el. Command to add to your .emacs file:

(load "~/gt/script/emacs/namelex")

Start the mode by typing

M-x namelex-mode

The keystrokes are:

a
adds tag -ani
b
-obj
f
-fem
m
-mal
n
For (skipping and) searching the next NAME
o
-org
p
-plc
r
-surplc
s
-sur
t
-tit
u
-surmal

Note that when using the namelex-mode, its difficult to do anything else (since the characters are reserved for tagging). Change the mode for example to text-mode to do some other editing than tagging and then back to namelex-mode for tagging.

Last modified: $Date: 2005/11/11 07:31:58 $, by $Author: trond $

by Trond Trosterud