<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello Ruben,</p>
    <div class="moz-cite-prefix">On 16-Mar-2023 06:23, Ruben
      Schachtenhaufen wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:e92dd749-ec02-45b4-a7bb-8947abcd6bbbn@googlegroups.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div>Dear developers,</div>
      <div><br>
      </div>
      <div>I am developing a Danish IPA dictionary at
        <a class="moz-txt-link-freetext" href="https://udtaleordbog.dk/">https://udtaleordbog.dk/</a>. I would like to integrate the
        dictionary with Phon in some way.</div>
    </blockquote>
    <p>It is possible to create a plug-in jar that you could distribute
      to your users and provides your custom dictionary. I can provide
      instructions for how to create this file.</p>
    <blockquote type="cite"
      cite="mid:e92dd749-ec02-45b4-a7bb-8947abcd6bbbn@googlegroups.com">
      <div><br>
      </div>
      <div>As my dictionary is in development, ideally I would like
        users to be able to get the latest updates at all times in an
        automated way, and I would also like to get feedback on missing
        words so I can add them to the dictionary.</div>
      <div><br>
      </div>
      <div>Do you have technical solutions for connecting Phon to an
        online dictionary, e.g. via an API?</div>
    </blockquote>
    <p>We have never really considered this approach as we have been
      developing Phon as an offline application (aside from automatic
      updates.)  While it is possible to quickly modify the application
      to load dictionary files from an online resource, latency and
      connection issues have not been fully considered and may cause
      unexpected issues in the application. </p>
    <p>Custom dictionary types may be added to the application using a
      plugin.  The basic Idea would be to implement
<a class="moz-txt-link-freetext" href="https://www.phon.ca/apidocs/ca/phon/ipadictionary/spi/IPADictionarySPI.html">https://www.phon.ca/apidocs/ca/phon/ipadictionary/spi/IPADictionarySPI.html</a>
      so that the lookup function calls your online API and returns a
      list of ipa strings for the given orthography.  You would also
      need to create your own
<a class="moz-txt-link-freetext" href="https://www.phon.ca/apidocs/ca/phon/ipadictionary/DictionaryProvider.html">https://www.phon.ca/apidocs/ca/phon/ipadictionary/DictionaryProvider.html</a>
      which will create an instance of
      <a class="moz-txt-link-freetext" href="https://www.phon.ca/apidocs/ca/phon/ipadictionary/IPADictionary.html">https://www.phon.ca/apidocs/ca/phon/ipadictionary/IPADictionary.html</a>
      that uses your custom SPI.  Finally place the fully qualified name
      of the dictionary provider class in a file named
      META-INF/services/ca.phon.ipadictionary.DictionaryProvider.<br>
    </p>
    <p>If you wish to go this route please contact my personal email and
      I will help with setting up the Java project.</p>
    <p>Cheers,</p>
    <p>-Greg</p>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:e92dd749-ec02-45b4-a7bb-8947abcd6bbbn@googlegroups.com">
      <div><br>
      </div>
      <div>Ruben<br>
      </div>
      -- <br>
      You received this message because you are subscribed to the Google
      Groups "Phon" group.<br>
      To unsubscribe from this group and stop receiving emails from it,
      send an email to <a
        href="mailto:phon+unsubscribe@googlegroups.com"
        moz-do-not-send="true" class="moz-txt-link-freetext">phon+unsubscribe@googlegroups.com</a>.<br>
      To view this discussion on the web visit <a
href="https://groups.google.com/d/msgid/phon/e92dd749-ec02-45b4-a7bb-8947abcd6bbbn%40googlegroups.com?utm_medium=email&utm_source=footer"
        moz-do-not-send="true">https://groups.google.com/d/msgid/phon/e92dd749-ec02-45b4-a7bb-8947abcd6bbbn%40googlegroups.com</a>.<br>
    </blockquote>
  </body>
</html>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "Phon" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:phon+unsubscribe@googlegroups.com">phon+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/phon/34ffa689-bbe6-33a0-d198-ae282a014416%40gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/phon/34ffa689-bbe6-33a0-d198-ae282a014416%40gmail.com</a>.<br />