You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by rz...@apache.org on 2026/09/22 17:50:06 UTC

(opennlp) branch OPENNLP-1974-emoji-normalizer updated: OPENNLP-1974: Fix Unicode Emoji version in LanguageDetectorFactory Javadoc

This is an automated email from the ASF dual-hosted git repository.

rzo1 pushed a commit to branch OPENNLP-1974-emoji-normalizer
in repository https://gitbox.apache.org/repos/asf/opennlp.git


The following commit(s) were added to refs/heads/OPENNLP-1974-emoji-normalizer by this push:
     new e6d91422e OPENNLP-1974: Fix Unicode Emoji version in LanguageDetectorFactory Javadoc
e6d91422e is described below

commit e6d91422e3811ace05222ba8822a5cca49e80e54
Author: Richard Zowalla <rz...@apache.org>
AuthorDate: Tue Sep 22 19:17:26 2026 +0200

    OPENNLP-1974: Fix Unicode Emoji version in LanguageDetectorFactory Javadoc
    
    Co-Authored-By: Claude Opus 5.5 (1M context) <no...@anthropic.com>
---
 .../src/main/java/opennlp/tools/langdetect/LanguageDetectorFactory.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opennlp-core/opennlp-runtime/src/main/java/opennlp/tools/langdetect/LanguageDetectorFactory.java b/opennlp-core/opennlp-runtime/src/main/java/opennlp/tools/langdetect/LanguageDetectorFactory.java
index 74767d209..9af692130 100644
--- a/opennlp-core/opennlp-runtime/src/main/java/opennlp/tools/langdetect/LanguageDetectorFactory.java
+++ b/opennlp-core/opennlp-runtime/src/main/java/opennlp/tools/langdetect/LanguageDetectorFactory.java
@@ -41,7 +41,7 @@ public class LanguageDetectorFactory extends BaseToolFactory {
 
   /**
    * @return Retrieves a {@link LanguageDetectorContextGenerator}. The chain replaces exact,
-   *     fully-qualified Unicode Emoji 17.0 sequences before producing character n-grams.
+   *     fully-qualified Unicode Emoji 18.0 sequences before producing character n-grams.
    *     Training and inference must use the same normalization behavior.
    */
   @SuppressWarnings("deprecation")