Because of a lapse in government funding, the information on this website may not be up to date, transactions submitted via the website may not be processed, and the agency may not be able to respond to inquiries until appropriations are enacted. The NIH Clinical Center (the research hospital of NIH) is open. For more details about its operating status, please visit cc.nih.gov. Updates regarding government operating status and resumption of normal operations can be found at OPM.gov.

LexAccess

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)