magiasn / commonsenseerl_emnlp_2019 Goto Github PK
View Code? Open in Web Editor NEWCode for the EMNLP 2019 paper: Event Representation Learning Enhanced with External Commonsense Knowledge.
Code for the EMNLP 2019 paper: Event Representation Learning Enhanced with External Commonsense Knowledge.
As mentioned in knowitall/ollie#9, the Open IE tool internally used MaltParser for parsing, which can not handle unicode correclty.
So the extraction script in https://github.com/MagiaSN/CommonsenseERL_EMNLP_2019/blob/master/preproc/OpenExtract.scala should add the following code to handle coding exception.
import scala.io.Codec
import java.nio.charset.CodingErrorAction
implicit val codec = Codec("UTF-8")
codec.onMalformedInput(CodingErrorAction.REPLACE)
codec.onUnmappableCharacter(CodingErrorAction.REPLACE)
你好!想请教一下,具体是怎么替换SGNN中的event embeding呀
Hi,
Thanks for the nice work.
I wonder if there is any code for Script generation using your event representation?
In the paper, the representations were evaluated on script event prediction. However I wondered if we can generate script?
您好,请问代码里面的ntn模型在哪儿可以找到,可以提供下吗?
(model/nyt/ntn/NeuralTensorNetwork_2007.pt)
你好,关于NTY语料的预处理我有几个问题:
1、 我现在已经有了LDC2008T19从1987-2007的原始语料,但里面有许多非‘故事’的文本,比如company report,请问这些文本需要过滤么
2、 代码中只对原始文本做了分段处理,在运行ollie之前文本还需要做tokenize等进一步nlp处理么
3、 预处理代码好像并没有做共指解析,存在许多代词如“he”,“it”等该如何处理
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.