Parse

Algorithmia Platform License · Internet Access

Run an Example

[
  [
    "ROOT",
    [
      "S",
      [
        "NP",
        [
          "DT",
          [
            "This"
          ]
        ]
      ],
      [
        "VP",
        [
          "VBZ",
          [
            "is"
          ]
        ],
        [
          "NP",
          [
            "DT",
            [
              "a"
            ]
          ],
          [
            "NN",
            [
              "sample"
            ]
          ],
          [
            "NN",
            [
              "sentence"
            ]
          ]
        ]
      ],
      [
        ".",
        [
          "."
        ]
      ]
    ]
  ],
  [
    "ROOT",
    [
      "S",
      [
        "NP",
        [
          "DT",
          [
            "This"
          ]
        ]
      ],
      [
        "VP",
        [
          "VBZ",
          [
            "is"
          ]
        ],
        [
          "NP",
          [
            "DT",
            [
              "a"
            ]
          ],
          [
            "QP",
            [
              "DT",
              [
                "another"
              ]
            ],
            [
              "CD",
              [
                "one"
              ]
            ]
          ]
        ]
      ],
      [
        ".",
        [
          "."
        ]
      ]
    ]
  ]
]

Install & Use

Use

curl -X POST -d '"This is a sample sentence. This is a another one."' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/StanfordNLP/Parse/0.1.0