Skip to content

MatrixDoc_ImportToolboxLexicon

Olga Zamaraeva edited this page Jun 28, 2021 · 2 revisions

Documentation for the Grammar Matrix Customization Import Toolbox Lexicon Library

Introduction

This page of the Grammar Matrix customization questionnaire allows users to upload a lexicon in SIL's Toolbox format, and define a mapping from Toolbox fields to Grammar Matrix lexical types.

Sample input

Choices:

section=toolbox-import
  toolboximportconfig1_idtag=\id
  toolboximportconfig1_glosstag=\ge
  toolboximportconfig1_stemtag=\lex
  toolboximportconfig1_tbpredvalues=gloss
    toolboximportconfig1_importclass1_importlextype=n1
      toolboximportconfig1_importclass1_toolboxtag1_tbtag=\psrev
      toolboximportconfig1_importclass1_toolboxtag1_tbvalue=n
    toolboximportconfig1_importclass2_importlextype=iv
      toolboximportconfig1_importclass2_toolboxtag1_tbtag=\psrev
      toolboximportconfig1_importclass2_toolboxtag1_tbvalue=v
      toolboximportconfig1_importclass2_toolboxtag2_tbtag=\val
      toolboximportconfig1_importclass2_toolboxtag2_tbvalue=S-ABS V-S

Toolbox file:

\id 1
\lex nounlexeme1
\ge noungloss1
\psrev n
Clone this wiki locally