JPH0216674A - Word processor - Google Patents

Word processor

Info

Publication number
JPH0216674A
JPH0216674A JP63168174A JP16817488A JPH0216674A JP H0216674 A JPH0216674 A JP H0216674A JP 63168174 A JP63168174 A JP 63168174A JP 16817488 A JP16817488 A JP 16817488A JP H0216674 A JPH0216674 A JP H0216674A
Authority
JP
Japan
Prior art keywords
day
week
kana
japanese
year
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.)
Pending
Application number
JP63168174A
Other languages
Japanese (ja)
Inventor
Tomoki Shudo
首藤 友喜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP63168174A priority Critical patent/JPH0216674A/en
Publication of JPH0216674A publication Critical patent/JPH0216674A/en
Pending legal-status Critical Current

Links

Landscapes

  • Calculators And Similar Devices (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To eliminate the necessity of the search of the day of the week and to attain smooth input operation by adding the day of the week information to the date information reckoned in the Japanese name of an era inputted to word processor automatically. CONSTITUTION:A character column, 'Showa-62-nen 8-gatsu 11-nichi' (August 11, 1987: Japanese syllabary) is inputted form an input means 1, for instance. A control part 3 transmits the character column to a KANA (Japanese syllabary)/KANJI (Chinese character) converting means 4 and designates KANA/KANJI converting. The means 4 converts the character column into a KANA/KANJI mixed sentence and obtains 'Showa-62-nen 8-gatsu 11-nichi' (Chinese characte). The control part 3 transmits a result to a year converting means 5 and designates it to convert Japanese year reckon ing into dominical year reckoning. The means 5 retrieves a Japanese year/dominical year corresponding dictionary 5A and obtains dominical reckoning data '1987-nen' (Chinese character). The control part 3 transmits a result to a day-of-week enumerating means 6 and designates it to enumerate the day of the week of the day, and it enumerates that the day is 'ka' (Tuesday) (Chinese character). The control part 3 designates to a day-of-week adding means 7, 'ka' (Tuesday) (Chinese character) is added to the result obtained with the means 6 and 'Showa-62-nen 8-gatsu 11-nichi (ka)' {August 11 (tuesday), 1987} (Chinese character) is obtained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、日本語ワードプロセッサに利用する。[Detailed description of the invention] [Industrial application field] The present invention is utilized in a Japanese word processor.

〔概要〕〔overview〕

本発明は、ワードプロセッサにおいて、日本年号で起算
された日付情報のかな漢字変換結果を、その年次情報を
西暦起算のものに換算し、この換算結果に暦を参照して
対応する曜日を算出しこれをかな漢字変換結果に付加し
て表示することにより、 日付情報に自動的に曜日を付加できるようにしたもので
ある。
The present invention uses a word processor to convert the kana-kanji conversion result of date information starting from the Japanese era into the year information starting from the Western calendar, and calculates the corresponding day of the week by referring to the calendar for this conversion result. By adding this to the kana-kanji conversion result and displaying it, it is possible to automatically add the day of the week to date information.

〔従来の技術〕[Conventional technology]

一般にワードプロセッサにおいては、日本年号で起算さ
れた日付情報例えば「昭和62年8月11日(火)」を
入力する場合、「しようわ62ねん8がつ11日(か)
」のように入力し、かな漢字変換により所望の「昭和6
2年8月11日(火)」を得ている。この場合、原稿に
曜日の表示がないときには、操作者がこれを調査して入
力していた。
Generally, in a word processor, when inputting date information starting from the Japanese era, such as "Tuesday, August 11, 1986,"
” and then convert the kana-kanji to the desired “Showa 6
August 11, 2015 (Tuesday)”. In this case, when the day of the week is not displayed on the manuscript, the operator has to research and input it.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、これには時間がかかり、また調査が人為的に行
われるので錯誤がおこりやすい。
However, this process is time-consuming and is prone to errors as the investigation is conducted manually.

本発明は、この欠点を解決して、日本年号で起算された
日付情報に曜日情報を自動的に付加することのできるワ
ードプロセッサを提供することを目的とする。
An object of the present invention is to solve this drawback and provide a word processor that can automatically add day of the week information to date information starting from the Japanese era.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、入力手段と、表示手段と、かな漢字変換手段
を含む制御部とを備えたワードプロセッサにおいて、 日付に曜日を対応させた暦を内蔵する曜日算出手段と、
西暦と日本年号との対応辞書とを備え、制御部は、入力
手段、より入力されかな漢字変換手段で変換された日付
情報を西暦または日本年号に変換する手段と、その日付
情報に対して曜日算出手段を参照して、表示手段に曜日
を付加してその日付を表示する手段を含むことを特徴と
する。
The present invention provides a word processor equipped with an input means, a display means, and a control unit including a kana-kanji conversion means, which includes a day-of-the-week calculation means having a built-in calendar in which days of the week correspond to dates;
The control unit includes a dictionary corresponding to the Western calendar and the Japanese era, and the control unit includes an input means, a means for converting date information inputted by the kana-kanji conversion means into the Western calendar or the Japanese era, and a means for converting the date information into the Western calendar or the Japanese era. It is characterized by including means for adding the day of the week to the display means and displaying the date by referring to the day of the week calculation means.

〔作用〕[Effect]

日本では、太陽暦の採用は明治6年で、曜日の付加もこ
れ以降であるので、日本年号で曜日情報が付加されるの
は、明治、大正、昭和の3つになる。
In Japan, the solar calendar was adopted in the 6th year of the Meiji era, and the days of the week were added after that, so the days of the week information were added to the Japanese era name in the Meiji, Taisho, and Showa eras.

この対応辞書は簡単にできるのでその換算は容易にでき
る。西暦起算に換算された年月日に日付情報は公知手段
で付加できる。
Since this corresponding dictionary is easy to create, the conversion can be done easily. Date information can be added to the year, month, and day converted from the Western calendar using known means.

〔実施例〕〔Example〕

つぎに、本発明の実施例について図面を参照して説明す
る。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例のブロック構成図である。図
において、入力手段1は日付や文章を入力するもので、
例えば日本工業規格によるキーボードである。表示手段
2は、入力手段1より入力されたかな文字列やかな漢字
変換手段4で変換された結果を操作者に表示する。これ
は、陰極線管または液晶板などで実現される。制御部3
により制御されるかな漢字変換手段4は、入力手段lよ
り入力されたかな文字列を漢字かな混じり文に変換する
もので、一般のワードプロセッサにおいて実現されてい
る公知のものである。
FIG. 1 is a block diagram of an embodiment of the present invention. In the figure, input means 1 is for inputting dates and sentences;
An example is a keyboard based on Japanese Industrial Standards. The display means 2 displays to the operator the result of conversion by the kana/kanji character string inputted from the input means 1 by the kana/kanji conversion means 4. This is realized with a cathode ray tube or a liquid crystal panel. Control part 3
The kana-kanji conversion means 4, which is controlled by the input means 1, converts a kana character string inputted from the input means 1 into a sentence containing kanji and kana, and is a known type that is implemented in a general word processor.

ここに本発明の特徴とするところは、入力手段1より入
力されかな漢字変換手段4で変換された日本年号起算の
日付情報を制御部3により入力されその対応する年次情
報を西暦起算のものに換算する年次換算手段5と、この
年次換算手段5が送出する西暦起算の日付情報を制御部
3により入力されその対応する曜日を算出する曜日算出
手段6と、この曜日算出手段6の算出結果をかな漢字変
換手段4の変換結果に付加する曜日付加手段7とを制御
部3が備えたことにある。年次換算手段5は、日本年号
・西暦対応辞書5Aを参照しながら「昭和62年8月1
1日」のような日本年号起算であられされた日付情報を
r1987年8月11日」のような西暦起算のものに換
算するものである。
Here, the feature of the present invention is that the date information starting from the Japanese era, which is inputted from the input means 1 and converted by the kana-kanji conversion means 4, is inputted by the control unit 3, and the corresponding year information is converted from the date starting from the Western calendar. an annual conversion means 5 for converting into , a day of the week calculation means 6 for calculating the corresponding day of the week when the control unit 3 inputs the date information from the Western calendar sent out by the annual conversion means 5; This is because the control section 3 includes a day of the week addition means 7 that adds the calculation result to the conversion result of the kana-kanji conversion means 4. The annual conversion means 5 is calculated by referring to the dictionary 5A that corresponds to Japanese eras and Western calendars,
This function converts date information based on the Japanese era, such as "August 11, 1987," to date information based on the Western calendar, such as "August 11, 1987."

この日本年号・西暦対応辞書5Aは、第2図にその構成
の一部を示すように日本年号データ部51と西暦データ
部52で構成され、例えば「明治」はr1868」、「
大正」はr1912Jのように対応づけられており、日
本年号起算データを見出しとして対応する西暦起算デー
タを得るためのものである。
This Japanese era/Western calendar compatible dictionary 5A is composed of a Japanese era data section 51 and a Western calendar data section 52, as shown in part in FIG.
"Taisho" is associated as r1912J, and is used to obtain the corresponding Western calendar data using the Japanese era data as a heading.

曜日算出手段6は、西暦起算された日付情報、例えばr
1987年8月11日」からこの日が何曜日であるかを
算出するものであり、一般のディジタル時計などにおい
て実現されている公知のものである。
The day of the week calculating means 6 calculates date information calculated from the Western calendar, for example r
This method calculates the day of the week on August 11, 1987, and is a well-known method implemented in general digital clocks.

曜日付加手段7は、かな漢字変換手段4で得られる日付
「昭和62年8月11日」に対し、曜日算出手段7で得
られる曜日情報「(火)」を付加し、結果として「昭和
62年8月11日(火)」を得るものである。
The day of the week addition means 7 adds the day of the week information "(Tuesday)" obtained by the day of the week calculation means 7 to the date "August 11, 1988" obtained by the kana-kanji conversion means 4, and as a result, "August 11, 1988" is added. August 11th (Tuesday)''.

制御部3は、全体の動作を制御するものである。The control unit 3 controls the overall operation.

本実施例の動作を、第3図■に示す「昭和62年8月1
1日(火)」を入力したい例で説明する。まず入力手段
1より、第3図■に示す文字列「しょうわ62ねん8が
つ11にち」が入力される。制御部3はこの文字列をか
な漢字変換手段4に送り、かな漢字変換を行うことを指
示する。かな漢字変換手段4は送られた文字列を、仮名
漢字混じり文に変換し、第3図■「昭和62年8月11
日」が得られる。
The operation of this embodiment is shown in FIG.
This will be explained using an example where you want to input "1st (Tuesday)". First, from the input means 1, the character string "62 years old, 8 years old, 11 days" shown in FIG. 3 is input. The control unit 3 sends this character string to the kana-kanji conversion means 4 and instructs it to perform kana-kanji conversion. The kana-kanji conversion means 4 converts the sent character string into a sentence containing kana and kanji, and converts the sent character string into a sentence containing kana and kanji.
"day" can be obtained.

つぎに制御部3はこの結果を年次換算手段5に送り日本
年号起算を西暦起算に換算するよう指示する。
Next, the control unit 3 sends this result to the annual conversion means 5 and instructs it to convert the Japanese era to the Western calendar.

年次換算手段5は、第3図■「昭和62年8月11日」
を受けると、日本年号・西暦対応辞書5Aの日本年号デ
ータ部51を検索し対応する西暦データ部52の西暦起
算データを得る。この場合、日本年号「昭和」と西暦デ
ータ部52のデータを順次比較していき、一致した日本
年号に対応する西暦起算データとしてr1926Jを得
る。つぎに「昭和62年」の「62」を用いて1926
+62−1 =1987より、日本年号起算「昭和62
年」に対応する西暦起算r1987年」が得られる。結
果として第3図■を換算して第3図■が得られる。
Annual conversion method 5 is shown in Figure 3 ■ "August 11, 1986"
When the search result is received, the Japanese era data section 51 of the Japanese era/Western calendar correspondence dictionary 5A is searched to obtain the Western calendar starting data of the corresponding Western calendar data section 52. In this case, the Japanese era name "Showa" and the data in the western calendar data section 52 are sequentially compared, and r1926J is obtained as the western calendar data corresponding to the matched Japanese era name. Next, use “62” for “Showa 62” to 1926.
+62-1 = 1987, starting from the Japanese era "Showa 62"
The year 1987 corresponding to the year 1987 is obtained. As a result, Figure 3 (■) is obtained by converting Figure 3 (■).

つぎに制御部3はこの結果を曜日算出手段6に送り、こ
の日の曜日の算出を指示する。曜日算出手段6は第3図
■r1987年8月11日」をもとにしてこの日が火曜
日であることを算出する。この結果第3図■に示す「(
火)」が得られる。
Next, the control unit 3 sends this result to the day of the week calculation means 6 and instructs the calculation of the day of the week for this day. The day of the week calculating means 6 calculates that this day is Tuesday based on "August 11, 1987" in FIG. As a result, “(
fire)” is obtained.

つぎに制御部3は、曜日付加手段7に対し、かな漢字変
換手段4で得られた結果、第3図■「昭和62年8月1
1日」に、曜日算出手段6で得られた結果である第3図
■に示す「(火)」を付加することを指示する。曜日付
加手段7は上記2つの結果を結合し、所望の第3図■「
昭和62年8月11日(火)」が得られる。
Next, the control unit 3 sends the day of the week addition means 7 the result obtained by the kana-kanji conversion means 4 as shown in FIG.
It is instructed to add "(Tuesday)" shown in FIG. The day of the week adding means 7 combines the above two results to create the desired figure 3.
"Tuesday, August 11, 1985" is obtained.

以上の説明により日本年号で起算された日付情報を入力
すると、自動的に曜日が付加される。
As explained above, when date information is entered based on the Japanese era, the day of the week is automatically added.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、ワードプロセッサ
に入力された日本年号で起算された日付情報に自動的に
曜日情報を付加することにより、曜日の調査の必要がな
く円滑な入力操作ができる効果がある。
As explained above, according to the present invention, day of the week information is automatically added to date information inputted into a word processor that is calculated based on the Japanese era name, thereby making it possible to perform smooth input operations without the need to check the day of the week. effective.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明一実施例のブロック構成図。 第2図は日本年号・西暦対応辞書の概念図。 第3図は上記実施例の処理説明図。 ■・・・入力手段、2・・・表示手段、3・・・制御部
、4・・・かな漢字変換手段、5・・・年次換算手段、
5A・・・日本年号・西暦対応辞書、6・・・曜日算出
手段、7・・・曜日付加手段、51・・・日本年号デー
タ部、52・・・西暦データ部。 特許出願人 日本電気株式会社、−9 代理人  弁理士 井 出 直 孝 実施例 ブロック構成図 第1図
FIG. 1 is a block diagram of an embodiment of the present invention. Figure 2 is a conceptual diagram of a dictionary compatible with Japanese eras and Western calendars. FIG. 3 is a process explanatory diagram of the above embodiment. ■...Input means, 2...Display means, 3...Control unit, 4...Kana-Kanji conversion means, 5...Annual conversion means,
5A...Japanese era/Western calendar compatible dictionary, 6...Day of the week calculation means, 7...Day of the week addition means, 51...Japanese era data section, 52... Western calendar data section. Patent applicant NEC Corporation, -9 Agent Patent attorney Nao Takashi Ide Embodiment Block configuration diagram Figure 1

Claims (1)

【特許請求の範囲】 1、入力手段と、表示手段と、かな漢字変換手段を含む
制御部とを備えたワードプロセッサにおいて、 日付に曜日を対応させた暦を内蔵する曜日算出手段と、
西暦と日本年号との対応辞書とを備え、上記制御部は、
上記入力手段より入力され上記かな漢字変換手段で変換
された日付情報を西暦または日本年号に変換する手段と
、その日付情報に対して上記曜日算出手段を参照して、
上記表示手段に曜日を付加してその日付を表示する手段
を含む ことを特徴とするワードプロセッサ。
[Scope of Claims] 1. In a word processor equipped with an input means, a display means, and a control section including a kana-kanji conversion means, a day-of-the-week calculation means having a built-in calendar in which days of the week correspond to dates;
The control unit is equipped with a dictionary that corresponds to the Western calendar and Japanese era names, and the control unit includes:
means for converting the date information inputted from the input means and converted by the kana-kanji conversion means into the Western calendar or Japanese era, and referring to the day of the week calculation means for the date information;
A word processor comprising means for adding a day of the week to the display means and displaying the date.
JP63168174A 1988-07-05 1988-07-05 Word processor Pending JPH0216674A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63168174A JPH0216674A (en) 1988-07-05 1988-07-05 Word processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63168174A JPH0216674A (en) 1988-07-05 1988-07-05 Word processor

Publications (1)

Publication Number Publication Date
JPH0216674A true JPH0216674A (en) 1990-01-19

Family

ID=15863168

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63168174A Pending JPH0216674A (en) 1988-07-05 1988-07-05 Word processor

Country Status (1)

Country Link
JP (1) JPH0216674A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008290716A (en) * 2001-12-06 2008-12-04 Johnson Controls Gmbh Trim panel equipped with swingable display screen

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008290716A (en) * 2001-12-06 2008-12-04 Johnson Controls Gmbh Trim panel equipped with swingable display screen

Similar Documents

Publication Publication Date Title
JPH0216674A (en) Word processor
JPH1097530A (en) Document processor with date converting method and date converting function, and recording medium where document processing program is recorded
JPS59140544A (en) Correcting system of erroneous conversion
JPH0216673A (en) Word processor
JPS6175468A (en) Place name dictionary generating method in japanese word processor
JPS60247770A (en) Character processor
JPS59197923A (en) Documentation device
JPS60150166A (en) Japanese word input system
JPS6125268A (en) Kana/kanji converter
JP3035061B2 (en) Kana-Kanji conversion device with schedule function
JPH0524998Y2 (en)
JPH02289080A (en) Sentence generating device
JPH02181223A (en) Date input system
JPH03167658A (en) Kana/kanji conversion system
JPS6329877A (en) Japanese sentence input device
JPH0652169A (en) Sentence preparation device
JPH0210464A (en) System for conversion between christian era and name or era
JPH08212212A (en) Documentation device and candidate output control method
JPS62272354A (en) Input device for japanese sentence
JPS61175854A (en) Kana to kanji converting device
JPS59176820A (en) Japanese word processor
JPH03251948A (en) Document processor
JPS61260353A (en) Document processing system
JPH04205550A (en) Word processor
JPH04205546A (en) Word processor