About LexAccess

LexAccess is developed in 100% Java to provide access to information from the SPECIALIST lexicon. This tool is intended to be used as an end tool as well as Java APIs to access information from the SPECIALIST lexicon.

LexAccess takes various query options and returns lexical records. Both plain text and XML format are available in LexAccess. The definition of plain text syntax and XML specifications can be found in the related development, LEXICON.

The most frequent usages for the LexAccess are:

  • Retrieve lexical records by terms
    shell> lexAccess -p        (interactive prompt to retrieve lexical records in text format)
    shell> lexAccess -p -f:x   (interactive prompt to retrieve lexical records in xml format)
    

  • Retrieve lexical records by category
    shell> lexAccess -c:a        (return lexical records with category adjective)
    shell> lexAccess -c:n        (return lexical records with category noun)
    shell> lexAccess -c:all      (return all lexical records)
    shell> lexAccess -cn:129     (return all lexical records with category adjective or noun)
    

  • Retrieve base, inflectional variants, spelling variants
    shell> lexAccess -c:all -f:b      (return base forms from all lexical records)
    shell> lexAccess -c:x -f:i        (return all inflectional variants from Aux)
    shell> lexAccess -f:s -p -cnf:128 (return all spelling variants with category noun for the input term)