Git Product home page Git Product logo

Comments (1)

rahulbot avatar rahulbot commented on August 20, 2024

I've done only initial testing in German, which I don't speak, so I can't characterize how well it works. That said, I just tried a short sentence from a Der Spiegel article on our homepage and found that it pulled out a place and person pretty well - results below. You are correct that the one-word request for Krems doesn't work. I expect that is because the models are built to process sentences, but I'm not sure 🤷🏽‍♂️.

Input (from this article)
"Alesja* sieht noch, wie Beamte einer Omon-Sondereinheit mit Schlagstöcken auf ihren Mann einprügeln. Iwan* liegt mit anderen auf der Straße an einer Brücke in Minsk, hält die Hände über den Kopf verschränkt. "

Results

{
  "milliseconds": 5,
  "language": "DE",
  "version": "2.6.1",
  "results": {
    "places": {
      "mentions": [
        {
          "featureCode": "PPLC",
          "featureClass": "P",
          "confidence": 1,
          "lon": 27.56667,
          "countryGeoNameId": "630336",
          "source": {
            "charIndex": 159,
            "string": "Minsk"
          },
          "population": 1742124,
          "stateGeoNameId": "625143",
          "countryCode": "BY",
          "name": "Minsk",
          "stateCode": "04",
          "id": 625144,
          "lat": 53.9
        }
      ],
      "focus": {
        "cities": [
          {
            "score": 1,
            "featureCode": "PPLC",
            "stateGeoNameId": "625143",
            "featureClass": "P",
            "countryCode": "BY",
            "name": "Minsk",
            "lon": 27.56667,
            "countryGeoNameId": "630336",
            "stateCode": "04",
            "id": 625144,
            "lat": 53.9,
            "population": 1742124
          }
        ],
        "countries": [
          {
            "score": 1,
            "featureCode": "PCLI",
            "stateGeoNameId": "",
            "featureClass": "A",
            "countryCode": "BY",
            "name": "Republic of Belarus",
            "lon": 28,
            "countryGeoNameId": "630336",
            "stateCode": "00",
            "id": 630336,
            "lat": 53,
            "population": 9685000
          }
        ],
        "states": [
          {
            "score": 1,
            "featureCode": "ADM1",
            "stateGeoNameId": "625143",
            "featureClass": "A",
            "countryCode": "BY",
            "name": "Horad Minsk",
            "lon": 27.56667,
            "countryGeoNameId": "630336",
            "stateCode": "04",
            "id": 625143,
            "lat": 53.9,
            "population": 2002600
          }
        ]
      }
    },
    "organizations": [],
    "people": [
      {
        "name": "Iwan",
        "count": 1
      }
    ]
  },
  "status": "ok"
}

from cliff-annotator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.