KeyboardKit / KeyboardKitPro

KeyboardKit Pro helps you create custom keyboards for iOS and iPadOS.
https://keyboardkit.com
Other
110 stars 8 forks source link

fullDocumentContext emoji scan issue #5

Open evilutioner opened 1 year ago

evilutioner commented 1 year ago

Issue Description

When the text contains emojis, additional symbols are added in the text. This issue occurs when the text includes three consecutive emojis, and the scan result duplicates the first three letters of the word following the emojis.

Steps to Reproduce

  1. Open the text containing three consecutive emojis and a word following them, for example:
    Combinations are simply a set of emojis arranged one after the other, for example: 👑💬🎤. You can use them to make riddles or communicate without words. Also, combinations can express emotions and moods, for example, 👀👀👀 can mean curiosity or surprise. Combinations have become popular in messages and social networks, where they give text more expressiveness
  2. Summarize or autocorrect the text.
  3. Observe the generated prompt.

Actual Result

After running the fullDocumentContext feature, the result includes additional symbols, such as "ComCombinations" and "AlsAlso," which duplicate the first three letters of the word following the emojis:

ComCombinations are simply a set of emojis arranged one after the other, for example: 👑💬🎤. You can use them to make riddles or communicate without words. AlsAlso, combinations can express emotions and moods, for example, 👀👀👀 can mean curiosity or surprise. Combinations have become popular in messages and social networks, where they give text more expressiveness

Environment

KeyboardKitPro 7.5.0

danielsaidi commented 1 year ago

Thank you for finding this!