Parsey McParseface

Parse sentences with ease.

Algorithmia Platform License

Run an Example

{
  "output": {
    "sentences": [
      {
        "words": [
          {
            "lemma": "",
            "head": 5,
            "features": {
              "Number": "Sing",
              "fPOS": "PROPN++N"
            },
            "universal_pos": "PROPN",
            "extra_deps": [
              ""
            ],
            "language_pos": "N|eigen|ev|neut",
            "misc": "",
            "dep_relation": "nsubj",
            "form": "Algorithmia",
            "index": 1
          },
          {
            "lemma": "",
            "head": 5,
            "features": {
              "Number": "Sing",
              "VerbType": "Aux,Cop",
              "VerbForm": "Fin",
              "Aspect": "Imp",
              "Tense": "Pres",
              "Mood": "Ind",
              "Person": "3",
              "fPOS": "AUX++V"
            },
            "universal_pos": "AUX",
            "extra_deps": [
              ""
            ],
            "language_pos": "V|hulpofkopp|ott|3|ev",
            "misc": "",
            "dep_relation": "cop",
            "form": "is",
            "index": 2
          },
          {
            "lemma": "",
            "head": 5,
            "features": {
              "Definite": "Def",
              "PronType": "Art",
              "fPOS": "DET++Art"
            },
            "universal_pos": "DET",
            "extra_deps": [
              ""
            ],
            "language_pos": "Art|bep|zijdofmv|neut",
            "misc": "",
            "dep_relation": "det",
            "form": "de",
            "index": 3
          },
          {
            "lemma": "",
            "head": 5,
            "features": {
              "Case": "Nom",
              "Degree": "Pos",
              "fPOS": "ADJ++Adj"
            },
            "universal_pos": "ADJ",
            "extra_deps": [
              ""
            ],
            "language_pos": "Adj|attr|stell|vervneut",
            "misc": "",
            "dep_relation": "amod",
            "form": "enige",
            "index": 4
          },
          {
            "lemma": "",
            "head": 0,
            "features": {
              "Number": "Sing",
              "fPOS": "NOUN++N"
            },
            "universal_pos": "NOUN",
            "extra_deps": [
              ""
            ],
            "language_pos": "N|soort|ev|neut",
            "misc": "",
            "dep_relation": "ROOT",
            "form": "plek",
            "index": 5
          },
          {
            "lemma": "",
            "head": 11,
            "features": {
              "PronType": "Int",
              "fPOS": "ADV++Adv"
            },
            "universal_pos": "ADV",
            "extra_deps": [
              ""
            ],
            "language_pos": "Adv|gew|vrag",
            "misc": "",
            "dep_relation": "mark",
            "form": "waar",
            "index": 6
          },
          {
            "lemma": "",
            "head": 11,
            "features": {
              "PronType": "Ind",
              "fPOS": "PRON++Pron"
            },
            "universal_pos": "PRON",
            "extra_deps": [
              ""
            ],
            "language_pos": "Pron|onbep|neut|zelfst",
            "misc": "",
            "dep_relation": "nsubj",
            "form": "je",
            "index": 7
          },
          {
            "lemma": "",
            "head": 11,
            "features": {
              "Number": "Plur",
              "fPOS": "NOUN++N"
            },
            "universal_pos": "NOUN",
            "extra_deps": [
              ""
            ],
            "language_pos": "N|soort|mv|neut",
            "misc": "",
            "dep_relation": "dobj",
            "form": "nederlands",
            "index": 8
          },
          {
            "lemma": "",
            "head": 10,
            "features": {
              "AdpType": "Prep",
              "fPOS": "ADP++Prep"
            },
            "universal_pos": "ADP",
            "extra_deps": [
              ""
            ],
            "language_pos": "Prep|voor",
            "misc": "",
            "dep_relation": "case",
            "form": "met",
            "index": 9
          },
          {
            "lemma": "",
            "head": 11,
            "features": {
              "Number": "Sing",
              "fPOS": "NOUN++N"
            },
            "universal_pos": "NOUN",
            "extra_deps": [
              ""
            ],
            "language_pos": "N|soort|ev|neut",
            "misc": "",
            "dep_relation": "nmod",
            "form": "syntaxnet",
            "index": 10
          },
          {
            "lemma": "",
            "head": 5,
            "features": {
              "Number": "Plur",
              "VerbType": "Mod",
              "VerbForm": "Fin",
              "Aspect": "Imp",
              "Tense": "Pres",
              "Mood": "Ind",
              "fPOS": "VERB++V"
            },
            "universal_pos": "VERB",
            "extra_deps": [
              ""
            ],
            "language_pos": "V|hulp|inf",
            "misc": "",
            "dep_relation": "acl",
            "form": "kunnen",
            "index": 11
          },
          {
            "lemma": "",
            "head": 11,
            "features": {
              "Subcat": "Tran",
              "VerbForm": "Inf",
              "fPOS": "VERB++V"
            },
            "universal_pos": "VERB",
            "extra_deps": [
              ""
            ],
            "language_pos": "V|trans|inf",
            "misc": "",
            "dep_relation": "xcomp",
            "form": "ontleden.",
            "index": 12
          }
        ]
      }
    ]
  }
}

Install & Use

Use

curl -X POST -d '{
  "src":"Algorithmia is de enige plek waar je nederlands met syntaxnet kunnen ontleden.",
  "format":"conll",
  "language":"dutch"
}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/deeplearning/Parsey/1.0.4