The new version of 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 grammar and XML tags are also refined in this development.
The most frequent usages for the LexAccess are:
shell> lexAccess -p (show prompt and return lexical records in text format) shell> lexAccess -p -f:x (show prompt and return lexical records in xml format)
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 -f:b (return base forms of input) shell> lexAccess -f:i (return all inflectional variants of input ) shell> lexAccess -f:s (return all spelling variants of input)
Follow the installation instructions to install LexAccess tool and run the program. Check on the following items only if you don't use the LexAccess installation script to install LexAccess tool.
shell> lexAccess -p - Please input a term (type "Ctl-d" to quit) > diseases {base=disease entry=E0023270 cat=noun variants=reg variants=uncount compl=pphr(of,np|bone|) compl=pphr(of,np|breast|) compl=pphr(of,np|liver|) compl=pphr(of,np|ovary|) } - Please input a term (type "Ctl-d" to quit) > E0023270 {base=disease entry=E0023270 cat=noun variants=reg variants=uncount compl=pphr(of,np|bone|) compl=pphr(of,np|breast|) compl=pphr(of,np|liver|) compl=pphr(of,np|ovary|) }
shell> lexAccess -f:bd -c:x be|E0012152|aux do|E0023651|aux have|E0030899|aux
shell> lexAccess -f:id -c:x be|aux|base|E0012152|be|be|basic be|aux|infinitive|E0012152|be|be|reg is|aux|pres3s|E0012152|be|be|reg 's|aux|pres3s|E0012152|be|be|reg isn't|aux|pres3sNeg|E0012152|be|be|reg are|aux|pres1p23p|E0012152|be|be|reg 're|aux|pres1p23p|E0012152|be|be|reg aren't|aux|pres1p23pNeg|E0012152|be|be|reg am|aux|pres1s|E0012152|be|be|reg 'm|aux|pres1s|E0012152|be|be|reg was|aux|past1s3s|E0012152|be|be|reg wasn't|aux|past1s3sNeg|E0012152|be|be|reg were|aux|past1p23p|E0012152|be|be|reg weren't|aux|past1p23pNeg|E0012152|be|be|reg been|aux|pastPart|E0012152|be|be|reg being|aux|presPart|E0012152|be|be|reg do|aux|base|E0023651|do|do|basic do|aux|pres123p|E0023651|do|do|reg don't|aux|pres123pNeg|E0023651|do|do|reg does|aux|pres3s|E0023651|do|do|reg doesn't|aux|pres3sNeg|E0023651|do|do|reg did|aux|past|E0023651|do|do|reg didn't|aux|pastNeg|E0023651|do|do|reg have|aux|base|E0030899|have|have|basic have|aux|infinitive|E0030899|have|have|reg have|aux|pres123p|E0030899|have|have|reg has|aux|pres3s|E0030899|have|have|reg had|aux|past|E0030899|have|have|reg having|aux|presPart|E0030899|have|have|reg hadn't|aux|pastNeg|E0030899|have|have|reg hasn't|aux|pres3sNeg|E0030899|have|have|reg haven't|aux|pres123pNeg|E0030899|have|have|reg 've|aux|pres123p|E0030899|have|have|reg 'd|aux|past|E0030899|have|have|reg
shell> lexAccess -f:sd -p - Please input a term (type "Ctl-d" to quit) > color color|E0017902|noun colour|E0017902|noun color|E0017903|verb colour|E0017903|verb