Results 1 to 4 of 4

Thread: Java Linguistics

  1. #1
    Join Date
    Aug 2007
    Beans
    72

    Java Linguistics

    I was wondering whether anyone knew of any Java packages with functions similar to Ruby Linguistics. I was thinking of making a translator as a final project in my computer science class so I need the ability to find plural forms of words and different tenses of a given verb (English only). Writing this in Java myself would be a pain, so I would appreciate it if someone knew of anything like this.

  2. #2
    Join Date
    Jul 2008
    Location
    Athens, Georgia
    Beans
    228

    Re: Java Linguistics

    java.util.Locale

    This works with methods from other classes to supply Java with internationalization features. I don't know how far it would go towards translating, but it aids in formatting things like local times, dates, currencies, etc. Also allows for proper display of text (left to right, right to left, etc).

  3. #3
    Join Date
    Aug 2007
    Beans
    72

    Re: Java Linguistics

    Quote Originally Posted by HotCupOfJava View Post
    java.util.Locale

    This works with methods from other classes to supply Java with internationalization features. I don't know how far it would go towards translating, but it aids in formatting things like local times, dates, currencies, etc. Also allows for proper display of text (left to right, right to left, etc).
    That's an interesting class, but not really what I'm looking for.

    I'm really need something where I can get different forms of english words (methods like toPlural("penny") or toPresentParticiple("says")). For instance, the translator would see a present participle in the source language and then find the appropriate English word and then it would simply call toPresentParticiple(word) to find the translation in the target language. As I said, similar functions are in the Ruby package, Ruby Linguistics, but I haven't been able to find a Java equivalent.

  4. #4
    Join Date
    Apr 2008
    Beans
    507

    Re: Java Linguistics

    Maybe this article will help? http://www.devx.com/semantic/Article/35088

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •