Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1114805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T03:03:45+00:00 2026-05-17T03:03:45+00:00

Given the text below, how can I classify each character as kana or kanji

  • 0

Given the text below, how can I classify each character as kana or kanji?

誰か確認上記これらのフ

To get some thing like this

誰 - kanji
か - kana
確 - kanji
認 - kanji 
上 - kanji 
記 - kanji 
こ - kana 
れ - kana
ら - kana
の - kana
フ - kana

(Sorry if I did it incorrectly.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T03:03:46+00:00Added an answer on May 17, 2026 at 3:03 am

    This functionality is built into the Character.UnicodeBlock class. Some examples of the Unicode blocks related to the Japanese language:

    Character.UnicodeBlock.of('誰') == CJK_UNIFIED_IDEOGRAPHS
    Character.UnicodeBlock.of('か') == HIRAGANA
    Character.UnicodeBlock.of('フ') == KATAKANA
    Character.UnicodeBlock.of('フ') == HALFWIDTH_AND_FULLWIDTH_FORMS
    Character.UnicodeBlock.of('!') == HALFWIDTH_AND_FULLWIDTH_FORMS
    Character.UnicodeBlock.of('。') == CJK_SYMBOLS_AND_PUNCTUATION
    

    But, as always, the devil is in the details:

    Character.UnicodeBlock.of('A') == HALFWIDTH_AND_FULLWIDTH_FORMS
    

    where A is the full-width character. So this is in the same category as the halfwidth Katakana フ above. Note that the full-width A is different from the normal (half-width) A:

    Character.UnicodeBlock.of('A') == BASIC_LATIN
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Given a text string containing a type name, is there some way to get
Can some one suggest regular expression for below text Signature text text some more
In html below, how can I just select/get the date by a given class?
Given the simple JSON below, how can I use jQuery to append each result
I want to load the default text into textarea like this Usually we can
How can I give the input field below the characteristics listed below? Characteristics: -Text
Below, setting text and setting progress gives me the error.. Multiple markers at this
Given a large text block from a WYSIWYG like: Lorem ipsum dolor sit amet,
given a plain text file, how can I do, using bash, awk, sed, etc,
given a plain text document with several lines like: c48 7.587 7.39 c49 7.508

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.