Giter Site home page Giter Site logo

Comments (2)

goodmami avatar goodmami commented on July 30, 2024

Why not make these synset definitions with language attributes?

<Synset id="wnja-80002360-n" partOfSpeech="n" ili="">
      <Definition>ヒノキの木材</Definition>
      <Definition language="en">wood of Japanese cypress</Definition>

I'm also somewhat opposed to the idea of ILI-definitions in lexicons in general (globalwordnet/schemas#43), especially now that Wn can load ILIs separately from lexicons.

from wn.

goodmami avatar goodmami commented on July 30, 2024

The WN-LMF schema does not prevent nor otherwise forbid an <ILIDefinition> from appearing for any particular values or absence of the ili attribute, so in some sense I agree that there is a missing feature in Wn here, but the conventional usage is that ILIDefinition only appears when a new ILI is proposed (ili="in"). For established ILIs, the definitions should be in the ILI file, and it doesn't make sense to me to have an ILI definition when there is no ILI whatsoever.

In any case, I'm not going to fix this because it would require schema changes (thus forcing anyone who upgrades to rebuild their database) for a fairly obscure use case. I suggest you store these definitions elsewhere or use synset definitions as shown in my previous comment.

from wn.

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.