Menu

quickstart Log in to Edit

Shashank

This guide provides the fastest way to start using lingscope. You can also read the detailed instructions.

For the quickstart, we'll assume that your working directory is $LSWD.

Download lingscope.zip from http://sourceforge.net/projects/lingscope to $LSWD. Extract lingscope.zip. A new directory 'lingscope' will appear under $LSWD.

Change the classpath of the system to include lingscope.jar by issuing the following command on your terminal -

export CLASSPATH=$CLASSPATH:$LSWD/lingscope/dist/lingscope.jar

Download negation_models.zip from https://sourceforge.net/projects/lingscope/files_beta/ to $LSWD. If you want to detect hedge scopes instead of negation scopes, download hedge_models.zip instead, and follow the steps by replacing negation_model by hedge_model. Extract negation_models.zip. A new directory 'negation_models' will appear under $LSWD.

You can now test lingscope from terminal by issuing the following command -

java lingscope.drivers.SentenceTagger scope crf $LSWD/negation_models/crf_scope_words_all_both.model "This is not a good example."

You can replace the example sentence with any sentence.


Discussion

Anonymous
Anonymous

Add attachments
Cancel