~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OMCSNet v1.2 Knowledge Browser and Commonsense Inference API for Python/Java ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Author: Hugo Liu and Push Singh # Project Page: # # Copyright (c) 2002-2003 by Hugo Liu, Push Singh, MIT Media Lab # MontyTagger and MontyLingua Copyright (c) 2002-2003 by Hugo Liu, MIT Media Lab # # Use is granted under the GNU General Public License (GPL): # # # # OMCSNet has two JAVA functions: # # 1) JAVA-based API # - callable as follows (see Example.java): # a) put the omcsnet.jar on the classpath # b) import the omcsnet.JOMCSNetAPI in your java code # c) call any of the following functions: # public String find_analogous_nodes(String nodename) # public String find_analogous_nodes_simple(String nodename) # public String find_paths_from_a_to_b(String node1name, String node2name) # public String get_context(String comma_delimited_nodelist) # public String get_context_simple(String comma_delimited_nodelist) # public String get_edges_by_origin_nodename(String nodename) # public String get_edges_by_origin_nodename_simple(String nodename) # public String get_edges_by_destination_nodename(String nodename) # public String get_edges_by_destination_nodename_simple(String nodename) # (for more details, visit the python source code for JOMCSNetAPI and OMCSNetAPI # 2) JAVA-based knowledge browser # - type "run.bat" from the command line # # 3) MontyTagger, a part-of-speech tagger is also included # - to call from command line, type "java -cp omcsnet.jar omcsnet.MontyTagger" # - to call from code, the following functions work: # public String tag(String untagged_text) # public String tag_tokenized(String tokenized_text) # # The OMCSNet Browser allows for the following functionality # 1) Lookup a concept - type a concept into the "lookup" field and press enter # - Tip: concepts in omcsnet are lemmatised, so try looking up # verbs using the root form, and nouns using singular form # 2) Finding the context around a concept(s) - type a concept name into # the "lookup" field and click "context". # - Tip: to find the context intersection of multiple concepts, try typing # multiple concepts in, separated by a comma. # 3) Finding analogous concepts - type a concept name into the "lookup" field # and click "analogous" to find analogous/related concepts via structure mapping # 4) Find paths between concepts - type the starting concept into the "lookup" field # and the ending concept into the "find path" field and press enter in this field # # for more in-depth functionality, please use the OMCSNet Python API, OMCSNetAPI # JAVA-based knowledge browser and API have only been tested under windows