mrmechko / pytrips

GNU General Public License v2.0
6 stars 2 forks source link

Collie version of the ontology? #39

Open smarsella opened 2 years ago

smarsella commented 2 years ago

I am a bit confused as to which version of the ontology pytrips is using. It seems to load the ontology from jsontrips as a large file. I assume that predates Collie. If so, is there a way to move to Collie, which seems to use separate ontology files. SInce pytrips incorporates wordnet maybe there is little benefit to that??

By the way, thanks for pytrips!!

mrmechko commented 2 years ago

Hi @smarsella jsontrips has the version of collie that was used in the COLLIE paper. You can access this as follows:

from pytrips.ontology import load

ont = load(use_gloss=True)

I believe the automatic generation of the COLLIE json files with the updated ontology stopped sometime shortly after I graduated - maybe @wdebeaum could help me revive that.

wdebeaum commented 2 years ago

I don't think the generation of the COLLIE json files was ever fully automatic in the sense of happening on a regular schedule. The last time we did it appears to be 2021-02-18. And I think it involved Hannah running some code too?

I did stop the scheduled automatic updates to the various forms of the TRIPS ontology (including the flaming-tyrion repo but not COLLIE) on 2021-08-30, since nobody had actually changed the ontology in months (the updates were only to the timestamps) and James was retiring. But Choh Man requested I start the updates up again on 2021-10-12 for another project, and they have been running daily since then. Still, there haven't been that many changes to the TRIPS ontology in that time, so I'm not sure how worth it it is to try to get the band back together and spin up a new version of COLLIE.

mrmechko commented 2 years ago

@hannah0n if you still had that installation available maybe you could rerun it? I guess I should eventually get around to loading the ontology from XML. Sounds like a good independent study project for a student...

anyhannah commented 2 years ago

To generate the latest COLLIE ontology, I need define-* messages with WordNet glosses that are parsed with the latest TRIPS parser and ontology. Will used to generate these messages and send to me, and I think that's still easier than me trying to install the system on my computer.