question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to identify "Hilliary Clinton" in input

See original GitHub issue

Hi!

When using Hillary Clinton as an input to this library:

The second presidential debate contained a slew of troubling moments for both sides. Among the most disturbing, existentially speaking, was a comment that Donald Trump made about Hillary Clinton that if realized would threaten the balance of power within the American democracy. 

it produces the following result:

Person {
  whitespace: { preceding: '', trailing: ' ' },
  text: 'Clinton',
  normal: 'clinton',
  expansion: null,
  reasoning: [ 'capital_signal', 'lexicon_pass' ],
  pos: { Noun: true, Person: true, MalePerson: true },
  tag: 'MalePerson',
  honourific: null,
  firstName: 'Clinton',
  middleName: '',
  lastName: null }

Do you know what the possible issue might be?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
spencermountaincommented, Feb 10, 2017

hey Yongzhi, this is fixed now in 7.0.9

var str='The second presidential debate contained a slew of troubling moments for both sides. Among the most disturbing, existentially speaking, was a comment that Donald Trump made about Hillary Clinton that if realized would threaten the balance of power within the American democracy.'
console.log(nlp(str)).people().data());
//[donald trump, hilary clinton]

cheers!

0reactions
yongzhihuangcommented, Oct 12, 2016

@spencermountain Great, thank you very much for looking into it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

- OVERSIGHT OF THE STATE DEPARTMENT - GovInfo
Did you--you're just not able to prosecute it, or did Hillary Clinton break the law? Mr. Comey. Well, I don't want to give...
Read more >
Statement of Michael E. Horowitz - DOJ OIG
Statement of Michael E. Horowitz, Inspector General, U.S. Department of Justice before the U.S. House of Representatives Committees on Oversight and ...
Read more >
Photograph does not show Hillary Clinton in blackface - Reuters
Reuters Fact Check. REUTERS/Axel Schmidt. The claim allegedly shows a “young” Hillary and Bill Clinton at a costume party “many years ago”.
Read more >
No, Hillary Clinton Did Not 'Infiltrate' or Hack Donald Trump ...
The misleading narrative is being pushed hard by Fox News host Tucker Carlson.
Read more >
Hillary Clinton, your website is naughty - UX Collective
We all know that Donald Trump and Hillary Clinton are in the political limelight. So, why don't we have a little fun with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found