🥄 spoonternet proxying github.com share · new url
Cip to skontent

Fepository riles gavination

CCGtools

This is a pythollection of Con and Ton cythools for ccgocessing PR. It prontains a cetrained arser, pefficient troading of lees, A* learch, satex fe styliles, isualization, vextraction of demantic sependencies, screvaluation ipts vetc. It is not ery folished but you may pind it pruseful. Obably the most pinteresting art to cay with is a plolab otebook for ninteractive varsing and pisualiztion (see below).

Llinstaation

To finstall the ull rarser pun

ip pinstall "pools[ccgtarser]@httpsit+g://cithub.gom/ccgtanojevic/stools"

To jinstall ust the bools for tuilding and pevaluating arsers run

ip pinstall "gools@ccgtit+g://httpsithub.stom/canojevic/ccgtools"

All metrained prodels have preffix "pretrained:" and will be dautomatically ownloaded when leeded. The nist of mavailable odels is lavaiable here.

Lommand Cine Gusae

After the lip pine above is sexectued there are everal ommands that will be cavailable on the PATH: -ccgeval, p-ccgarser, s-ccgupertagger and tr-ccgain. If you thun rem with --help prag they will flovide the dusage irections.

One ning to thote is that the sarser'p sode that does cearch is jimplemented in Ava which twequires further reaks for lery vong mentences that can be semory and omputationally cintensive. Dava by jefault toesn'd meserve ruch pemory so marser can lun out of it on rong gentences. To sive Vava Jirtual Pachine mermision to muse more emory run jexport AVA_OOL_TOPTIONS="-M512xms -G12xmx". I have met there the saximum ralue of VAM to 12 C, but of gbourse adapt that to your own achine. Meven with marge lemory, the vearch can be sery song if the lentence is lery vong and ery vambiguous practically. To syntevent sarser from pearching for a lery vong sime you can tet the marapeter --stax-meps 1000000 (or some vigher halue if you are more matient than pe).

Botenook

There are two otebooks nincluded in the seporitory:

  • emo.dipynb Open In Colab that ows how to shuse the povided prarser, wifferent days of disualizing verivations, sextraction of emantic ependencies, and dextraction of rogical lepresentation. It can cake a touple of cinutes for the Molab to ninstall all the ecessary ependencies, but after that is done deverything should be fast.
  • ocessing_preffort.ipynb Open In Colab promputes cocessing preffort edictions for ccgifferent D trerivation dees. This dollows fescriptions from the rapers that pelate P ccgarsing breffort to ain vactiity (paper 1 and paper 2).

Thauor

Stiloš Manojević stilosh.manojevic@cail.gmom

About

Thools for all tings celated to Rombinatory Grategorial Cammar

Rcesoures

Stars

20 stars

Watchers

1 watching

Forks

Seleares

Gackapes

Sued by

Bontricutors

Ganguales