94
edits
(→Text) |
(→Text) |
||
| Line 112: | Line 112: | ||
- '''url''':''str'' // The url containing the text to be analyzed | - '''url''':''str'' // The url containing the text to be analyzed | ||
- '''text''':''str'' // The text to be analyzed | - '''text''':''str'' // The text to be analyzed | ||
- '''tasks''':''dictionary'' {D: null} // The list of tasks to perform. | - '''tasks''':''dictionary'' {D: null} // The list of tasks to perform. (null means perform all) | ||
''Note:'' Either miid, url, or text must be provided | ''Note:'' Either miid, url, or text must be provided | ||
| Line 118: | Line 118: | ||
<u>'''Outputs'''</u> | <u>'''Outputs'''</u> | ||
- '''results''':''dictionary'' // The list of task results (one result object per task). | - '''results''':''dictionary'' // The list of task results (one result object per task). | ||
====Tasks==== | ====Tasks==== | ||
| Line 132: | Line 132: | ||
- '''document_keywords''':''array'' // list of keywords for the entire document | - '''document_keywords''':''array'' // list of keywords for the entire document | ||
- '''paragraph_keywords''':''array'' // list of keywords for each paragraph | - '''paragraph_keywords''':''array'' // list of keywords for each paragraph | ||
=====Entity Extraction===== | |||
Identify main keywords found in the text, either document wide, per paragraph, or both | |||
<u>'''Inputs'''</u> | |||
??? | |||
<u>'''Outputs'''</u> | |||
- '''entities''':''array'' // array of [entity, type, position] tuples in the document. | |||
edits