Here is an example of extracting the structure of a document using the MeaningCloud:
In this example we are going to analyze the structure from an online document (URL), for instance this article.
txt
parameter to submit the text.key
parametercurl
curl -XPOST "http://api.meaningcloud.com/documentstructure-1.0?key=<<YOUR OWN KEY>>&url=https://en.wikipedia.org/wiki/Margaret_Hamilton_(scientist)"
{ "status": { "code": "0", "msg": "OK", "credits": "8" }, "title": "Margaret Hamilton (scientist) - Wikipedia", "abstract_list": [ ], "heading_list": [ "Margaret Hamilton (scientist)", "Contents", "Early life[edit]", "SAGE Project[edit]", "NASA[edit]", "Businesses[edit]", "Legacy[edit]", "Personal life[edit]", "Publications[edit]", "See also[edit]", "References[edit]", "External links[edit]", "Navigation menu", "Apollo 11[edit]", "Awards[edit]", "Personal tools", "Namespaces", "Variants", "Views", "More", "Search", "Navigation", "Interaction", "Tools", "Print/export", "In other projects", "Languages" ], "emails_info": { "from": "", "to": [ ], "cc": [ ], "subject": "" } }