Git Product home page Git Product logo

mytalk's People

Contributors

ellerre avatar

Stargazers

 avatar  avatar

mytalk's Issues

Integration with WordNet should be improved

When dealing with verbs, MyTalk uses a call to the wordnet predicate fr(synset_id,f_num,w_num) in order to find the frames of the verb to check whether it’s bi-transitive (f_num of 14 would be a bi-transitive verb, for example).

Currenlty, MyTalk prints “too difficult” for almost any sentence, but the fr(synset_id,f_num,w_num) seems behave as if it is actually fr(synset_id,w_num,f_num) with the f_num and w_num reversed. For the verb “give”, the second argument is always 0 (default word number for a synset?), and the third argument has various frame numbers, including 14 for a bi-trasitive verb.

By changing MyTalk to swap the positions of w_num and f_num, then MyTalk understands basic sentences, such as “terry gave shrdlu” which would be “too difficult” for the current master version of MyTalk.

This can be solved by reversing the order of the arguments: fr(SysID, FR, W_Num) becomes fr(SysID, _, FR) and this allows the verb number of the group (now second argument) to be anything, including 0 (the verb number for the framing seems to be 0 in a lot of cases which seems to mean there is a default framing for the verb group).

Thanks to Prof. Todd Kelley from Algonquin College for this precious suggestion. I hope one day I'll have time to do these changes (contributions will be really welcome).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.