/see-modes

SubEthaEdit syntax modes for various text file formats used in the GiellaLT infrastructure.

Primary LanguagePythonMIT LicenseMIT

SEE Modes for GiellaLT

This repo holds syntax modes for SubEthaEdit (SEE among friends) for the following types of text files:

  • ConstraintGrammar
  • Corpus analysis (Constraint Grammar output)
  • JSPWiki (this mode will soon be of less interest as most documents are now converted to Markdown)
  • LexC
  • Twolc
  • Typos
  • Xfst

They are a.o. used in the development of language resources in the GiellaLT infrastructure.

LexC, Twolc and Xfst are tools & formalisms by Xerox. The tools are freely available at https://web.stanford.edu/~laurik/fsmbook/home.html (although closed-source), and both the tools and formalisms are documented in the book linked to on that site. The same formalisms are supported by the open-source tools Foma and Hfst, ie they are source-code compatible with the Xerox tools.

Typos files are simple TAB separated, two column files containing real typos and their corrections. These files are used for testing spelling checkers, and the syntax colouring helps us check that the content is entered correctly.

Install

  1. Download the latest release
  2. Unpack the downloaded package if it was not automatically unpacked
  3. Double click on the SEE modes you want to install, and accept to install them

Use

Make sure the wanted mode is displayed in the mode selection area - click and select if not:

SEE Mode Selection area SEE Mode Selection

With the mode active, you can access mode-specific tools to be used on the whole document or the selection by choosing from the Mode menu or from the context menu, as well as lexicons or rules from the Function popup menu:

SEE Mode Menu          SEE Context Menu

You can also use the keyboard shortcuts displayed in the menu.

License

MIT - LICENSE or http://opensource.org/licenses/MIT (same as SubEthaEdit).

Contribution

… is very welcome! 🙂

Fork and PR on Github.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be licensed as above, without any additional terms or conditions.