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 X users with access to Datameer's plug-ins file.
- Open Datameer's Plug-ins file.
- Unzip the plug-in
plugin-textmining-x.x.x.zip
. - Go to to the
plugin-textmining-x.x.x
folder, then open theclasses
folder. - Open the file named
en-ner-person.list
with a text editor and exchange or edit the training data. - Zip the plug-in and replace the plugin-textmining-x.x.x.zip with the new one.
- Restart Datameer X 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] |