From 873304d29c6f86a45a6fa2b26d1b53f8f1cbb0c2 Mon Sep 17 00:00:00 2001 From: chanind Date: Mon, 1 Jan 2024 22:19:10 +0000 Subject: [PATCH] deploy: 0169901a901ad0acd256edf509d52595165df4b5 --- 404.html | 2 +- api.codec/index.html | 2 +- api.constant/index.html | 2 +- api.exceptions/index.html | 2 +- api.graph/index.html | 2 +- api.layout/index.html | 2 +- api.model/index.html | 2 +- api.models/index.html | 2 +- api.surface/index.html | 2 +- api.transform/index.html | 2 +- api.tree/index.html | 2 +- assets/js/0e384e19.39dc2436.js | 1 - assets/js/0e384e19.e4dd9dc3.js | 1 + .../js/{runtime~main.eef5a127.js => runtime~main.1b8cd991.js} | 2 +- index.html | 4 ++-- quick-start/index.html | 2 +- trees-graphs-epigraphs/index.html | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 assets/js/0e384e19.39dc2436.js create mode 100644 assets/js/0e384e19.e4dd9dc3.js rename assets/js/{runtime~main.eef5a127.js => runtime~main.1b8cd991.js} (98%) diff --git a/404.html b/404.html index 029f5b0..7e92bad 100644 --- a/404.html +++ b/404.html @@ -4,7 +4,7 @@ Penman JS - + diff --git a/api.codec/index.html b/api.codec/index.html index b519731..8f035c2 100644 --- a/api.codec/index.html +++ b/api.codec/index.html @@ -4,7 +4,7 @@ codec | Penman JS - + diff --git a/api.constant/index.html b/api.constant/index.html index 59c978f..d0d9231 100644 --- a/api.constant/index.html +++ b/api.constant/index.html @@ -4,7 +4,7 @@ constant | Penman JS - + diff --git a/api.exceptions/index.html b/api.exceptions/index.html index 3968306..cb98b01 100644 --- a/api.exceptions/index.html +++ b/api.exceptions/index.html @@ -4,7 +4,7 @@ exceptions | Penman JS - + diff --git a/api.graph/index.html b/api.graph/index.html index e4b105c..6cc5cf5 100644 --- a/api.graph/index.html +++ b/api.graph/index.html @@ -4,7 +4,7 @@ graph | Penman JS - + diff --git a/api.layout/index.html b/api.layout/index.html index d5a36e7..b075303 100644 --- a/api.layout/index.html +++ b/api.layout/index.html @@ -4,7 +4,7 @@ layout | Penman JS - + diff --git a/api.model/index.html b/api.model/index.html index c3ae8c6..a08e793 100644 --- a/api.model/index.html +++ b/api.model/index.html @@ -4,7 +4,7 @@ model | Penman JS - + diff --git a/api.models/index.html b/api.models/index.html index 94d2dff..3643bb4 100644 --- a/api.models/index.html +++ b/api.models/index.html @@ -4,7 +4,7 @@ models | Penman JS - + diff --git a/api.surface/index.html b/api.surface/index.html index 9af7ace..19d0144 100644 --- a/api.surface/index.html +++ b/api.surface/index.html @@ -4,7 +4,7 @@ surface | Penman JS - + diff --git a/api.transform/index.html b/api.transform/index.html index 63a47c3..17f7ceb 100644 --- a/api.transform/index.html +++ b/api.transform/index.html @@ -4,7 +4,7 @@ transform | Penman JS - + diff --git a/api.tree/index.html b/api.tree/index.html index 04b8440..d521f54 100644 --- a/api.tree/index.html +++ b/api.tree/index.html @@ -4,7 +4,7 @@ tree | Penman JS - + diff --git a/assets/js/0e384e19.39dc2436.js b/assets/js/0e384e19.39dc2436.js deleted file mode 100644 index 405b3a8..0000000 --- a/assets/js/0e384e19.39dc2436.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[671],{7876:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>s,default:()=>d,frontMatter:()=>r,metadata:()=>o,toc:()=>h});var i=t(5893),a=t(1151);const r={slug:"/"},s="Penman JS",o={id:"intro",title:"Penman JS",description:"ci",source:"@site/docs/intro.md",sourceDirName:".",slug:"/",permalink:"/penman-js/",draft:!1,unlisted:!1,editUrl:"https://github.com/chanind/penman-js/tree/main/docs/docs/intro.md",tags:[],version:"current",frontMatter:{slug:"/"},sidebar:"docSidebar",next:{title:"Quick start",permalink:"/penman-js/quick-start"}},c={},h=[{value:"About",id:"about",level:2},{value:"AMR",id:"amr",level:3},{value:"Disclaimer",id:"disclaimer",level:2},{value:"Acknowledgements",id:"acknowledgements",level:2}];function l(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",img:"img",p:"p",pre:"pre",...(0,a.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"penman-js",children:"Penman JS"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"https://github.com/chanind/penman-js",children:(0,i.jsx)(n.img,{src:"https://img.shields.io/github/actions/workflow/status/chanind/penman-js/ci.yaml?branch=main",alt:"ci"})}),"\n",(0,i.jsx)(n.a,{href:"https://www.npmjs.com/package/penman-js",children:(0,i.jsx)(n.img,{src:"https://img.shields.io/npm/v/penman-js",alt:"Npm"})})]}),"\n",(0,i.jsx)(n.p,{children:"Abstract Meaning Representation (AMR) parser and generator for JavaScript."}),"\n",(0,i.jsx)(n.h2,{id:"about",children:"About"}),"\n",(0,i.jsxs)(n.p,{children:["This library, including documentation, is a manual port of the ",(0,i.jsx)(n.a,{href:"https://github.com/goodmami/penman",children:"Penman Python library"}),". All functionality available in the original library should also be available in this library, with similar usage and semantics. The Python library should still be considered the main project for new features. If you find that behavior differs between these libraries, please ",(0,i.jsx)(n.a,{href:"https://github.com/chanind/penman-js/issues",children:"open an issue"}),"."]}),"\n",(0,i.jsx)(n.p,{children:"The goal of this project is to bring the power of the Penman Python library's AMR parsing and generation to the browser and Node.js. This project does not provide a CLI interface for manipulating AMR, since the Python library already provides that functionality."}),"\n",(0,i.jsx)(n.h3,{id:"amr",children:"AMR"}),"\n",(0,i.jsxs)(n.p,{children:["Abstract meaning representation (AMR) captures the meaning of English sentences in a single rooted, directed graph. AMR incorporates ",(0,i.jsx)(n.a,{href:"https://propbank.github.io/",children:"PropBank"})," semantic roles, and can represent a number of linguistic phenomema including coreference, negation, quantity, modality, questions, and many more. AMR is typically written in PENMAN notation, giving this library its name."]}),"\n",(0,i.jsx)(n.p,{children:'AMR for the sentence "He drives carelessly" is shown below:'}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:"(d / drive-01\n :ARG0 (h / he)\n :manner (c / care-04\n :polarity -))\n"})}),"\n",(0,i.jsxs)(n.p,{children:["To learn more about AMR, check out the ",(0,i.jsx)(n.a,{href:"http://amr.isi.edu/",children:"AMR project website"}),". To learn more about PENMAN notation and how it's parsed in this library, visit the ",(0,i.jsx)(n.a,{href:"https://penman.readthedocs.io/en/latest/notation.html",children:"Penman Python docs"}),"."]}),"\n",(0,i.jsx)(n.h2,{id:"disclaimer",children:"Disclaimer"}),"\n",(0,i.jsxs)(n.p,{children:["This project is not officially affiliated with ",(0,i.jsx)(n.a,{href:"http://amr.isi.edu/",children:"AMR"})," or the ",(0,i.jsx)(n.a,{href:"https://github.com/goodmami/penman",children:"Penman Python library"}),"."]}),"\n",(0,i.jsx)(n.h2,{id:"acknowledgements",children:"Acknowledgements"}),"\n",(0,i.jsxs)(n.p,{children:["This library, including documentation, is a manual port of the Penman Python library, and as such, all credit for the original code and docs work goes to ",(0,i.jsx)(n.a,{href:"https://github.com/goodmami/penman",children:"github.com/goodmami/penman"}),"."]})]})}function d(e={}){const{wrapper:n}={...(0,a.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(l,{...e})}):l(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>o,a:()=>s});var i=t(7294);const a={},r=i.createContext(a);function s(e){const n=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),i.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/0e384e19.e4dd9dc3.js b/assets/js/0e384e19.e4dd9dc3.js new file mode 100644 index 0000000..f8732bb --- /dev/null +++ b/assets/js/0e384e19.e4dd9dc3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[671],{7876:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>s,default:()=>d,frontMatter:()=>r,metadata:()=>o,toc:()=>h});var i=t(5893),a=t(1151);const r={slug:"/"},s="Penman JS",o={id:"intro",title:"Penman JS",description:"ci",source:"@site/docs/intro.md",sourceDirName:".",slug:"/",permalink:"/penman-js/",draft:!1,unlisted:!1,editUrl:"https://github.com/chanind/penman-js/tree/main/docs/docs/intro.md",tags:[],version:"current",frontMatter:{slug:"/"},sidebar:"docSidebar",next:{title:"Quick start",permalink:"/penman-js/quick-start"}},c={},h=[{value:"About",id:"about",level:2},{value:"AMR",id:"amr",level:3},{value:"Disclaimer",id:"disclaimer",level:2},{value:"Acknowledgements",id:"acknowledgements",level:2}];function l(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",img:"img",p:"p",pre:"pre",...(0,a.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"penman-js",children:"Penman JS"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"https://github.com/chanind/penman-js",children:(0,i.jsx)(n.img,{src:"https://img.shields.io/github/actions/workflow/status/chanind/penman-js/ci.yaml?branch=main",alt:"ci"})}),"\n",(0,i.jsx)(n.a,{href:"https://www.npmjs.com/package/penman-js",children:(0,i.jsx)(n.img,{src:"https://img.shields.io/npm/v/penman-js",alt:"Npm"})})]}),"\n",(0,i.jsx)(n.p,{children:"Abstract Meaning Representation (AMR) parser and generator for JavaScript."}),"\n",(0,i.jsx)(n.h2,{id:"about",children:"About"}),"\n",(0,i.jsxs)(n.p,{children:["This library, including documentation, is a manual port of the ",(0,i.jsx)(n.a,{href:"https://github.com/goodmami/penman",children:"Penman Python library"}),". All functionality available in the original library should also be available in this library, with similar usage and semantics. The Python library should still be considered the main project for new features. If you find that behavior differs between these libraries, please ",(0,i.jsx)(n.a,{href:"https://github.com/chanind/penman-js/issues/new",children:"open a Github issue"}),"."]}),"\n",(0,i.jsx)(n.p,{children:"The goal of this project is to bring the power of the Penman Python library's AMR parsing and generation to the browser and Node.js. This project does not provide a CLI interface for manipulating AMR, since the Python library already provides that functionality."}),"\n",(0,i.jsx)(n.h3,{id:"amr",children:"AMR"}),"\n",(0,i.jsxs)(n.p,{children:["Abstract meaning representation (AMR) captures the meaning of English sentences in a single rooted, directed graph. AMR incorporates ",(0,i.jsx)(n.a,{href:"https://propbank.github.io/",children:"PropBank"})," semantic roles, and can represent a number of linguistic phenomema including coreference, negation, quantity, modality, questions, and many more. AMR is typically written in PENMAN notation, giving this library its name."]}),"\n",(0,i.jsx)(n.p,{children:'AMR for the sentence "He drives carelessly" is shown below:'}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:"(d / drive-01\n :ARG0 (h / he)\n :manner (c / care-04\n :polarity -))\n"})}),"\n",(0,i.jsxs)(n.p,{children:["To learn more about AMR, check out the ",(0,i.jsx)(n.a,{href:"http://amr.isi.edu/",children:"AMR project website"}),". To learn more about PENMAN notation and how it's parsed in this library, visit the ",(0,i.jsx)(n.a,{href:"https://penman.readthedocs.io/en/latest/notation.html",children:"Penman Python docs"}),"."]}),"\n",(0,i.jsx)(n.h2,{id:"disclaimer",children:"Disclaimer"}),"\n",(0,i.jsxs)(n.p,{children:["This project is not officially affiliated with ",(0,i.jsx)(n.a,{href:"http://amr.isi.edu/",children:"AMR"})," or the ",(0,i.jsx)(n.a,{href:"https://github.com/goodmami/penman",children:"Penman Python library"}),"."]}),"\n",(0,i.jsx)(n.h2,{id:"acknowledgements",children:"Acknowledgements"}),"\n",(0,i.jsxs)(n.p,{children:["This library, including documentation, is a manual port of the Penman Python library, and as such, all credit for the original code and docs work goes to ",(0,i.jsx)(n.a,{href:"https://github.com/goodmami/penman",children:"github.com/goodmami/penman"}),"."]})]})}function d(e={}){const{wrapper:n}={...(0,a.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(l,{...e})}):l(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>o,a:()=>s});var i=t(7294);const a={},r=i.createContext(a);function s(e){const n=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),i.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.eef5a127.js b/assets/js/runtime~main.1b8cd991.js similarity index 98% rename from assets/js/runtime~main.eef5a127.js rename to assets/js/runtime~main.1b8cd991.js index b11e796..f56815e 100644 --- a/assets/js/runtime~main.eef5a127.js +++ b/assets/js/runtime~main.1b8cd991.js @@ -1 +1 @@ -(()=>{"use strict";var e,t,r,o,a,n={},c={};function f(e){var t=c[e];if(void 0!==t)return t.exports;var r=c[e]={id:e,loaded:!1,exports:{}};return n[e].call(r.exports,r,r.exports,f),r.loaded=!0,r.exports}f.m=n,f.c=c,e=[],f.O=(t,r,o,a)=>{if(!r){var n=1/0;for(b=0;b=a)&&Object.keys(f.O).every((e=>f.O[e](r[d])))?r.splice(d--,1):(c=!1,a0&&e[b-1][2]>a;b--)e[b]=e[b-1];e[b]=[r,o,a]},f.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return f.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,f.t=function(e,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var a=Object.create(null);f.r(a);var n={};t=t||[null,r({}),r([]),r(r)];for(var c=2&o&&e;"object"==typeof c&&!~t.indexOf(c);c=r(c))Object.getOwnPropertyNames(c).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,f.d(a,n),a},f.d=(e,t)=>{for(var r in t)f.o(t,r)&&!f.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},f.f={},f.e=e=>Promise.all(Object.keys(f.f).reduce(((t,r)=>(f.f[r](e,t),t)),[])),f.u=e=>"assets/js/"+({40:"96b918f5",53:"935f2afb",55:"917dfc31",178:"2762b9c4",229:"b91079d4",239:"72e14192",294:"71e49d9c",368:"a94703ab",478:"982bc796",518:"a7bd4aaa",613:"2bc1595e",661:"5e95c892",671:"0e384e19",683:"afa0c498",694:"747a5f6c",719:"0b32bb6d",760:"445dc618",857:"5bf49532",918:"17896441"}[e]||e)+"."+{40:"615de7f3",53:"0183cec8",55:"88e45ce2",178:"67e2b2ff",229:"522a71c7",239:"6d95607d",294:"f9702619",368:"d43449df",478:"1cb4cf1e",518:"ced71ed2",613:"b04c6ce4",661:"acf67b81",671:"39dc2436",683:"fe71d027",694:"9ae1250d",719:"a42455e7",760:"4a63c2a1",772:"3ac74133",857:"7810ee85",918:"1e5bee28"}[e]+".js",f.miniCssF=e=>{},f.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o={},a="docs:",f.l=(e,t,r,n)=>{if(o[e])o[e].push(t);else{var c,d;if(void 0!==r)for(var i=document.getElementsByTagName("script"),b=0;b{c.onerror=c.onload=null,clearTimeout(s);var a=o[e];if(delete o[e],c.parentNode&&c.parentNode.removeChild(c),a&&a.forEach((e=>e(r))),t)return t(r)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=l.bind(null,c.onerror),c.onload=l.bind(null,c.onload),d&&document.head.appendChild(c)}},f.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.p="/penman-js/",f.gca=function(e){return e={17896441:"918","96b918f5":"40","935f2afb":"53","917dfc31":"55","2762b9c4":"178",b91079d4:"229","72e14192":"239","71e49d9c":"294",a94703ab:"368","982bc796":"478",a7bd4aaa:"518","2bc1595e":"613","5e95c892":"661","0e384e19":"671",afa0c498:"683","747a5f6c":"694","0b32bb6d":"719","445dc618":"760","5bf49532":"857"}[e]||e,f.p+f.u(e)},(()=>{var e={303:0,532:0};f.f.j=(t,r)=>{var o=f.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else if(/^(303|532)$/.test(t))e[t]=0;else{var a=new Promise(((r,a)=>o=e[t]=[r,a]));r.push(o[2]=a);var n=f.p+f.u(t),c=new Error;f.l(n,(r=>{if(f.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var a=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+a+": "+n+")",c.name="ChunkLoadError",c.type=a,c.request=n,o[1](c)}}),"chunk-"+t,t)}},f.O.j=t=>0===e[t];var t=(t,r)=>{var o,a,n=r[0],c=r[1],d=r[2],i=0;if(n.some((t=>0!==e[t]))){for(o in c)f.o(c,o)&&(f.m[o]=c[o]);if(d)var b=d(f)}for(t&&t(r);i{"use strict";var e,t,r,o,a,n={},c={};function f(e){var t=c[e];if(void 0!==t)return t.exports;var r=c[e]={id:e,loaded:!1,exports:{}};return n[e].call(r.exports,r,r.exports,f),r.loaded=!0,r.exports}f.m=n,f.c=c,e=[],f.O=(t,r,o,a)=>{if(!r){var n=1/0;for(b=0;b=a)&&Object.keys(f.O).every((e=>f.O[e](r[d])))?r.splice(d--,1):(c=!1,a0&&e[b-1][2]>a;b--)e[b]=e[b-1];e[b]=[r,o,a]},f.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return f.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,f.t=function(e,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var a=Object.create(null);f.r(a);var n={};t=t||[null,r({}),r([]),r(r)];for(var c=2&o&&e;"object"==typeof c&&!~t.indexOf(c);c=r(c))Object.getOwnPropertyNames(c).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,f.d(a,n),a},f.d=(e,t)=>{for(var r in t)f.o(t,r)&&!f.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},f.f={},f.e=e=>Promise.all(Object.keys(f.f).reduce(((t,r)=>(f.f[r](e,t),t)),[])),f.u=e=>"assets/js/"+({40:"96b918f5",53:"935f2afb",55:"917dfc31",178:"2762b9c4",229:"b91079d4",239:"72e14192",294:"71e49d9c",368:"a94703ab",478:"982bc796",518:"a7bd4aaa",613:"2bc1595e",661:"5e95c892",671:"0e384e19",683:"afa0c498",694:"747a5f6c",719:"0b32bb6d",760:"445dc618",857:"5bf49532",918:"17896441"}[e]||e)+"."+{40:"615de7f3",53:"0183cec8",55:"88e45ce2",178:"67e2b2ff",229:"522a71c7",239:"6d95607d",294:"f9702619",368:"d43449df",478:"1cb4cf1e",518:"ced71ed2",613:"b04c6ce4",661:"acf67b81",671:"e4dd9dc3",683:"fe71d027",694:"9ae1250d",719:"a42455e7",760:"4a63c2a1",772:"3ac74133",857:"7810ee85",918:"1e5bee28"}[e]+".js",f.miniCssF=e=>{},f.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o={},a="docs:",f.l=(e,t,r,n)=>{if(o[e])o[e].push(t);else{var c,d;if(void 0!==r)for(var i=document.getElementsByTagName("script"),b=0;b{c.onerror=c.onload=null,clearTimeout(s);var a=o[e];if(delete o[e],c.parentNode&&c.parentNode.removeChild(c),a&&a.forEach((e=>e(r))),t)return t(r)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=l.bind(null,c.onerror),c.onload=l.bind(null,c.onload),d&&document.head.appendChild(c)}},f.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.p="/penman-js/",f.gca=function(e){return e={17896441:"918","96b918f5":"40","935f2afb":"53","917dfc31":"55","2762b9c4":"178",b91079d4:"229","72e14192":"239","71e49d9c":"294",a94703ab:"368","982bc796":"478",a7bd4aaa:"518","2bc1595e":"613","5e95c892":"661","0e384e19":"671",afa0c498:"683","747a5f6c":"694","0b32bb6d":"719","445dc618":"760","5bf49532":"857"}[e]||e,f.p+f.u(e)},(()=>{var e={303:0,532:0};f.f.j=(t,r)=>{var o=f.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else if(/^(303|532)$/.test(t))e[t]=0;else{var a=new Promise(((r,a)=>o=e[t]=[r,a]));r.push(o[2]=a);var n=f.p+f.u(t),c=new Error;f.l(n,(r=>{if(f.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var a=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+a+": "+n+")",c.name="ChunkLoadError",c.type=a,c.request=n,o[1](c)}}),"chunk-"+t,t)}},f.O.j=t=>0===e[t];var t=(t,r)=>{var o,a,n=r[0],c=r[1],d=r[2],i=0;if(n.some((t=>0!==e[t]))){for(o in c)f.o(c,o)&&(f.m[o]=c[o]);if(d)var b=d(f)}for(t&&t(r);i Penman JS | Penman JS - + @@ -13,7 +13,7 @@ Npm

Abstract Meaning Representation (AMR) parser and generator for JavaScript.

About

-

This library, including documentation, is a manual port of the Penman Python library. All functionality available in the original library should also be available in this library, with similar usage and semantics. The Python library should still be considered the main project for new features. If you find that behavior differs between these libraries, please open an issue.

+

This library, including documentation, is a manual port of the Penman Python library. All functionality available in the original library should also be available in this library, with similar usage and semantics. The Python library should still be considered the main project for new features. If you find that behavior differs between these libraries, please open a Github issue.

The goal of this project is to bring the power of the Penman Python library's AMR parsing and generation to the browser and Node.js. This project does not provide a CLI interface for manipulating AMR, since the Python library already provides that functionality.

AMR

Abstract meaning representation (AMR) captures the meaning of English sentences in a single rooted, directed graph. AMR incorporates PropBank semantic roles, and can represent a number of linguistic phenomema including coreference, negation, quantity, modality, questions, and many more. AMR is typically written in PENMAN notation, giving this library its name.

diff --git a/quick-start/index.html b/quick-start/index.html index 8a9625a..5fdd0e5 100644 --- a/quick-start/index.html +++ b/quick-start/index.html @@ -4,7 +4,7 @@ Quick start | Penman JS - + diff --git a/trees-graphs-epigraphs/index.html b/trees-graphs-epigraphs/index.html index 3bea06d..d7993c1 100644 --- a/trees-graphs-epigraphs/index.html +++ b/trees-graphs-epigraphs/index.html @@ -4,7 +4,7 @@ Trees and graphs | Penman JS - +