Skip to content

Commit

Permalink
Merge pull request #543 from spencermountain/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
spencermountain committed Jul 28, 2023
2 parents 8e7e5a3 + 5433f92 commit 5fcfe9f
Show file tree
Hide file tree
Showing 57 changed files with 2,539 additions and 1,478 deletions.
19 changes: 12 additions & 7 deletions plugins/classify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ wtf.extend(require('wtf-plugin-classify'))
wtf.fetch('Toronto Raptors').then((doc) => {
let res = doc.classify()
//{
// category: 'Organization/SportsTeam',
// confidence: 0.9,
// detail: {...}
// type: 'Organization/SportsTeam',
// score: 0.9,
// details: {...}
//}
})
```
Expand Down Expand Up @@ -81,10 +81,12 @@ Person:
FootballPlayer : true
BasketballPlayer : true
HockeyPlayer : true
Actor : true
Creator:
Actor : true
Musician : true
Author : true
Director : true
Politician : true
Musician : true
Author : true
Place:
Jurisdiction:
City : true
Expand All @@ -98,6 +100,7 @@ Organization:
Company : true
SportsTeam : true
PoliticalParty : true
School : true
Event:
Disaster : true
Election : true
Expand All @@ -112,9 +115,11 @@ Creation:
Play : true
Song : true
VideoGame : true
Product : true
FictionalCharacter : true
Concept:
MedicalCondition : true
Organism : true
Product : true
```

as of March 2020, it can classify ~65% of english wikipedia articles:
Expand Down

0 comments on commit 5fcfe9f

Please sign in to comment.