Print Page | Close Window

Wordnet and meta edit

Printed From: MetaCase
Category:
Forum Name: MetaEdit+
Forum Description: All topics relating to MetaEdit+ or DSM
URL: https://www.metacase.com/forums/forum_posts.asp?TID=238
Printed Date: 27.Mar.2026 at 03:35
Software Version: Web Wiz Forums 12.05 - http://www.webwizforums.com


Topic: Wordnet and meta edit
Posted By: djomeni
Subject: Wordnet and meta edit
Date Posted: 17.Jun.2011 at 13:58
Hi all,

I am a new user of meta edit and wordnet.

Do anyone knows how to use wordnet (princeton library) with meta edit ?

Thank you



Replies:
Posted By: stevek
Date Posted: 17.Jun.2011 at 15:30
What do you want to do with them? I'll assume you want to have MetaEdit+ draw graphs of Wordnet data, to which you'll maybe add extra elements or information.

I imagine you'd write a program in your favourite language. It would interface with WordNet (see q5.2 answers 1 and 2 http://wordnet.princeton.edu/wordnet/faq/#cat_technical - here ) to read whatever data you want to load into MetaEdit+, then create graphs and objects in MetaEdit+ that correspond to that data. You can create the graphs and objects by outputting an XML file in MetaEdit+'s http://www.metacase.com/support/45/manuals/mwb/Mw-7_2.html - Model XML format and having MetaEdit+ import it. Alternatively, you can create each object individually with the ../support/45/manuals/mwb/Mw-8.html - MetaEdit+ API .

First though you need to get familiar with MetaEdit+ and creating graphical languages. Do the "Family Tree" http://www.metacase.com/support/45/manuals/evaltut/et-Preface_.html - evaluation tutorial to get used to MetaEdit+ and how to build a new graphical language. Take a look at the other example languages supplied with MetaEdit+ to give you some ideas.

Then sketch an example model of your Wordnet data, just with pencil and paper. For each element in your model, look what information it has (properties), and how it is connected to other elements (relationships). Based on this, you can decide on a set of object types, what properties they have, what relationship types there are, and which object types those relationship types can connect.

Create a graphical language in MetaEdit+, containing those object types etc. Draw some example models with that language to see if it works well with the kind of information you want to use it with. Having an example model will also give you an idea what kind of result you are aiming at, when you import the Wordnet data. You can export the example graph to XML with Graph | Export to | MetaEdit+ XML Models file....

See also more ways to http://www.metacase.com/mwb/integration.html - integrate MetaEdit+ with other tools , in particular http://www.metacase.com/mwb/model_import.html - importing information from other tools into MetaEdit+ .

Hope this helps,
Steve


Posted By: djomeni
Date Posted: 17.Jun.2011 at 17:48
Thank you very much for your answer, very helpfull
I am sorry, I did not detailed my problem

I am working on web services description.
- the input will be a graphical language
- Wordnet will be automatically querried in order to
 treat/process the graphic and find services in it
- the output will be an XML file, or a SQL script.
Outputs will describe servives


Posted By: djomeni
Date Posted: 17.Jun.2011 at 18:44
@steve

Can the solution in your previous post can resolve the problem as I described?


Posted By: stevek
Date Posted: 20.Jun.2011 at 18:53
So you'll create your own language, draw a diagram with it, and then you want to process the diagram based on information from Wordnet?

After that I don't really understand your description of outputs being XML files or SQL scripts that describe services. XML is often used to describe services, e.g. WSDL, but I've not come across SQL scripts being used to describe services.

Maybe you could do the evaluation tutorial then come back and draw an example model (just freehand with Paint is fine), say what it means and how it will be processed with info from Wordnet, and show what the output file should be.

In any case, if you're manually going to create a diagram, and then want to do something based on the contents, you maybe don't want the API - it's probably easier to use MERL, the MetaEdit+ Reporting Language, to build a generator.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.05 - http://www.webwizforums.com
Copyright ©2001-2022 Web Wiz Ltd. - https://www.webwiz.net