Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Concept lexicalizations

Help
Anonymous
2010-05-27
2013-05-28

  • Anonymous
    2010-05-27

    Hi,

    do you know whether there is a way to retrieve all lexicalizations of a concept with the Java API? E.g. Given "Airplane", to collect "aeroplane/airplane/plane" or, given "London" to retrieve "London, Ontario/London, Ontario province" and so on… It seems that I can find this information in the OWL version of OpenCyc but I cannot find how to access this functionality programmatically within the API (I tried to look everywhere but it has me quite baffled).

    For the sake of completeness, we are using ResearchCyc (the latest version in the FTP repository). Thank you for your feedback.

    Best - Simone

     
  • David Baxter
    David Baxter
    2010-05-27

    Hi Simone,

    You may have to do this via a query (which of course the API does support). for instance, asking

    (termStrings (CityNamedFn "London" Ontario-CanadianProvince) ?STRING)

    in AllEnglishValidatedLexicalMicrotheoryPSC

    returns

    "London"
    "London, Ontario"
    "London, Ontario province"

    David Baxter
    Cycorp