Class DilafLemonDataHandler

java.lang.Object
org.getalp.dbnary.model.DbnaryModel
org.getalp.dilaf.DilafLemonDataHandler

public class DilafLemonDataHandler extends DbnaryModel
  • Constructor Details

    • DilafLemonDataHandler

      public DilafLemonDataHandler(String lang)
  • Method Details

    • registerLexicalEntry

      public org.apache.jena.rdf.model.Resource registerLexicalEntry(String id, String pos)
    • registerNewLexicalSense

      public org.apache.jena.rdf.model.Resource registerNewLexicalSense(String lemma, String pos, String pron, String senseNumber)
    • dump

      public void dump(OutputStream out)
    • dump

      public void dump(OutputStream out, String format)
      Write a serialized represention of this model in a specified language. The language in which to write the model is specified by the lang argument. Predefined values are "RDF/XML", "RDF/XML-ABBREV", "N-TRIPLE", "TURTLE", (and "TTL") and "N3". The default value, represented by null, is "RDF/XML".
      Parameters:
      out - the output stream in which the dump will be written
      format - the RDF format in which the data will be written
    • registerTranslations

      public void registerTranslations(org.apache.jena.rdf.model.Resource lexicalSense, String translations)
    • setCanonicalForm

      public void setCanonicalForm(org.apache.jena.rdf.model.Resource lexicalEntry, String lemma)
    • registerLexicalSense

      public org.apache.jena.rdf.model.Resource registerLexicalSense(org.apache.jena.rdf.model.Resource lexicalEntry, String senseId, String terme, String usage, String nonUsage, String status, String emploi)
    • registerDefinition

      public void registerDefinition(org.apache.jena.rdf.model.Resource sense, String text, String lang)
    • registerExample

      public org.apache.jena.rdf.model.Resource registerExample(org.apache.jena.rdf.model.Resource sense, String ba, String baTons, String fr, String usage)