Page tree
Skip to end of metadata
Go to start of metadata

Syntax

EXTRACT_PERSON(<text>)

Description

Extracts people from text and returns the results in a list.

People that are extracted from text are taken from a default list made by the Conference on Natural Language Learning 2003 shared task (Language-Independent Named Entity Recognition).

This list can be altered or customized by Datameer users with access to Datameer's plug-ins file.  

  1. Open Datameer's Plug-ins file.
  2. Unzip the plug-in plugin-textmining-x.x.x.zip.
  3. Go to to the plugin-textmining-x.x.x folder, then open the classes folder.
  4. Open the file named en-ner-person.list with a text editor and exchange or edit the training data.
  5. Zip the plug-in and replace the plugin-textmining-x.x.x.zip with the new one.
  6. Restart Datameer to activate the changes .

Examples

EXTRACT_PERSON(#Text_Column)

Text column
EXTRACT_PERSON result
Elizabeth Bennet had been obliged, by the scarcity of gentlemen, to sit down for two dances; and during part of that time, Mr. Darcy had been standing near enough for her to hear a conversation between him and Mr. Bingley, who came from the dance for a few minutes, to press his friend to join it.[Elizabeth Bennet, Darcy, Bingley]
She was shown into the breakfast-parlour, where all but Jane were assembled, and where her appearance created a great deal of surprise. That she should have walked three miles so early in the day, in such dirty weather, and by herself, was almost incredible to Mrs. Hurst and Miss Bingley; and Elizabeth was convinced that they held her in contempt for it. She was received, however, very politely by them; and in their brother's manners there was something better than politeness; there was good humour and kindness. Mr. Darcy said very little, and Mr. Hurst nothing at all.[Jane, Hurst, Bingley, Elizabeth, Darcy, little, Hurst]
Elizabeth passed quietly out of the room, Jane and Kitty followed, but Lydia stood her ground, determined to hear all she could; and Charlotte, detained first by the civility of Mr. Collins, whose inquiries after herself and all her family were very minute, and then by a little not to hear. In a doleful voice Mrs. Bennet began the projected conversation: "Oh! Mr. Collins!"[Elizabeth, Jane, Kitty, Lydia, Charlotte, Collins, little, Bennet, Collins]

Example text taken from Pride and Prejudice written by Jane Austin.

  • This function is not guaranteed to be 100% accurate.
  • The accuracy of results depends on both the training data being used by the function and the comparable quality of input data.
  • In order to assess result accuracy, you need conduct your own performance evaluation.
  • No labels