Code Monkey home page Code Monkey logo

bluestocking's People

Contributors

dkush avatar sbenthall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bluestocking's Issues

'factchecker' demo

Build demo functionality:

  • given a text
  • tokenize the text, look up every word in wikipedia
  • build knowledge base based on collected articles
  • evaluate consistency of original text with knowledge base
  • segment into: supported claims, new claims, and contradicted claims.

introduct Concept class (and subclasses?)

Introduce Concept class as wrapper around a semantic node. A Concept has:

  • a set of terms that elicit it (e.g. a single term, or set of words in a WordNet synset)
  • a reference to the knowledge base they are a part of (see Ned Block on Conceptual Role Semantics)
  • a method that returns the available relations for this concept, in the knowledge base and/or based on wordnet (antonyms)

chunking

add chunking in the preprocessing step

wikipedia article grabber

script the functionality of: given a word (or article title), grab the wikipedia article on the subject, and strip markup to return text.

For now, don't worry about marking the articles for different handling on the Concept level.

smarter knowledge base aggregation

Currently, knowledge bases are just built by appending the relations parsed from individual documents in the corpus.

This can lead to the introduction of contradictory relations into the knowledge base.

One way to deal with this would be to check for consistency between Concepts when adding relations to a knowledge base. If the concept in a newly added set of relations is similar enough to an existing concept, then the two concepts can be merged and all relations applicable to either can be adopted. If the concepts are to deviant (despite, say, having the same triggering word), then the new concept can be preserved separately.

why tautological relations?

The parser is pulling out tautological relations like:

[(True, 'yesterday', 'yesterday'), (True, 'today', 'today')]

which are throwing off consistency scoring.

parsing is stripping first character from some tokens

The parser seems to be stripping the first character from some tokens. The knowledge base for "Today was not good. Ice cream is not good. Spinach is bad. I hate everything."

...includes relations like " (False, 'ice', 'ood')" (not missing 'g')

chunk-bounded parsing

After chunking, parse within chunks for relations. Only establish relations between chunks, and internal to chunks.

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.