User Guide for MannX-DEL Users

What is MannX/DEL

MannX (Multimedia Annotator - XML) is a software program to control and modify digital video and associated texts: transcripts, commentaries, and glossaries. DEL (Documenting Endangered Languages) is a MannX application for creating annotated-multimedia language materials. In this guide we mostly present MannX as used for DEL, but MannX is also used to create educational materials for learning foreign languages.

A MannX archive consists of units. Each unit is based on a media file and related textual materials: the transcript of the clip, commentaries, and exercises. A dictionary and a set of grammar materials are shared among all units within a language archive. This screenshot shows a MannX unit page with video, interlinear glossed text and a dictionary. To see several examples of MannX units, go to the demos page.

archi06-12 660x550

This is an Archi language recording. Archi is spoken in one village in Daghestan.

Installation Instructions

There are three ways to use MannX: as a desktop application; as a Web application over the Internet; and as an Off-Line Web Application (OWA). Each way has its advantages and disadvantages, but OWA is probably the best for most users.

General Browser Requirement

In order to use MannX, you need the Firefox browser (version 1.5 or later) with the Flash Plugin, version 8 or later. Both are free, and Firefox is Open Source. Firefox can be downloaded from Mozilla.org, where you also find installation instructions. There is a page for downloading the Windows US-Englsih version, and a page for all available languages and platforms. Once it is installed and started, you can download the Flash plugin from the Plug-in section of the general Add-ons page.

Web Application

In order to use MannX-DEL over the web, you only need the general requirement above AND a high-speed Internet connection. Once you have downloaded and installed the browser and the plugin, you can start using MannX DEL materials from this website:

http://csproj2.colgate.edu:8080/fivelang/

Copying the Materials to Your Computer

If you use MannX locally, as a desktop application or an Off-Line Web application, you have to install the MannX materials themselves, either from a CDROM or from the Web. Installing the MannX materials simply means copying two directories, one with all the textual materials, the other with the videos. The videos directory must be called "movies." The other directory can be given any name but it has to be placed next to the movies directory. (We call it mfmx, which stands for "MicroFormat MannX" but you can give it a better name.) If you use MannX as a local application, the two directories can go anywhere on your hard drive. If you are using an OWA, the two directories have to go to a specific place on your hard drive, as explained in the OWA section below.

Local Desktop Application

To use MannX as a local application, you need general requirement above. If you do not have an Internet connection, we can provide all the installers on a CDROM, together with the MannX materials themselves. In addition, you have to create a short text file in the FlashPlayerTrust directory on your computer. On Windows XP, this directory is:

C:\WINDOWS\SYSTEM32\Macromed\Flash\FlashPlayerTrust

On the Mac, it is similar to:

/Library/Application Support/Macromedia/FlashPlayerTrust

On Linux, it can be in an individual user directory:

/home/<user>/.macromedia/Flash_Player/#Security/FlashPlayerTrust

or for all users:

/etc/adobe/FlashPlayerTrust/

See this very helpful page for more details. The trust file itself is a text file with the.cfg extension that contains the path of trusted SWF files or directories on separate lines, for example:

C:\Program Files\myapps\FlashApps
/home/apps/FlashApps
/home/myFlashApp/app.swf

Off-Line Web application

For Authoring, MannX needs a web server on your computer, such as Apache Tomcat. We recommend Apache Tomcat because it supports Java code that we have been developing. which requires the Java Runtime Environment (JRE) installed on your computer. If you have JRE version 1.5 or later and Tomcat version 5 or later, you need no further installation.

Both Tomcat and JRE are free. The installers can be downloaded from the Internet, and are also included on the CDROM. After the installers have been downloaded, proceed as follows:

  1. Install Java by running the installer. This will also install a Java plugin for your Firefox browser.
  2. Install Tomcat by running the installer. Accept all defaults.
  3. Copy from the CDROM or download from the Web all the movies.
  4. Place the movies into the movies directory in the Tomcat webapps directory (On Windows, it will be similar to
    C:\Program Files\Apache Software Foundation\apache-tomcat-6.0.10\webapps\
    except the version number may be different from 6.0.10).
  5. Copy from the CDROM or download from the web all the texts and software. Unzip into the same webapps directory.

You can now open the MannX demo page by using this link:

http://localhost:8080/fivelang/demo.html

Note: It may happen that an upgrade to the Firefox browser will require an upgrade to its Java plugin. If that happens (and it has happened once in the last two years), you will need to uninstall your JRE and install a fresh one.

The problem of editing and saving local files from within the browser is under active development. Especially notable is the Google Gears project. It is possible, indeed likely, that MannX will be using Google Gears as soon as it is released for use in applications.

Opening a Unit in MannX Player

The best way to open a unit in the MannX Player is from the demos page:

The MannX Screen

The MannX screen consists of three main panels. In one common arrangement, the movie is in the top-left quarter of the screen, the dictionary is on the bottom left, underneath the movie, and the texts occupy the right half of the screen. (The dictionary controls at the top can also be used for search through the texts of the unit, see the section of dictionary lookup and search.)

Normally, you will want to expand the browser window to its maximal size. In the unlikely event that video control buttons overlap with dictionary controls, try closing one or two toolbars.


Example: Three panels, CS lecture, Text on right

This example shows an excerpt from a lecture in the MIT introductory archive on Algorithm Analysis.

Algo1 Lecture 1 a

Each segment consists of the transcript of the video segment and two commentaries. The first commentary shows a paraphrase of the transcript, in simpler and grammatically correct language. (The transcript contains many, typical features of spoken language, such as false starts, interruptions, digressions, filler words, and so on.) The second commentary provides explanations of grammar, vocabulary and usage. The currently selected segment has a gray-blue background, others have yellow background.


You can also arrange the movie and the dictionary share the top half of the screen and the texts occupy the bottom half. This arrangement is useful if your text consists of long lines that you do not want to be wrapped around. It is appropriate for interlinear glosses used in documentary linguistics.

Example: Three panels, Economics text, Simple English paraphrase, Exercise Link

This three-panel example shows an excerpt from a popular TV series on Economics, Free to Choose, by Dr. Milton Friedman.

Econ Pencil A

As in the previous example, the commentary on each segment consists of two parts. The first part shows the text of the segment broken into simple sentences. (Dr. Friedman speaks in grammatical but quite complex English.) The second part contains explanations of grammar, vocabulary and usage.

Through simple customizations, you can control:


Web Application Screen: Waiting for Video Download

If you use MannX as a Web application, it may happen that you will try to play a segment before that segment has been downloaded from the server. The next screenshot shows what happens in this situation:

Waiting for video

As you can see, the user selected and tried to play the segment that starts within second 443, or at 7 minutes and 23 seconds. The movie has not yet loaded to that point. The message continuously updates the counter that shows how much of the movie has been loaded. You can wait till the counter reaches the time of your selected segment while using the dictionary and reading the text and the comments. Alternatively, you can select an earlier segment that has already been downloaded; or you can click on the darker part of the video bar that corresponds to the downloaded part of the video and study that segment.

The Central Concept: text/video segment

The central concept of MannX is the text/media segment. The media file of a MannX unit is divided into segments, usually a couple of seconds long and corresponding to a linguistic entity, such as a sentence or an exchange in a dialog. The script is divided into matching segments, and the two sequences of segments - media and text - are linked: if you select a text segment MannX can easily find the matching video segment, and vice versa. This is what is called time alignment.

The usual way to go through a unit is to work through the segments in order until the text, the sound, the vocabulary and the grammar of each segment are completely understood. In the end, you have the satisfaction of playing the entire clip (usually a few minutes long) and enjoying it as a movie.

Setting the Current Selection

There are three ways to set the current selection. (See also the table of buttons below.)

MannX User Interface

Most user interactions with the program use the row of buttons in the movie panel. They control the movie, dictionary, and grammar. The movie's control bar is also available, for additional video navigation and playback. Our buttons are as follows:

Button Description

Play. If you have not selected a sequence to play, this button will play the entire clip.
Stop button toggles with Play; use it to stop the movie in the middle of current selection.
The Next button selects the next segment. If the Off/On toggle is On, the segment will play automatically; otherwise you have to click Play.
The Previous button selects the previous segment. If the Off/On toggle is On, the segment will play automatically; otherwise you have to click Play.
The Exercises button, if present, opens a panel in which you can do self-test exercises.
When the On button is showing, setting a current selection will result in the movie sequence being played immediately. The on button toggles with off.
Off button When the Off button is showing, you have to click Play to play the current selection. This gives you a chance to pause and think and use the dictionary and grammar.
MannX Logo The MannX logo button takes you to the archive home page. Clicking on the same button on the archive home page takes you to the home page for the entire site.
Course Search The Search button will take you to the search page for the entire archive. You can search through both text and commentaries. The result of a search is a list of links to segments from different units; clicking on a link will play the segment for you.
Help docs The help button will open this document for you.

Using the Dictionary

As you can see from the screenshots in the MannX Screen section, the dictionary panel has three checkboxes in it, labeled Dictionary, Script and Commentary. This indicates that you can use the same text input either to look up a word in the dictionary or to search for it in the text or commentaries. There are four possibilities: dictionary checked (for lookup); text checked, commentary checked, or both checked (for search).

To look up a word either in the text or commentaries, hold Control key down and double-click on that word. Alternatively, you can type a word or a phrase in the text box above the dictionary and click the SEARCH button.

To search for a word or phrase, check text or commentary or both, type the word or phrase into the text box and click SEARCH. Clicking SEARCH again will cycle through the occurrences of the word/phrase in the text. You can search for specific text strings (words or phrases) or for regular expressions. If you are not familiar with regular expressions, simply ignore this remark or look them up in Wikipedia and use references there to learn more.

The structure of a dictionary entry

A dictionary entry is a row in the dictionary table that consists of three cells. The first cell gives has the English word of phrase, the second cell gives its part of speech, and the third cell provides a definition in English or a gloss in a language other than English.

Simple Customizations

Many features of a MannX unit or the entire MannX repository can be customized by editing the config.js file. There is a config.js file in each unit, and there is a shared one in the CODE directory that sets default values.