Comments (2)
@pudo Friedrich, very interesting thoughts. I am working on something similar, and I think that using Spacy relation extraction co-ocurences can be factorized using inverted information entropy (or transferred information quantity, in other words). Which in an oversimplified way can be represented as 1/(term frequency)
. Just to start with, it's not an ideal solution.
Jane Doe established Fancy Corp in Italy
etablished - would be a strong link (tf is small)
in - could be light link (tf is high)
So for coocurences it may be:
Jane Doe - Fancy Corp + 1 link * high coeficient, because 'established' is really rare link type
Jane Doe - Italy +0.5 link (it's a link from a link, so we discount it) * negligible coeficient, because 'in' is really popular link type
Of course it should use synonyms and all other stuff. I'm oversimplifying idea
p.s. And I think that Bayes classifier is a great idea. I did this for Human-in-the-loop theme classification and it works as "magic". I didn't scale it up for production system, but prototypes worked well
from storyweb.
@slavaGanzin I agree with what you're proposing, but my sense is that we need to address disambiguation/same-as before we can do other edge types. For tags that are not linked between articles, the co-occurrence count is always technically 1 at most ("in the article in which John Doe
is mentioned, there's also Fancy Corp
") - except if we consider all mentions of the same tag to refer to the same entity, which is sort of where this misery started :)
from storyweb.
Related Issues (18)
- Sources to consider
- Implement "stories" user journey
- Fix UI cache invalidation HOT 2
- Move article extractor into storyweb HOT 4
- Render generated graphs in UI HOT 3
- Stuck on SQL query for pair generation HOT 4
- Fix up FastAPI butching the SPA
- Exclude locations from listings and linker by default
- Create topical source set HOT 6
- Define format for input articles HOT 1
- Consider adding/supporting more than one language/model HOT 1
- Link-type guesser HOT 1
- Fix Drawers calling empty API endpoints HOT 1
- Have a first look at co-occurency through NER HOT 1
- Have a first look at property and relationship extraction through dependency parsing HOT 1
- Have a first look at co-reference resolving
- Nav flows for app HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from storyweb.