Conversion of phonetic symbols

Source: Internet
Author: User

There were some special phonetic symbols in history. These fonts display common ASCII characters as phonetic symbols. If the correct font is selected, these characters are displayed as phonetic symbols. If the correct font is not set, these characters will display the original format, for example:

D.J.[s!6ne*ri87*&, -6n$8-, -6n#r-] K.K.[s!6nWri7o, -6n$r-, -6n#r-] 

This article discusses how to map common ASCII characters in these phonetic symbols to unicode characters.

1 Kingsoft Mac 2010 beta version of a small bug

In Kingsoft 2010 beta, most dictionaries use Unicode encoding. You can directly copy and paste it to a Unicode-supported text editor, such as cnbook or word. However, you must set fonts that support phonetic symbols, such as "lucida sans Unicode". Otherwise, the phonetic symbols may not be correctly displayed. In particular, the accent symbols begin and begin. For example:

A small bug was found during the use of version 2010 beta. After downloading and installing the "Traditional American English Dictionary" from the official website of the software, I found that the phonetic symbols of the traditional American English dictionary could not be properly displayed:

Obviously, this is caused by the lack of corresponding fonts. I checked the CSS file and found that the phonetic alphabet of the traditional American English dictionary requires a basemicnew Font:

.symbol {font-family: "BasemicNew";color: #999999;}

I found a font file basen1__.ttf whose font type is basemicnew on the Internet. However, it is not normal after installation:

The normal phonetic symbols should be:

D. J.: [Si records N records when Ri: ˌ ou,-records N records:,-records N records R-]

K. K.: [s branch n branch Ri branch o,-branch n branch,-branch n branch R-]

This problem requires Kingsoft to provide correct font files. It is recommended that Kingsoft directly modify the dictionary file and use the Unicode-encoded phonetic alphabet.

2. ksphonet font of the early Overlord

This is a commonly used phonetic alphabet font with the font name "Kingsoft phonetic plain ". Most of Kingsoft powerhouses use this font. This font contains the following characters:

There are not many English phonetic symbols. In cnbook, replace the following table to convert the phonetic symbols of common characters to the standard phonetic symbols of Unicode characters.

5 = bytes
7 = bytes
9 = bytes
A = bytes
B = bytes
C = example
E = Signature
F = Signature
I = bytes
J = bytes
N = bytes
Q = Signature
R = Beijing
T = bytes
U = u
V = Signature
W = θ
// = Bytes
^ = Success

For more information about using Replace tables in cnbook, see my previous article.

3. basemic font of the early dashboard

In the past, the traditional dictionary of America used this font. The font name is "basemic" and the font file is basemic_.ttf. This font contains the following characters:

The traditional American Dictionary contains three phonetic symbols: AHD, DJ, And KK. I don't know ahd. Therefore, only the conversion tables of DJ and KK are organized:

! = Bytes
"= Bytes
# = Bytes
$ = Bytes
% = Bytes
& = Bytes
(= Bytes
) = Bytes
* = Bytes
+ = Bytes
. = Bytes
/= Bytes
0 = bytes
6 = bytes
7 = bytes
8 =:
9 = bytes
> = Bytes
G = θ
H = bytes
W = drawing

4 gwipa. TTF

I have also seen a phonetic alphabet font named gwipa. The font name is "gwipa ". The font author provides the ing diagram:

According to the ing chart, you can easily write the replacement table:

A = bytes
B = B
C = example
D = bytes
E = Signature
F = f
G = G
H = H
I = bytes
J = J
K = K
L = L
M = m
M = bytes
O = bytes
P = P
Q = Signature
R = r
S = bytes
T = θ
U = u
V = Signature
W = W
X = bytes
Y = y
Z = bytes
'= Bytes
; = Bytes

The two accents are displayed in the font file.

5 conclusion

After the replacement table is set, you can right-click the cnbook to easily convert normal characters in the phonetic alphabet to the corresponding Unicode characters. In word, it should also be possible to use macro implementations for batch replacement, but I have not studied it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.