JP3612351B2 - Document processing device - Google Patents
Document processing device Download PDFInfo
- Publication number
- JP3612351B2 JP3612351B2 JP26306394A JP26306394A JP3612351B2 JP 3612351 B2 JP3612351 B2 JP 3612351B2 JP 26306394 A JP26306394 A JP 26306394A JP 26306394 A JP26306394 A JP 26306394A JP 3612351 B2 JP3612351 B2 JP 3612351B2
- Authority
- JP
- Japan
- Prior art keywords
- conversion
- rule
- notation
- character string
- input
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
Description
【0001】
【産業上の利用分野】
この発明は日本語文書処理装置において、ローマ字入力文字列を日本語表示又はローマ字表示に簡単に切換えられ、日本語文書作成操作と英文文書作成操作をワンタッチでモード切替えしながら複数言語の文書作成が簡単にできるようにした文書処理装置に関する。
【0002】
【従来の技術】
従来、ワードプロセッサ、パーソナルコンピュータ、ワークステーション等の日本語文書処理機能を有する装置において、ローマ字漢字変換又はかな漢字変換による日本語入力方法が広く用いられている。しなしながら、、今日では情報の国際化が非常に進んでいるので、日本語文書の中に、日本語の単語、文章ばかりでなく、英語等の外国語の単語又は文章をカタカナ表示ではなくオリジナルの言語の綴りまたは発音ローマ字の綴りのままで、日本語の文章の中に混在させて使用することが少くない。特にコンピュータ関係の専門用語や、住所、氏名等は国際化の進展と共に、マニュアル、契約書、学会誌等の中で複数の言語で日本語文章中に並記されることが多くなっている。
【0003】
かかる事態に対応するため、例えば、指定された文字列に含まれる各英単語の先頭文字を大文字に、先頭文字以外の文字を小文字に自動変換する文書作成装置が特開平1ー111262号公報に紹介されている。また、ローマ字入力モードにおいてキー入力装置等から入力された英文字列を、特別の操作を必要とすることなしに、かな漢字文字列と外国語文字列の混在した文字列に変換することのできるかな漢字変換装置も特開平4−75162号公報に紹介されている。更に、入力された文字列中に現れる諸文字の隣接関係の特徴を利用することにより、ユーザの負担の少ない日本語入力が可能なロー字字漢字変換装置も特公平5−85055号公報に記載されている。
【0004】
【発明が解決しようとする課題】
しかしながら、特に外国人との情報交換を考慮して作成される日本語文書にあっては、テキスト文書中に、同一ローマ字入力のキー操作をして、ある行では、ローマ字入力文字列を日本語文字列に、また別の行では、そのままローマ字文字列(この発明では英子音文字、英記号、数字等を含む英文字列のことをローマ字文字列と以下呼ぶ)として記憶させたい事態が発生している。かかる操作は、特に住所、氏名及び文書のタイトル等を作成する場合に、頻発するが、ローマ字のキー入力操作は、一般に日本人の氏名、住所等を入力する場合、日本語表記とローマ字表記とで全く同一であるため、特開平4−75162号公報に記載の技術や特公平5−85055号公報に記載の技術では、装置の自動判断に変換結果が依存してしまい、確実に、日本語表記又はローマ字表記に変換することができないという問題点があった。また、特開平1−111262号公報に記載の技術も対象をアルファベット文字であるか否か先ず判断してから大文字、小文字変換又は日本語等に変換するようにしているので、日本人の氏名、住所等を日本語表記とローマ字表記と並記した文章を作成する場合、そのキー入力操作が大変煩わしいという問題点があった。
【0005】
この発明は上述のような事情から成されたものであり、この発明の目的は、ローマ字入力の日本語処理装置において、ローマ字入力文字列を簡単な操作で日本語表記や英文表記/ローマ字表記中の各文字の大文字表記/小文字表記を簡単に切替えて所望の大文字/小文字表記文字列を作成することが可能な文書処理装置を提供することにある。尚、本発明で単語には、英子音一文字から成る文字列も含むものとする。
【0006】
【課題を解決するための手段】
この発明はアプリケーションプログラムから入力または指定された読み文字列を入出力制御部を介してかな漢字混じり文字列に変換する文書処理装置に関するものであり、この発明の上記目的は、前記入出力制御部にかな漢字変換部とは別に前記読み文字列を予め登録した複数の変換規則にしたがって、順次表記形式の異なる複数のローマ字文字列に変換する表記変換部を設け、表記変換指令に応答して前記入出力制御部内で前記読み文字列を所望の表記形式のローマ字文字列に変換し前記アプリケーションプログラムに、渡すことによって達成される。
【0007】
【作用】
この発明では、ローマ字入力された文字列を日本語と英語/アルファベットとに区別することなく、同一の文字列として扱い文書処理するので、入力文字列を日本語と他の言語とに区別する必要が一切ない。従って、和文入力モードと英文入力モードのモード切替操作等は一切必要とせず、文章のキー入力が可能である。また、英大文字入力キー、英小文字入力キーを操作することもなく、通常の英文キー入力の感覚で日本語とローマ字/英語等の単語を同時にキー入力することができる。更に、予め所望の英大文字/英小文字表記形式をデータに登録しておくことにより、第2番目の単語は全て英大文字で、それ以外の文節の単語は先頭が英大文字、それ以外は英小文字の表記等をさせることも一回の表記変更キー操作で実現することができる。また、上述の表記変更のために日本語辞書や英単語辞書を用意する必要は一切ない。
【0008】
【実施例】
以下に、添付図面を参照して本発明の好適な実施例について説明する。
【0009】
図1は本実施例における文書処理装置の概略構成を表すブロック図である。同図において、MPU2により、本文書処理装置の各種処理が実行され、キーボード4により、読み文字列の入力や、変換指示、確定指示等の各種入力の操作が行なわれる。表示手段としてのCRT6には、入力中の文書や、かな漢字変換候補、ローマ字変換結果等が表示され、ROM10にはMPU2が実行する各種の制御プログラムや実行プログラムで使用する共通データ等が格納されている。
【0010】
一方、ハードディスク、光ディスク、フラッシュメモリ等の記憶手段12には、かな漢字変換辞書14a,数式変換辞書14b,化学式変換辞書14c,郵便番号辞書14d,同類語辞書14e,…,医学用語辞書14x等の各種辞書類が格納されており、かな漢字変換処理で参照される各種情報が記憶されている。また、RAM20にはMPU2が各種の処理を実行するための作業エリアや、かな漢字変換部22などが設けられており、このかな漢字変換部22には、更にかな漢字変換処理のための入出力制御部30及び、かな漢字変換を実行する変換エンジン部24等が設けられると共に、記憶手段12から読出された辞書14a〜14x等がコピーされて記憶されるか又は辞書14a等が記憶手段12から直接読出されて使用されるようになっている。そして、上述の各部はバス8を介して、相互にデータの授受を行うようになっている。
【0011】
図2は、かな漢字変換部22(入出力制御部30及び変換エンジン部24)と辞書14a〜14xの関係を示すより詳細なブロック図であり、かな漢字変換処理を含む文書処理用アプリケーションプログラム実行部23から出力されるキー操作情報を入出力制御部30が受信すると、判定処理部32により、受信したキー操作情報がキーボード4から入力される読み文字列情報なのか、各種変換指示又は確定指示であるか等の判定処理を行い、読み文字列のキー入力情報の場合には、格納部34に設けられた読み文字列バッファ36にキー入力情報が記憶される。また、各種変換指令の場合には、例えば、かな漢字変換指令の場合には、判定処理部32からかな漢字変換エンジン部24aへ変換指令が出力され、読み文字列バッファ36から変換対象文字列が取出されて、エンジン部24aによりかな漢字変換され、その結果が格納部34内の表示文字列バッファ38に書込まれて、表示部40の制御のもとに表示手段6に表示されるようになっている。
【0012】
また、変換指令が表記変換指令の場合には、判定処理部32により表記変換部60が起動され、格納部70に予め設定されている単語表記規則辞書74、区切り記号辞書76、文字サイズフラグ78及び実行用表記規則テーブル72等の制御情報に基づいて、読み文字列バッファ36内の変換対象文字列が判定処理部62の制御のもとに表記変換され、表記変換結果が表示文字列バッファ38に書込まれると共に、表示部40を介して表示手段6に表示されるようになっている。尚、環境設定部50は、格納部70の各制御情報をデフォルト設定すると共に、ユーザカスタマイズ指令により、区切り記号の変更、登録や実行用表記規則テーブルへ登録する表記規則の種類や順番を任意に設定変更できるようになっている。
【0013】
図3(A)はかかる区切り記号辞書76のデータ構造の一例を示す図であり、区切り記号として使用可能なキーコードを欄D12乃至D20へそれぞれ設定/登録すると共に、その総数DNUMを欄D10へ設定するようになっている。また、図3(B)は単語表記規則辞書74のデータ構造の一例を示す図であり、表記変換規則1乃至表記変換規則RNUMが欄D32乃至D38にそれぞれ、予め設定され、その内容はユーザが環境設定部50を介して確認できるようになっている。また、これら表記変換規則の総数RNUMが欄D30に登録されると共に、各表記変換規則には、列D60に設けられた表示サイズ欄D62乃至D88により、ローマ字表記変換した後の表示文字サイズを全角サイズで表示するか、半角サイズで表示するか等適宜選択できるようになっている。更に、図4は実行用表記規則テーブル72のデータ構成の一例を示す図であり、この例では、表記変換指令が来た場合、先ず、図3(B)に示す単語表記規則辞書74に登録されている規則1のローマ字表記変換が実行され、以下、規則3、5、7、6、RNUM−1と、合計6種類の表記変換がテーブル72に登録されている順番に実行され、この例では7回目の表記変換指令で最初の規則1の表記変換に戻るようになっている。
【0014】
このような構成のもとに、その動作を次に説明する。
【0015】
先ず、図1及び図2の文書処理装置がローマ字入力モードに設定されているものとする。この状態で、たとえば「なつめ そうせき」という氏名を漢字及びローマ字で2段に渡って並記しようとする場合、ユーザ(オペレータ)はキーボード4を操作して図7(A)に示すような英文字列「natume souski」で読み文字列入力の操作を行う(図5のステップS2)。この時点では、上述の入力読み文字列は、ひらがなに変換され、図7(B)に示すように「なつめ そうせき」として表示手段6に黄色で通常表示されている。次に、スペースキーを押下すると、図2の判定処理部32からかな漢字変換エンジン部24aへ「なつめ そうせき」のかな漢字指令が出力され、辞書14aを参照して、表示文字列バッファ38に「夏目 漱石」が漢字変換されて、水色で表示される(図5及び図7 (C)のステップS4)。かくして、漢字変換した結果を文書に記録する場合には、リターンキーを押下すると、入出力制御部30からアプリケーションプログラム実行部23に「夏目 漱石」が転送されて通常のかな漢字変換処理が終了する(図5のステップS6)。
【0016】
次に、かな漢字変換プログラムのローマ字入力モードのままで「なつめ そうせき」をローマ字変換する場合、上述と同様にして図7(A)に示すように英文字列「natume souseki」をユーザがキーボード4を操作して入力する(図5のステップS2)。この時点では、上述の入力読み文字列はひらがなに変換され、図7(B)に示すように「なつめ そうせき」として、表示手段6に黄色で通常表示されている。次に、ファンクションf9の表示変換指令キーが押下されると(図5のステップ4)、図2の判定処理部32から表記変換部60へ表記変換指令が出力される。かくして表記変換部60が起動されると、判定処理部62において、先ず、表記変換指令の回数がチェックされ、例えば、変換指令の回数がK回であればK−[K/EUM]*ENUMのような演算により、実行表記規則テーブル72から今回実行する実行規則の番号を読出し、ローマ字変換後の表示文字サイズを文字サイズフラグ78に設定すると共に、単語表記規則辞書74から今回使用する表記変換規則を読出し、判定処理部62の図示しないプログラム格納領域に記憶する(図6のステップS10)。尚、以下の動作説明では、表記変換の対象文字列の中で連続した区切り記号の集合を区切り記号ブロックと呼び、区切り記号ブロックで区切られた文字列を単語と呼ぶことにする。また、英記号には数字も含むものとする。
【0017】
かくして、今回使用される表記変換規則(図4の例出は図3(B)に示す規則1)が記憶されると、判定処理部62により読み文字列バッファ36の中の変換対象文字列が読出され、この変換対象文字列が区切り記号辞書76に登録されている区切り信号のブロック部分と、単語部分とに分離される(図6のステップS12)。上述の例では、この時点で、第1番目の単語として「natume」、第2番目の単語として「souseki」がそれぞれ抽出される。次に、各単語に対して表記変換規則1が適用され、この場合は、「natume souseki」とローマ字変換された後(図6のステップS14)、更に、文字サイズフラグの値により、これらの文字列が半角サイズに変換されて表示文字列バッファ38に書込まれ青色の文字として表示手段6に表示される(図6のステップ16及び図7(D))。
【0018】
しかしながら、この変換結果は、所望の表記形式と一致していないので、ユーザが2回目のファンクションf9キーを押下すると、今回は図4の欄D82に示すように表記変換規則3が上述と同様に適用されて、表示手段6の画面の表示は図7(E)に示すように、各単語の先頭英文字が英大文字に変換され、残りの単語部分が英小文字に変換されて、青色表示される。
【0019】
けれども、この変換結果も、目的の表示形式と一致していないので、ユーザが3回目のファンクションf9キーを押下すると、今回は、図4の欄D84に示すように表記変換規則5が上述と同様に適用されて、表示手段6の画面の表示は図7(F)に示すように、各単語が全て英大文字に変換されて、青色表示される。しかしながら、この変換結果も、目的の表記形式と一致していないので、ユーザが4回目のファンクションf9キーを押下すると、今回は表記変換規則7が上述と同様に適用されて、表示手段6の画面の表示は図7(G)に示すように「Souseki NATUME」と単語の表示順序が入れ替わると共に、「NATUME」は全て英大文字変換され、「Souseki」は先頭の文字だけが英大文字変換されて表示される。
【0020】
かくして、所望の表記文字列が得られたので、リターンキーを押下すると、入出力制御部30から「Souseki NATUME」の文字列がアプリケーションプログラム実行部23へ転送される。かくして、かな漢字変換プログラムのローマ字入力モードのままで、「natume souseki」と全角サイズでキー入力しておきながら、表記変換キーを押し続けることにより「Souseki NATUME」と単語の順番を入れ替えると共に、単語毎にそれぞれ異なった英大文字/英小文字変換を実行し、更に、表示サイズを半角サイズに変換した文字列を生成してアプリケーションプログラムへ転送することが可能となる。また、この変換のためにいわゆるかな漢字辞書や英語辞書等に一切新語登録をしておく必要はない。
【0021】
また、図8はこの発明のまま別の効果を示すものであり、かな漢字変換プログラムのローマ字入力モードのままで「McDonald´s」とローマ字変換する例を示す。この場合には、キーボード4から上述のようにキー入力する(図(B))と、表示手段6に黄色で通常「mcどなld´s」と表示されている。次に、表示変換指令のファンクションf9キーが1回押下されると、図8(C)のように変換され、以下、合計5回ファンクションf9キーを押し続けると、図8(F)に示すように全部英大文字全角サイズにへ変換された後、更にファンクションf9キーをもう1回押下すると図8(H)に示すように「McDonald´s」と変換できる。尚、この場合、「McDonald´s」とシフトキーを同時に操作しながらキー入力すると、ファンクションf9キーを1回押すだけで所望の結果を得ることもできる。
【0022】
尚、上述の図3(B)に示す表記変換規則では表示サイズの指定も可変な規則として各規則を示したが、表示サイズの指定のない規則を採用することが可能なことも当者には明らかである。また、規則の中の英大文字、英小文字の中に英記号や数字等を含むことも当業者には明らかである。
【0023】
次に環境設定部50の動作に関して説明する。文書処理装置にユーザ指示機能として設けられている環境設定プログラムを起動すると、例えば、図9(A)に示すような環境設定メニューD100が表示手段6に表示され、環境設定部50が立上がる。次にこの環境設定メニューD100の中から変換メニューD104をマウス又はキーボードの操作により選択すると、図9(B)に示すような表記変換パラメータの設定ダイアログD120が表示されるので、区切り記号の設定変更の場合は、ボタンD122を選択し、実行用表記返還テーブルの設定/変更の場合は、ボタンD124を選択する。
【0024】
ボタンD122を選択した場合には表示手段6の画面に更に図10に示す区切り記号設定メニューD130が現われるので、使用したい区切り記号の横に設定されているボタンスイッチD132,D134,…、D148等をオンにする。その後、OKボタンD150をクリックすると、これらの記号が区切り記号として区切り記号辞書76に自動登録されるようになっている。又、操作ミス等の場合には、キャンセルボタンD152を押すと良い。
【0025】
一方、ボタンD124を選択した場合には、表示手段6の画面に図11に示す実行用表記規則設定メニューD160が現れるので、規則表示欄D180を参照して、所望の規則を実行用規則テーブルD162の実行したい位置に適宜、挿入又は登録コマンドにより登録していく。図11の例では、先ず、規則表示欄D180のプルアップコマンドD182又はプルダウンコマンドD184を操作して、各表記変換規則の変換処理を確認し、登録したい規則が見つかったら、該当する規則の下に設けられている規則選択ボタンD190,D192,D194,…、等を適宜選択する。図11の例では、規則7が登録用表記変換規則として選択された状態を示している。次に、実行用規則テーブルD162の規則登録欄D164,D166,…、D178を図示しないマウス等で適宜選択し、登録ボタンD202を押すと、該当する欄に選択した表記変換規則が登録される。図11の例では、欄D170へ規則7を登録した状態を示している。尚、選択した規則を追加したい場合は、挿入ボタンD200を押すと良い。又、登録済みの規則を削除する場合は、削除ボタンD204を押す。かくして、実行用規則テーブルD162が設定できたならば、その後OKボタンD210を押すと、実行用規則テーブルD162の内容が実行用表示規則テーブル72にコピーされると共に、次回からは更新された表示規則に従って表記変換が実行されることになる。
【0026】
【発明の効果】
以上に説明したようにこの発明では、ローマ字入力された文字列を日本語と英語/アルファベットとに区別することなく、同一の文字列として扱い文書処理するので、入力文字列を日本語と他の言語とに区別する必要が一切ない。従って、和文入力モードと英文入力モードのモード切替操作等は一切必要とせず、ローマ字入力で文章のキー入力が可能である。また、英大文字入力キー、英小文字入力キーを操作することもなく、通常の英文キー入力の感覚で日本語とローマ字/英語等の単語を同時にキー入力することができる。更に、予め所望の英大文字/英小文字表記形式をデータに登録しておくことにより、第2番目の単語は全て英大文字で、それ以外の単語は先頭が英大文字、それ以外は英小文字の表記等をさせることも一回の表記変更キー操作で実現することができる。また、更に、単語の表記の順番を表記規則により変更することも可能である。また、上述の表記変更のために日本語辞書や英単語辞書を用意する必要は一切ない。
【図面の簡単な説明】
【図1】この発明のハードウエア構成の一実施例を示すブロック図である。
【図2】この発明のソフトウエアの機能構成の一実施例を示すブロック図である。
【図3】この発明で使用する区切り信号辞書及び表記変換規則辞書のデータ構造の一例を示す図である。
【図4】この発明で使用する実用用表記規則テーブルの一例を示す図である。
【図5】この発明のローマ字漢字変換操作の全体のフローチャートを示す図である。
【図6】この発明の表記変換実行過程を説明するためのフローチャートである。
【図7】この発明の単語表記変換過程の一例を示す図である。
【図8】この発明の単語表記変換過程の別の一例を示す図である。
【図9】この発明の環境設定メニューの一例を示す図である。
【図10】この発明の区切り信号の設定メニューの一例を示す図である。
【図11】この発明の実行用規則テーブルのカスタマイズ過程を説明するための図である。
【符号の説明】
2 MPU
4 キーボード
6 表示手段
12 記憶手段
14a〜14x 辞書
20 RAM
22 かな漢字変換部
30 入出力制御部
24,24a,…,24x 変換エンジン部
36 読み文字列バッファ
38 表示文字列バッファ
50 環境設定部
60 表記変換部
62 判定処理部
70 格納部
72 実行用表記規則テーブル
74 表記変換規則辞書
76 区切り記号辞書
78 文字サイズフラグ[0001]
[Industrial application fields]
This invention is a Japanese document processing apparatus, in which Roman character input character strings can be easily switched to Japanese display or Roman character display, and document creation in multiple languages can be performed while switching between Japanese document creation operation and English document creation operation with one touch. The present invention relates to a document processing apparatus that can be easily configured.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, in Japanese word processing devices such as word processors, personal computers, workstations, and the like, Japanese input methods using Romaji-Kanji conversion or Kana-Kanji conversion have been widely used. However, today, the internationalization of information is so advanced that not only Japanese words and sentences but also foreign words or sentences such as English are not displayed in katakana in Japanese documents. It is not rare to use the original language spelling or romanization spelling mixed in Japanese sentences. In particular, computer-related technical terms, addresses, names, etc. are often written in Japanese texts in multiple languages in manuals, contracts, academic journals, etc. as internationalization progresses.
[0003]
In order to cope with such a situation, for example, Japanese Patent Laid-Open No. 1-111262 discloses a document creation device that automatically converts the first letter of each English word included in a designated character string to upper case and the other letters to lower case. It has been introduced. In addition, Kana-Kanji characters that can be converted into a mixed character string of Kana-Kanji character strings and foreign language character strings without requiring any special operation in Roman character input mode. A conversion device is also introduced in Japanese Patent Laid-Open No. 4-75162. Furthermore, Japanese Patent Publication No. 5-85055 discloses a low-kanji / kanji conversion device that can input Japanese characters with less burden on the user by utilizing the characteristics of adjacent relations of characters appearing in the input character string. Has been.
[0004]
[Problems to be solved by the invention]
However, especially in Japanese documents created in consideration of information exchange with foreigners, the same Romaji input key operation is performed in a text document, and on one line, the Romaji input character string is converted to Japanese. There is a situation in which it is desired to store the character string as a Roman character string (in this invention, an English character string including a consonant character, an English symbol, a number, etc., hereinafter referred to as a Roman character string). ing. Such operations occur frequently especially when creating addresses, names, document titles, etc., but Roman key input operations generally require Japanese and Roman characters to be used when entering Japanese names, addresses, etc. Therefore, in the technique described in Japanese Patent Laid-Open No. 4-75162 and the technique described in Japanese Patent Publication No. 5-85055, the conversion result depends on the automatic judgment of the apparatus, and the Japanese language There was a problem that it could not be converted into notation or Roman notation. In addition, since the technique described in Japanese Patent Application Laid-Open No. 11-111262 is also designed to first convert whether the target is an alphabetic character and then convert it to uppercase, lowercase conversion or Japanese, etc., When creating a sentence in which addresses and the like are written side by side with Japanese notation and Roman notation, there is a problem that the key input operation is very troublesome.
[0005]
The present invention has been made for the above-mentioned circumstances, and an object of the present invention is to use a Roman character input Japanese processing device to process a Roman character input character string in Japanese notation or English notation / Roman character notation with a simple operation. It is an object of the present invention to provide a document processing apparatus that can easily switch between uppercase / lowercase notation of each character and create a desired upper / lowercase character string. In the present invention, the word includes a character string composed of one letter of English sound.
[0006]
[Means for Solving the Problems]
The present invention relates to a document processing apparatus for converting a character string input or designated from an application program into a character string mixed with kana-kanji characters via an input / output control unit. The object of the present invention is to the input / output control unit. In addition to the kana-kanji conversion unit, a notation conversion unit that sequentially converts the reading character string into a plurality of Roman character strings having different notation formats according to a plurality of conversion rules registered in advance is provided, and the input / output is performed in response to a notation conversion command. This is achieved by converting the reading character string into a Roman character string in a desired notation format and passing it to the application program in the control unit.
[0007]
[Action]
In the present invention, the character string input in Roman characters is treated as the same character string without distinguishing between Japanese and English / alphabet, so the input character string must be distinguished between Japanese and another language. There is no. Accordingly, it is not necessary to perform any mode switching operation between the Japanese sentence input mode and the English sentence input mode, and a sentence key can be input. In addition, it is possible to simultaneously input words such as Japanese and Roman characters / English in the sense of normal English key input without operating the English uppercase input key and English lowercase input key. In addition, by registering the desired uppercase / lowercase notation format in the data in advance, the second word is all uppercase, the words of the other clauses start with uppercase letters, and the other words are lowercase letters. It is also possible to realize the notation of etc. with one notation change key operation. Moreover, there is no need to prepare a Japanese dictionary or an English word dictionary for the above-described notation change.
[0008]
【Example】
Preferred embodiments of the present invention will be described below with reference to the accompanying drawings.
[0009]
FIG. 1 is a block diagram showing a schematic configuration of a document processing apparatus in the present embodiment. In the figure, various processes of the document processing apparatus are executed by the
[0010]
On the other hand, the storage means 12 such as a hard disk, an optical disk, a flash memory, and the like include a kana-kanji conversion dictionary 14a, a mathematical
[0011]
FIG. 2 is a more detailed block diagram showing the relationship between the Kana-Kanji conversion unit 22 (the input /
[0012]
When the conversion command is a notation conversion command, the
[0013]
FIG. 3A shows an example of the data structure of the
[0014]
The operation will be described below with such a configuration.
[0015]
First, it is assumed that the document processing apparatus of FIGS. 1 and 2 is set to the Roman character input mode. In this state, for example, when the name “Natsume Soseki” is to be written in two levels in kanji and roman letters, the user (operator) operates the
[0016]
Next, when converting “Natsume Soseki” into Roman characters while maintaining the Roman character input mode of the Kana-Kanji conversion program, the user inputs the English character string “name souseki” as shown in FIG. To input (step S2 in FIG. 5). At this time, the above-described input reading character string is converted into hiragana and is normally displayed in yellow on the display means 6 as “Natsume Soseki” as shown in FIG. Next, when the display conversion command key of the function f9 is pressed (
[0017]
Thus, when the notation conversion rule used this time (the
[0018]
However, since this conversion result does not match the desired notation format, when the user presses the function f9 key for the second time, the
[0019]
However, since this conversion result also does not match the target display format, when the user presses the function f9 key for the third time, the
[0020]
Thus, since a desired character string has been obtained, when the return key is pressed, the character string “Souseki NATUME” is transferred from the input /
[0021]
FIG. 8 shows another effect of the present invention, and shows an example of converting the Roman character “McDonald's” while maintaining the Roman character input mode of the Kana-Kanji conversion program. In this case, when a key is input from the
[0022]
In the notation conversion rule shown in FIG. 3B described above, each rule is shown as a rule in which the designation of the display size is also variable. However, it is also possible for those skilled in the art to adopt a rule without designation of the display size. Is clear. It is also apparent to those skilled in the art that English uppercase letters and lowercase letters in the rules include English symbols and numbers.
[0023]
Next, the operation of the
[0024]
When the button D122 is selected, a delimiter setting menu D130 shown in FIG. 10 further appears on the screen of the display means 6, so that the button switches D132, D134,. turn on. Thereafter, when an OK button D150 is clicked, these symbols are automatically registered in the
[0025]
On the other hand, when the button D124 is selected, an execution notation rule setting menu D160 shown in FIG. 11 appears on the screen of the display means 6. Therefore, referring to the rule display column D180, the desired rule is set to the execution rule table D162. Are registered by an insertion or registration command as needed. In the example of FIG. 11, first, the pull-up command D182 or pull-down command D184 in the rule display field D180 is operated to check the conversion processing of each notation conversion rule. The provided rule selection buttons D190, D192, D194,... Are appropriately selected. In the example of FIG. 11,
[0026]
【The invention's effect】
As described above, according to the present invention, a character string input in Roman characters is treated as the same character string without distinguishing between Japanese and English / alphabet, and the document is processed. There is no need to distinguish between languages. Therefore, it is not necessary to perform any mode switching operation between the Japanese sentence input mode and the English sentence input mode, and the key input of the sentence can be performed by inputting Roman characters. In addition, it is possible to simultaneously input words such as Japanese and Roman characters / English in the sense of normal English key input without operating the English uppercase input key and English lowercase input key. Furthermore, by registering the desired uppercase / lowercase notation format in the data in advance, the second word is all uppercase, the other words are uppercase first, and the other words are lowercase. Etc. can also be realized by a single notation change key operation. Furthermore, it is possible to change the notation order of words according to the notation rules. Moreover, there is no need to prepare a Japanese dictionary or an English word dictionary for the above-described notation change.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment of a hardware configuration of the present invention.
FIG. 2 is a block diagram showing an example of a functional configuration of software according to the present invention.
FIG. 3 is a diagram showing an example of a data structure of a delimiter signal dictionary and a notation conversion rule dictionary used in the present invention.
FIG. 4 is a diagram showing an example of a practical notation rule table used in the present invention.
FIG. 5 is a diagram showing an overall flowchart of a Roman character-Kanji conversion operation according to the present invention;
FIG. 6 is a flowchart for explaining a notation conversion execution process according to the present invention;
FIG. 7 is a diagram showing an example of a word notation conversion process of the present invention.
FIG. 8 is a diagram showing another example of the word notation conversion process of the present invention.
FIG. 9 is a diagram showing an example of an environment setting menu according to the present invention.
FIG. 10 is a diagram showing an example of a separator signal setting menu according to the present invention.
FIG. 11 is a diagram for explaining a process for customizing an execution rule table according to the present invention.
[Explanation of symbols]
2 MPU
4
22 Kana-
Claims (6)
前記入出力制御部にかな漢字変換部とは別に前記読み文字列を予め登録した複数のローマ字変換規則に従って順次出力形式の異なる複数のローマ字文字列に変換する表記変換部を設け、
前記ローマ字変換規則は、変換後の単語位置を入力時の単語位置と変更した規則を含み、
表記変換指令に応答して前記入出力制御部内で前記読み文字列を所望の出力形式のローマ字文字列に変換し、さらなる前記変換指令に応答して変換後の連続する2つの単語の位置を入力時の単語の位置と入れ替えるように変更し、前記アプリケーションプログラムに渡すようにしたことを特徴とする文字処理装置。In a document processing apparatus that converts a read character string input or designated from an application program into a character string mixed with kana characters via an input / output control unit,
In addition to the Kana-Kanji conversion unit, the input / output control unit includes a notation conversion unit that sequentially converts the reading character string into a plurality of Roman character strings having different output formats according to a plurality of Roman character conversion rules registered in advance.
The Romaji conversion rules include a rule in which the converted word position is changed to the word position at the time of input
In response to a notation conversion command, the input / output control unit converts the reading character string into a Roman character string in a desired output format, and inputs the position of two consecutive words after conversion in response to the further conversion command. A character processing device that is changed so as to be replaced with the position of a word at the time and is passed to the application program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26306394A JP3612351B2 (en) | 1994-10-03 | 1994-10-03 | Document processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26306394A JP3612351B2 (en) | 1994-10-03 | 1994-10-03 | Document processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH08106458A JPH08106458A (en) | 1996-04-23 |
JP3612351B2 true JP3612351B2 (en) | 2005-01-19 |
Family
ID=17384337
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP26306394A Expired - Lifetime JP3612351B2 (en) | 1994-10-03 | 1994-10-03 | Document processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3612351B2 (en) |
-
1994
- 1994-10-03 JP JP26306394A patent/JP3612351B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH08106458A (en) | 1996-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101791929B1 (en) | Integrated keyboard for inputting multiple languages | |
JPS6361317A (en) | Character code generating device | |
JP3612351B2 (en) | Document processing device | |
JP3103179B2 (en) | Document creation device and document creation method | |
JP2006012188A (en) | Document processing method and processor | |
JP4325226B2 (en) | Information display control device and program | |
JPS61100860A (en) | Selective inputting system | |
JPH08106461A (en) | Method and device for document processing | |
JPH10198664A (en) | Japanese language input system and medium for recorded with japanese language input program | |
JP5278377B2 (en) | Electronic device and program | |
JPH0310368A (en) | Attended data display processing system | |
JP4811770B2 (en) | Extended kanji output method | |
JPH03132866A (en) | Document generating device | |
JP2509554B2 (en) | Character processing method | |
JP2878461B2 (en) | Document input device | |
JPS63128424A (en) | Data processing system | |
JPS63305455A (en) | Character processor | |
JPS63286965A (en) | Document generation device | |
JP2004038869A (en) | Sentence display converter | |
JPH05324241A (en) | Display method for data processor | |
JPS59208635A (en) | Document formation device | |
JPH08335217A (en) | Reading converting method and document preparation device | |
JPH03192461A (en) | Character information processor | |
JPH04130959A (en) | Character conversion system for document processor | |
JPH04169970A (en) | Electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20041005 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20041025 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101029 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131029 Year of fee payment: 9 |
|
EXPY | Cancellation because of completion of term |