Code Monkey home page Code Monkey logo

Comments (4)

lfoppiano avatar lfoppiano commented on May 29, 2024 1

Two remarks:

  1. There is an issue with the query, since the list of sentences are not correct. This might be also impact the fact that though the mention Petain is not shown, it's in the reponse.
  2. The goal of this test is to test the new version, so the old version shall not be tested here.

from entity-fishing.

lfoppiano avatar lfoppiano commented on May 29, 2024

The new version (0.0.3) seems not so suffer from this issue.

from entity-fishing.

tantikristanti avatar tantikristanti commented on May 29, 2024

The test for this issue was done as follows:

  1. Update the documentation
  • The documentation of sentence processing can be found HERE
  1. Test case: process sentence works properly (the process sentence should be processed)
  • It was given the same query as in the first comment of this issue.

a. Test case: process sentence parameter is added (the process sentence should be processed)

screen shot 2018-01-19 at 14 23 41

  • Result: Pass)**
    **) with a bug

_ Thanks to @lfoppiano who gave an information that the result might be showed in the Json response. And yes, the result appear in Json response but not in the interface.

  • The Json response were as follows:
"entities": [
        {
            "rawName": "Pétain",
            "type": "LOCATION",
            "offsetStart": 205,
            "offsetEnd": 374,
            "nerd_score": 0.05,
            "nerd_selection_score": 0.4537,
            "wikipediaExternalRef": 2516,
            "wikidataId": "Q5721",
            "domains": [
                "Administration"
            ]
        },
        {
            "rawName": "Oui-Laquelle",
            "type": "LOCATION",
            "offsetStart": 671,
            "offsetEnd": 903,
            "nerd_score": 0.8,
            "nerd_selection_score": 0
        },
        {
            "rawName": "catholiques",
            "offsetStart": 1168,
            "offsetEnd": 1323,
            "nerd_score": 0.0975,
            "nerd_selection_score": 0.4233,
            "wikipediaExternalRef": 6130480,
            "wikidataId": "Q9592",
            "domains": [
                "Administration"
            ]
        },
        {
            "rawName": "français",
            "offsetStart": 1296,
            "offsetEnd": 1345,
            "nerd_score": 0.0975,
            "nerd_selection_score": 0.489,
            "wikipediaExternalRef": 1753,
            "wikidataId": "Q150",
            "domains": [
                "Sociology"
            ]
        },
        {
            "rawName": "hommes de lettres",
            "offsetStart": 1451,
            "offsetEnd": 1660,
            "nerd_score": 0.1302,
            "nerd_selection_score": 0.4062,
            "wikipediaExternalRef": 1738,
            "wikidataId": "Q8242",
            "domains": [
                "Biology"
            ]
        }
    ]
}

So, it will be opened another issue #55 regarding this problem.

b. Test case: process sentence parameter is removed (the process sentence should be processed)

screen shot 2018-01-19 at 14 25 40

  • Result: Pass

Conclusion:

  • the result between http://localhost:8090/ and http://nerd.huma-num.fr/test/ shows something odd since the disambiguation service is done only when the process sentence parameter is removed. It means that even though the correct index of sentence should be processed is given, the service wasn't give any correct result.

from entity-fishing.

tantikristanti avatar tantikristanti commented on May 29, 2024

This issue is closed with a reason that the test has been done and some bugs discovery as results of the test process will be opened in another issue #55 .

from entity-fishing.

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.