Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4165985

javadoc tool: Use BreakIterator to determine end of first sentence

XMLWordPrintable

    • beta2
    • generic, sparc
    • generic, solaris_2.5
    • Verified

      Just prior to 1.2 Beta4 we tried using BreakIterator for the first
      sentence breaks, and it had too many serious bugs for us to use,
      so javadoc now special cases English and uses our old 1.1 algorithm
      that looks for a period (.) followed by white space.

      Once the BreakIterator bugs are fixed, we should consider returning
      to using BreakIterator for English.

      The BreakIterator bugs are described in:

      4140384 design bug: ambiguous "first sentence" rule
      4158381 sentence BreakIterator stops too soon (submitted by Bill Shannon)
      4113835 Some of BreakIterator's rules are not correct in JDK1.1.6G.

            jhosunw Jamie Ho (Inactive)
            dkramersunw Douglas Kramer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: