![]() |
Wordnet and meta edit |
Post Reply
|
| Author | |
djomeni
Major Contributor
Joined: 17.Jun.2011 Location: france Points: 26 |
Post Options
Thanks(0)
Quote Reply
Topic: Wordnet and meta editPosted: 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 |
|
![]() |
|
stevek
MetaCase
Joined: 11.Mar.2008 Points: 643 |
Post Options
Thanks(0)
Quote Reply
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 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 Model XML format and having MetaEdit+ import it. Alternatively, you can create each object individually with the MetaEdit+ API. First though you need to get familiar with MetaEdit+ and creating graphical languages. Do the "Family Tree" 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 integrate MetaEdit+ with other tools, in particular importing information from other tools into MetaEdit+. Hope this helps, Steve Edited by stevek - 17.Jun.2011 at 15:33 |
|
![]() |
|
djomeni
Major Contributor
Joined: 17.Jun.2011 Location: france Points: 26 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
djomeni
Major Contributor
Joined: 17.Jun.2011 Location: france Points: 26 |
Post Options
Thanks(0)
Quote Reply
Posted: 17.Jun.2011 at 18:44 |
|
@steve
Can the solution in your previous post can resolve the problem as I described? |
|
![]() |
|
stevek
MetaCase
Joined: 11.Mar.2008 Points: 643 |
Post Options
Thanks(0)
Quote Reply
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. |
|
![]() |
|
Post Reply
|
|
| Tweet |
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |