JP2005092229A5 - - Google Patents

Download PDF

Info

Publication number
JP2005092229A5
JP2005092229A5 JP2004309854A JP2004309854A JP2005092229A5 JP 2005092229 A5 JP2005092229 A5 JP 2005092229A5 JP 2004309854 A JP2004309854 A JP 2004309854A JP 2004309854 A JP2004309854 A JP 2004309854A JP 2005092229 A5 JP2005092229 A5 JP 2005092229A5
Authority
JP
Japan
Prior art keywords
html
word
answer
tag
candidate
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.)
Granted
Application number
JP2004309854A
Other languages
Japanese (ja)
Other versions
JP2005092229A (en
JP4205038B2 (en
Filing date
Publication date
Application filed filed Critical
Priority to JP2004309854A priority Critical patent/JP4205038B2/en
Priority claimed from JP2004309854A external-priority patent/JP4205038B2/en
Publication of JP2005092229A publication Critical patent/JP2005092229A/en
Publication of JP2005092229A5 publication Critical patent/JP2005092229A5/ja
Application granted granted Critical
Publication of JP4205038B2 publication Critical patent/JP4205038B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Claims (14)

各種の情報を表示し得る表示手段(6)と、文字、数字等を入力可能な入力手段(7)と、内部メモリと、穴埋めにしたい単語を複数記憶している熟語ファイル(60’)と、上記表示手段に表示される文字の初期のフォントサイズを記憶したフォント情報ファイル(400)と、各種のフォントサイズと各フォントサイズに対応するフォント高さデータ(401)とを有し、
1文字とその文字の直前にあるHTMLタグを記憶するHTMLタグ付オブジェクトを設け、上記表示手段の画面上に表示されたHTML文章を読み取って、該文章の各文字を上記オブジェクトに1文字毎に記憶すると共に、記憶した1文字の直前にHTMLタグがある場合は該タグを上記記憶した1文字に関連して上記オブジェクトに記憶することにより、上記HTML文章を上記HTMLタグ付オブジェクトが連なった構造のHTML文字列オブジェクト(31)として上記内部メモリに記憶し、その後上記HTML文字列オブジェクト(31)からHTMLタグを取り除き、その文字列をHTML文字列オブジェクト(32)として上記内部メモリに記憶する手段(301)と、
上記熟語ファイル(60’)を参照し、上記HTML文字列オブジェクトの中に上記熟語ファイル(60’) 内の単語と一致する単語があるか否かを判断し、一致する単語がある場合は、当該単語を一つの文節として区切ると共に、該HTML文字列オブジェクト(32)のその他の文字列を文節毎に分解することにより、上記文字列を文節毎に複数の単語に分解した形で記憶したHTML文字列オブジェクト(33)を生成し上記内部メモリに記憶する手段(302)と、
上記内部メモリ内の上記HTML文字列オブジェクト(33)から分解された上記単語を読み出して各単語を上記表示手段に表示すると共に、出題率入力欄(61)と表示された上記単語毎に出題優先度数値入力欄(64)とを表示して出題条件設定画面(101)を上記画面上に作成する手段(303、304)と、
上記入力手段(7)から上記単語毎に入力された出題優先度数値に基づいて、上記各単語と出題優先度数値を対応付けた出題優先度数値初期値テーブル(41)を作成し上記内部メモリに記憶する手段(305)と、
上記HTML文字列オブジェクト(33)の分解された各単語の前後に解答欄候補ID開始タグ<Zxxx>と終了タグ</Zxxx>(但し「xxx」は最初の単語から付される通し番号)を付して行くことでこれら解答欄候補IDタグで囲まれた単語を解答欄候補とし、これら解答欄候補としての各単語が上記解答欄候補ID開始タグと終了タグで囲まれた状態のHTML文字列オブジェクト(34)を作成して上記内部メモリに記憶する手段(306)と、
上記出題優先度数値初期値テーブル(41)と上記HTML文字列オブジェクト(34)を参照し、上記初期値テーブル(41)に記憶された単語を囲んでいる解答欄候補IDタグの解答欄候補ID「Zxxx」とその単語の出題優先度数値を読み出して、各解答欄候補IDとそれに対応する出題優先度数値とを対応付けた解答欄候補群属性情報テーブル(42)を作成し上記内部メモリに記憶する手段(307)と、
上記HTML文字列オブジェクト(31)から各文字に対応するHTMLタグを読み出して、上記HTML文字列オブジェクト(34)の上記解答欄候補ID開始タグと終了タグ間において、上記読み出したHTMLタグが関連付けられている文字の直前に該HTMLタグを読み込んで、上記解答欄候補ID開始タグと終了タグ間に上記HTMLタグを有するHTML文字列オブジェクト(36)を作成して上記内部メモリに記憶する手段(306)と、
上記HTML文字列オブジェクト(36)及び上記解答欄候補群属性情報テーブル(42)を参照し、解答欄候補IDタグの解答欄候補ID、そのIDに対応する解答欄候補となる単語及び単語に対応する出題優先度数値からなる解答欄候補一覧テーブル(43a)を作成し、上記入力手段から入力された上記出題率に基づいて、上記解答欄候補一覧テーブル(43a)から上記単語を上記出題優先度数値の優先順位の高い方から上記出題率によって定められる数だけ選択すると共に、選択されなかった単語を上記一覧テーブルから削除して最終的な解答欄候補一覧テーブル(43e)を作成し上記内部メモリに記憶する手段(308)と、
解答欄候補として選択されなかった下位の単語が存在する場合は、その単語に対応する解答欄候補ID開始タグと終了タグを上記HTML文字列オブジェクト(36)から削除し、かつ該HTML文字列オブジェクト(36)において解答欄候補ID開始タグと終了タグによって囲まれているHTMLタグを上記解答欄候補ID開始タグの前に追い出してHTML文字列オブジェクト(38)を作成して上記内部メモリ記憶する手段(306)と、
上記フォント情報ファイル(400)から初期のフォントサイズを読み込み、このフォントサイズを上記画面上に表示された上記HTML文章の文字のデフォルトのフォントサイズであると認識すると共に、上記HTML文字列オブジェクト(38)のHTMLタグを参照し、当該オブジェクト(38)にフォントサイズを特定するHTMLタグがある場合は、当該HTMLタグで特定される単語のフォントサイズをそのHTMLタグに基づいて認識し、かつ上記フォント高さデータ(401)を参照して上記認識したフォントサイズと解答欄候補としての上記単語の文字数に基づいて単語毎の穴埋め解答欄の高さと幅を決定し、上記解答欄候補一覧テーブル(43e)に単語毎に決定した穴埋め解答欄の高さと幅を追加することで解答欄候補一覧テーブル(44)を作成し上記内部メモリに記憶する手段(308)と、
上記HTML文字列オブジェクト(38)のHTMLタグを文頭から順次解析し、該タグが解答欄候補IDタグでなければそのHTMLタグをそのまま追加し、解答欄候補IDタグであればそのIDタグで囲まれている解答欄候補の単語の解答欄の高さと幅を上記解答欄候補一覧テーブル(44)を参照することで認識し、上記認識した高さと幅の穴埋め解答欄を上記画面上に表示されている上記HTML文章の解答欄候補の単語に代えて上記画面上に表示するためのアプレットタグを追加すると共に、その穴埋め解答欄と上記解答欄候補の単語とを対応付けるためのアプレットタグを追加し、かかるHTMLタグ及びアプレットタグの追加動作を上記HTML文字列オブジェクト(38)の最後まで繰り返し行うことにより、上記画面上に表示されているHTML文章のHTMLタグと上記アプレットタグからなる解答欄作成用HTMLファイル(39)を作成し記憶する手段(311)と、
上記解答欄作成用HTMLファイル(39)に基づいて上記解答欄候補の単語に対応する高さと幅の穴埋め解答欄を、上記表示手段の画面上に表示されている上記HTML文章の解答欄候補の単語に代えて当該画面上に表示する手段(312)とからなることを特徴とする穴埋め問題作成装置。
Display means (6) capable of displaying various information, input means (7) capable of inputting characters, numbers, etc., internal memory, idiom file (60 ') storing a plurality of words to be filled A font information file (400) storing an initial font size of characters displayed on the display means, various font sizes, and font height data (401) corresponding to each font size,
An HTML-tagged object that stores one character and the HTML tag immediately preceding the character is provided, the HTML text displayed on the display means screen is read, and each character of the text is read into the object for each character. In addition to storing, if there is an HTML tag immediately before the stored one character, the tag is stored in the object in relation to the stored one character, whereby the HTML text is connected to the HTML tagged object. The HTML character string object (31) is stored in the internal memory, and then the HTML tag is removed from the HTML character string object (31), and the character string is stored in the internal memory as the HTML character string object (32). (301),
Referring to the idiom file (60 ′), it is determined whether or not there is a word that matches the word in the idiom file (60 ′) in the HTML character string object. HTML which memorize | stored the said character string in the form decomposed | disassembled into the several word for every clause by dividing | segmenting the said word into one clause and disassembling the other character string of this HTML character string object (32) for every clause. Means (302) for generating a character string object (33) and storing it in the internal memory;
The word decomposed from the HTML character string object (33) in the internal memory is read and each word is displayed on the display means, and the question priority is given to each word displayed in the question rate input field (61). Means (303, 304) for displaying a frequency value input field (64) and creating a question condition setting screen (101) on the screen;
Based on the question priority numerical value input for each word from the input means (7), a question priority numerical value initial value table (41) in which each word is associated with the question priority numerical value is created, and the internal memory Means for storing in (305),
An answer column candidate ID start tag <Zxxxx> and an end tag </ Zxxx> (where "xxx" is a serial number assigned from the first word) are added before and after each decomposed word of the HTML character string object (33). Then, the word surrounded by these answer field candidate ID tags is used as an answer field candidate, and each word as the answer field candidate is an HTML character string surrounded by the answer field candidate ID start tag and the end tag. Means (306) for creating and storing the object (34) in the internal memory;
Referring to the question priority initial value table (41) and the HTML character string object (34), the answer field candidate ID of the answer field candidate ID tag surrounding the word stored in the initial value table (41) “Zxxx” and the question priority numerical value of the word are read out, and an answer column candidate group attribute information table (42) in which each answer column candidate ID is associated with the corresponding question priority numerical value is created and stored in the internal memory. Means for storing (307);
An HTML tag corresponding to each character is read from the HTML character string object (31), and the read HTML tag is associated between the answer column candidate ID start tag and end tag of the HTML character string object (34). Means (306) for reading the HTML tag immediately before the current character, creating an HTML character string object (36) having the HTML tag between the answer column candidate ID start tag and the end tag, and storing it in the internal memory (306) )When,
Referring to the HTML character string object (36) and the answer field candidate group attribute information table (42), the answer field candidate ID of the answer field candidate ID tag, the word corresponding to the word and the word as the answer field candidate corresponding to the ID An answer column candidate list table (43a) composed of numerical values of the priority of questions to be created is created, and based on the question rate input from the input means, the words are assigned the above question priority from the answer column candidate list table (43a). From the higher numerical priority order, select the number determined by the above question rate and delete the unselected words from the list table to create a final answer column candidate list table (43e) and create the internal memory Means for storing in (308);
If there is a lower word that is not selected as an answer field candidate, the answer field candidate ID start tag and end tag corresponding to the word are deleted from the HTML character string object (36), and the HTML character string object Means for creating an HTML character string object (38) by storing the HTML tag surrounded by the answer field candidate ID start tag and the end tag in (36) before the answer field candidate ID start tag, and storing it in the internal memory (306),
The initial font size is read from the font information file (400), this font size is recognized as the default font size of the characters of the HTML text displayed on the screen, and the HTML character string object (38 ), And if there is an HTML tag that specifies the font size in the object (38), the font size of the word specified by the HTML tag is recognized based on the HTML tag, and the font Based on the recognized font size and the number of characters of the word as the answer field candidate with reference to the height data (401), the height and width of the filled answer field for each word are determined, and the answer field candidate list table (43e) ) By adding the height and width of the filled-in answer field determined for each word to List creates a table (44) means for storing in said internal memory and (308),
The HTML tag of the HTML character string object (38) is sequentially analyzed from the beginning of the sentence, and if the tag is not an answer column candidate ID tag, the HTML tag is added as it is, and if it is an answer column candidate ID tag, it is surrounded by the ID tag. The height and width of the answer column of the answer column candidate word are recognized by referring to the answer column candidate list table (44), and the filled answer column of the recognized height and width is displayed on the screen. An applet tag is added to display on the screen instead of the answer column candidate word of the HTML sentence, and an applet tag is added to associate the hole filling answer column with the answer column candidate word. By repeating this HTML tag and applet tag addition operation until the end of the HTML string object (38), the above-mentioned screen is displayed. And means (311) for creating and storing the indicated and consisting of HTML tags and the applet tag of the HTML document are answer column created for HTML file (39),
Based on the HTML file (39) for creating the answer field, a height and width filled answer field corresponding to the word of the answer field candidate is displayed as the answer field candidate of the HTML text displayed on the screen of the display means. The hole-filling problem creating apparatus characterized by comprising means (312) for displaying on the screen instead of a word.
各種の情報を表示し得る表示手段(6)と、文字、数字等を入力可能な入力手段(7)と、内部メモリと、複数の単語を単語グループ別に分類して複数の単語グループと各単語グループに属する複数の単語とを対応付けて記憶した辞書ファイル(60)と、上記表示手段に表示される文字の初期のフォントサイズを記憶したフォント情報ファイル(400)と、各種のフォントサイズと各フォントサイズに対応するフォント高さデータ(401)とを有し、
1文字とその文字の直前にあるHTMLタグを記憶するHTMLタグ付オブジェクトを設け、上記表示手段の画面上に表示されたHTML文章を読み取って、該文章の各文字を上記オブジェクトに1文字毎に記憶すると共に、記憶した1文字の直前にHTMLタグがある場合は該タグを上記記憶した1文字に関連して上記オブジェクトに記憶することにより、上記HTML文章を上記HTMLタグ付オブジェクトが連なった構造のHTML文字列オブジェクト(31)として上記内部メモリに記憶し、その後上記HTML文字列オブジェクト(31)からHTMLタグを取り除き、その文字列をHTML文字列オブジェクト(32)として上記内部メモリに記憶する手段(301)と、
該HTML文字列オブジェクト(32)の文字列を文節毎に分解して、上記文字列を文節毎に複数の単語に分解した形で記憶したHTML文字列オブジェクト(33)を生成し上記内部メモリに記憶する手段(302)と、
上記辞書ファイル(60)の各単語グループを上記表示手段(6)に表示すると共に、出題率入力欄と表示された上記単語グループ毎に出題優先度数値入力欄(63)とを表示して出題条件設定画面(101’)を上記画面上に作成する手段(303、304)と、
上記入力手段(7)から上記単語グループ毎に入力された出題優先度数値に基づいて、上記各単語グループと出題優先度数値を対応付けた出題条件設定ファイル(45)を作成し上記内部メモリに記憶する手段(350)と、
上記辞書ファイル(60)内の単語と上記HTML文字列オブジェクトを参照して、該オブジェクト内の分解された各単語が何れの単語グループに属するかを検索し、各単語が属する単語グループを認識する手段(351)と、
上記出題条件設定ファイル(45)を参照し、認識した単語グループに基づいて各単語の出題優先度数値を認識することにより各単語の出題優先度数値を検出して、上記各単語と出題優先度数値を対応付けた出題優先度数値初期値テーブル(41)を作成し上記内部メモリに記憶する手段(352)と、
上記HTML文字列オブジェクト(33)の分解された各単語の前後に解答欄候補ID開始タグ<Zxxx>と終了タグ</Zxxx>(但し「xxx」は最初の単語から付される通し番号)を付して行くことでこれら解答欄候補IDタグで囲まれた単語を解答欄候補とし、これら解答欄候補としての各単語が上記解答欄候補ID開始タグと終了タグで囲まれた状態のHTML文字列オブジェクト(34)を作成して上記内部メモリに記憶する手段(306)と、
上記出題優先度数値初期値テーブル(41)と上記HTML文字列オブジェクト(34)を参照し、上記初期値テーブル(41)に記憶された単語を囲んでいる解答欄候補IDタグの解答欄候補ID「Zxxx」とその単語の出題優先度数値を読み出して、各解答欄候補IDとそれに対応する出題優先度数値とを対応付けた解答欄候補群属性情報テーブル(42)を作成し上記内部メモリに記憶する手段(307)と、
上記HTML文字列オブジェクト(31)から各文字に対応するHTMLタグを読み出して、上記HTML文字列オブジェクト(34)の上記解答欄候補ID開始タグと終了タグ間において、上記読み出したHTMLタグが関連付けられている文字の直前に該HTMLタグを読み込んで、上記解答欄候補ID開始タグと終了タグ間に上記HTMLタグを有するHTML文字列オブジェクト(36)を作成して上記内部メモリに記憶する手段(306)と、
上記HTML文字列オブジェクト(36)及び上記解答欄候補群属性情報テーブル(42)を参照し、解答欄候補IDタグの解答欄候補ID、そのIDに対応する解答欄候補となる単語及び単語に対応する出題優先度数値からなる解答欄候補一覧テーブル(43a)を作成し、上記入力手段から入力された上記出題率に基づいて、上記解答欄候補一覧テーブル(43a)から上記単語を上記出題優先度数値の優先順位の高い方から上記出題率によって定められる数だけ選択すると共に、選択されなかった単語を上記一覧テーブルから削除して最終的な解答欄候補一覧テーブル(43e)を作成し上記内部メモリに記憶する手段(308)と、
解答欄候補として選択されなかった下位の単語が存在する場合は、その単語に対応する解答欄候補ID開始タグと終了タグを上記HTML文字列オブジェクト(36)から削除し、かつ該HTML文字列オブジェクト(36)において解答欄候補ID開始タグと終了タグによって囲まれているHTMLタグを上記解答欄候補ID開始タグの前に追い出してHTML文字列オブジェクト(38)を作成して上記内部メモリ記憶する手段(306)と、
上記フォント情報ファイル(400)から初期のフォントサイズを読み込み、このフォントサイズを上記画面上に表示された上記HTML文章の文字のデフォルトのフォントサイズであると認識すると共に、上記HTML文字列オブジェクト(38)のHTMLタグを参照し、当該オブジェクト(38)にフォントサイズを特定するHTMLタグがある場合は、当該HTMLタグで特定される単語のフォントサイズをそのHTMLタグに基づいて認識し、かつ上記フォント高さデータ(401)を参照して上記認識したフォントサイズと解答欄候補としての上記単語の文字数に基づいて単語毎の穴埋め解答欄の高さと幅を決定し、上記解答欄候補一覧テーブル(43e)に単語毎に決定した穴埋め解答欄の高さと幅を追加することで解答欄候補一覧テーブル(44)を作成し上記内部メモリに記憶する手段(308)と、
上記HTML文字列オブジェクト(38)のHTMLタグを文頭から順次解析し、該タグが解答欄候補IDタグでなければそのHTMLタグをそのまま追加し、解答欄候補IDタグであればそのIDタグで囲まれている解答欄候補の単語の解答欄の高さと幅を上記解答欄候補一覧テーブル(44)を参照することで認識し、上記認識した高さと幅の穴埋め解答欄を上記画面上に表示されている上記HTML文章の解答欄候補の単語に代えて上記画面上に表示するためのアプレットタグを追加すると共に、その穴埋め解答欄と上記解答欄候補の単語とを対応付けるためのアプレットタグを追加し、かかるHTMLタグ及びアプレットタグの追加動作を上記HTML文字列オブジェクト(38)の最後まで繰り返し行うことにより、上記画面上に表示されているHTML文章のHTMLタグと上記アプレットタグからなる解答欄作成用HTMLファイル(39)を作成し記憶する手段(311)と、
上記解答欄作成用HTMLファイル(39)に基づいて上記解答欄候補の単語に対応する高さと幅の穴埋め解答欄を、上記表示手段の画面上に表示されている上記HTML文章の解答欄候補の単語に代えて当該画面上に表示する手段(312)とからなることを特徴とする穴埋め問題作成装置。
Display means (6) capable of displaying various information, input means (7) capable of inputting characters, numbers, etc., internal memory, and a plurality of word groups and each word by classifying a plurality of words into word groups A dictionary file (60) storing a plurality of words belonging to a group in association with each other, a font information file (400) storing an initial font size of characters displayed on the display means, various font sizes, Font height data (401) corresponding to the font size,
An HTML-tagged object that stores one character and the HTML tag immediately preceding the character is provided, the HTML text displayed on the display means screen is read, and each character of the text is read into the object for each character. In addition to storing, if there is an HTML tag immediately before the stored one character, the tag is stored in the object in relation to the stored one character, whereby the HTML text is connected to the HTML tagged object. The HTML character string object (31) is stored in the internal memory, and then the HTML tag is removed from the HTML character string object (31), and the character string is stored in the internal memory as the HTML character string object (32). (301),
A character string of the HTML character string object (32) is decomposed for each phrase, and an HTML character string object (33) is generated in which the character string is stored into a plurality of words for each phrase, and is generated in the internal memory. Means for storing (302);
Each word group of the dictionary file (60) is displayed on the display means (6), and a question rate input field and a question priority numerical value input field (63) for each displayed word group are displayed. Means (303, 304) for creating a condition setting screen (101 ′) on the screen;
Based on the question priority numerical value input for each word group from the input means (7), a question condition setting file (45) that associates each word group with the question priority numerical value is created and stored in the internal memory. Means for storing (350);
Referring to the words in the dictionary file (60) and the HTML character string object, the word group to which each decomposed word in the object belongs is searched and the word group to which each word belongs is recognized. Means (351);
By referring to the question condition setting file (45) and recognizing the question priority numerical value of each word based on the recognized word group, the question priority numerical value of each word is detected, and each word and the question priority Means (352) for creating a question priority numerical value initial value table (41) associated with numerical values and storing the table in the internal memory;
An answer column candidate ID start tag <Zxxxx> and an end tag </ Zxxx> (where "xxx" is a serial number assigned from the first word) are added before and after each decomposed word of the HTML character string object (33). Then, the word surrounded by these answer field candidate ID tags is used as an answer field candidate, and each word as the answer field candidate is an HTML character string surrounded by the answer field candidate ID start tag and the end tag. Means (306) for creating and storing the object (34) in the internal memory;
Referring to the question priority initial value table (41) and the HTML character string object (34), the answer field candidate ID of the answer field candidate ID tag surrounding the word stored in the initial value table (41) “Zxxx” and the question priority numerical value of the word are read out, and an answer column candidate group attribute information table (42) in which each answer column candidate ID is associated with the corresponding question priority numerical value is created and stored in the internal memory. Means for storing (307);
An HTML tag corresponding to each character is read from the HTML character string object (31), and the read HTML tag is associated between the answer column candidate ID start tag and end tag of the HTML character string object (34). Means (306) for reading the HTML tag immediately before the current character, creating an HTML character string object (36) having the HTML tag between the answer column candidate ID start tag and the end tag, and storing it in the internal memory (306) )When,
Referring to the HTML character string object (36) and the answer field candidate group attribute information table (42), the answer field candidate ID of the answer field candidate ID tag, the word corresponding to the word and the word as the answer field candidate corresponding to the ID An answer column candidate list table (43a) composed of numerical values of the priority of questions to be created is created, and based on the question rate input from the input means, the words are assigned the above question priority from the answer column candidate list table (43a). From the higher numerical priority order, select the number determined by the above question rate and delete the unselected words from the list table to create a final answer column candidate list table (43e) and create the internal memory Means for storing in (308);
If there is a lower word that is not selected as an answer field candidate, the answer field candidate ID start tag and end tag corresponding to the word are deleted from the HTML character string object (36), and the HTML character string object Means for creating an HTML character string object (38) by storing the HTML tag surrounded by the answer field candidate ID start tag and the end tag in (36) before the answer field candidate ID start tag, and storing it in the internal memory (306),
The initial font size is read from the font information file (400), this font size is recognized as the default font size of the characters of the HTML text displayed on the screen, and the HTML character string object (38 ), And if there is an HTML tag that specifies the font size in the object (38), the font size of the word specified by the HTML tag is recognized based on the HTML tag, and the font Based on the recognized font size and the number of characters of the word as the answer field candidate with reference to the height data (401), the height and width of the filled answer field for each word are determined, and the answer field candidate list table (43e) ) By adding the height and width of the filled-in answer field determined for each word to List creates a table (44) means for storing in said internal memory and (308),
The HTML tag of the HTML character string object (38) is sequentially analyzed from the beginning of the sentence, and if the tag is not an answer column candidate ID tag, the HTML tag is added as it is, and if it is an answer column candidate ID tag, it is surrounded by the ID tag. The height and width of the answer column of the answer column candidate word are recognized by referring to the answer column candidate list table (44), and the filled answer column of the recognized height and width is displayed on the screen. An applet tag is added to display on the screen instead of the answer column candidate word of the HTML sentence, and an applet tag is added to associate the hole filling answer column with the answer column candidate word. By repeating this HTML tag and applet tag addition operation until the end of the HTML string object (38), the above-mentioned screen is displayed. And means (311) for creating and storing the indicated and consisting of HTML tags and the applet tag of the HTML document are answer column created for HTML file (39),
Based on the HTML file (39) for creating the answer field, a height and width filled answer field corresponding to the word of the answer field candidate is displayed as the answer field candidate of the HTML text displayed on the screen of the display means. The hole-filling problem creating apparatus characterized by comprising means (312) for displaying on the screen instead of a word.
上記単語グループは、複数の単語を品詞毎に分類した単語グループであることを特徴とする請求項2記載の穴埋め問題作成装置。   The hole filling problem creating apparatus according to claim 2, wherein the word group is a word group in which a plurality of words are classified for each part of speech. 上記請求項2記載の穴埋め問題作成装置において、
出題条件設定画面を画面上に作成する手段(303、304)は、上記出題率入力欄及び単語グループ毎の出題優先度数値入力欄(63)を表示すると共に、さらにフォント情報に対応する出題優先度数値入力欄(63’)を表示して出題条件設定画面(101”)を表示するものであり、
上記出題条件設定ファイル(45)を作成する手段(350)は、該出題条件設定ファイル(45)と共に各フォント情報毎に入力された出題優先度数値を対応付けたフォント情報出題条件設定ファイル(45’)を作成し内部メモリに記憶するものであり、
上記解答欄候補一覧テーブル(43e)を作成する手段(308)は、該解答欄候補一覧テーブル(43e)の作成後において、上記HTML文字列オブジェクト(36)を参照することにより各解答欄候補のフォント情報が上記出題条件設定画面(101”)にて指定されたフォント情報と一致するか否かを判断し、一致する場合は上記出題条件設定ファイル(45)と上記フォント情報出題条件設定ファイル(45’)を参照することによりその解答欄候補の出題優先度数値とその解答欄候補に対応するフォント情報の出題優先度数値とを比較し、その解答欄候補の出題優先度数値より上記フォント情報の出題優先度数値の方が大きい場合は、上記一覧テーブル(43e)におけるその解答欄候補の出題優先度数値を上記フォント情報で指定された出題優先度数値に変更し、変更後の解答欄候補一覧テーブル(43e)を内部メモリに記憶するものであることを特徴とする穴埋め問題作成装置。
In the hole filling problem creating apparatus according to claim 2,
The means (303, 304) for creating the question condition setting screen on the screen displays the question rate input field and the question priority numerical value input field (63) for each word group, and further assigns question priority corresponding to font information. Display the frequency value input field (63 ') and display the question condition setting screen (101 ").
The means (350) for creating the question condition setting file (45) includes a font information question condition setting file (45) that associates the question priority setting numerical value inputted for each font information together with the question condition setting file (45). ') Is created and stored in the internal memory,
The means (308) for creating the answer field candidate list table (43e) refers to each answer field candidate by referring to the HTML character string object (36) after the answer field candidate list table (43e) is created. It is determined whether or not the font information matches the font information specified on the question condition setting screen (101 ″). If they match, the question condition setting file (45) and the font information question condition setting file ( 45 '), the question priority numerical value of the answer field candidate is compared with the question priority numerical value of the font information corresponding to the answer field candidate, and the font information is compared with the question priority numerical value of the answer field candidate. If the question priority numerical value of the answer column is larger, the question priority numerical value of the answer column candidate in the list table (43e) is specified by the font information. A filling-in-place question creating apparatus, wherein the answer question candidate list table (43e) is changed to a predetermined question priority numerical value and stored in an internal memory.
上記画面上に表示されたHTML文章は、入力手段から操作者によって任意に選択されたインターネット上のウェブページのHTML文章又はXML文章又はSGML文章であることを特徴とする請求項1又は2記載の穴埋め問題作成装置。   3. The HTML text displayed on the screen is an HTML text, an XML text, or an SGML text of a web page on the Internet arbitrarily selected by an operator from an input means. Hole filling problem creation device. 画面上の穴埋め解答欄に入力手段から入力された文字列と当該穴埋め解答欄に対応する解答欄候補の単語との一致を比較する手段(313)と、
該比較する手段(313)による比較の結果、両者が一致する場合は上記画面上に正解である旨の表示を行い、両者が一致しない場合は上記画面上に不正解である旨の表示を行う手段(314)とを有するものであることを特徴とする請求項1又は2記載の穴埋め問題作成装置。
Means (313) for comparing the match between the character string inputted from the input means in the blanking answer field on the screen and the word of the answer box candidate corresponding to the blanking answer field;
As a result of the comparison by the comparing means (313), if both match, a message indicating that the answer is correct is displayed on the screen, and if both do not match, a message indicating that the answer is incorrect is displayed on the screen. 3. The hole-filling problem creating apparatus according to claim 1 or 2, characterized in that it has means (314).
画面上の穴埋め解答欄に入力手段から入力された文字列と当該穴埋め解答欄に対応する解答欄候補の単語との一致を比較する手段(313)と、
該比較する手段(313)による比較の結果、両者が一致する場合は上記画面上に正解である旨の表示を行い、両者が一致しない場合は上記画面上に不正解である旨の表示を行う手段(314)と、
上記比較する手段による比較の結果、正解である場合は上記解答欄候補群属性情報テーブル(42)における当該正解した解答欄候補の単語に対応する解答欄候補IDの出題優先度数値をデクリメントし、不正解である場合は上記解答欄候補群属性情報テーブル(42)における不正解であった解答欄候補の単語に対応する解答欄候補IDの出題優先度数値をインクリメントする手段(315)を有するものであることを特徴とする請求項1又は2記載の穴埋め問題作成装置。
Means (313) for comparing the match between the character string inputted from the input means in the blanking answer field on the screen and the word of the answer box candidate corresponding to the blanking answer field;
As a result of the comparison by the comparing means (313), if both match, a message indicating that the answer is correct is displayed on the screen, and if both do not match, a message indicating that the answer is incorrect is displayed on the screen. Means (314);
If the result of the comparison by the means for comparing is a correct answer, the question priority value of the answer field candidate ID corresponding to the word of the correct answer field candidate in the answer field candidate group attribute information table (42) is decremented, If the answer is incorrect, the answer field candidate group attribute information table (42) includes means (315) for incrementing the question priority numerical value of the answer field candidate ID corresponding to the answer field candidate word that was an incorrect answer. 3. The hole-filling problem creating apparatus according to claim 1 or 2, wherein:
各種の情報を表示し得る表示手段(6)と、文字、数字等を入力可能な入力手段(7)と、内部メモリと、穴埋めにしたい単語を複数記憶している熟語ファイル(60’)と、上記表示手段に表示される文字の初期のフォントサイズを記憶したフォント情報ファイル(400)と、各種のフォントサイズと各フォントサイズに対応するフォント高さデータ(401)とを有する穴埋め問題作成のためのコンピュータを、
1文字とその文字の直前にあるHTMLタグを記憶するHTMLタグ付オブジェクトを設け、上記表示手段の画面上に表示されたHTML文章を読み取って、該文章の各文字を上記オブジェクトに1文字毎に記憶すると共に、記憶した1文字の直前にHTMLタグがある場合は該タグを上記記憶した1文字に関連して上記オブジェクトに記憶することにより、上記HTML文章を上記HTMLタグ付オブジェクトが連なった構造のHTML文字列オブジェクト(31)として上記内部メモリに記憶し、その後上記HTML文字列オブジェクト(31)からHTMLタグを取り除き、その文字列をHTML文字列オブジェクト(32)として上記内部メモリに記憶する手段(301)、
上記熟語ファイル(60’)を参照し、上記HTML文字列オブジェクトの中に上記熟語ファイル(60’) 内の単語と一致する単語があるか否かを判断し、一致する単語がある場合は、当該単語を一つの文節として区切ると共に、該HTML文字列オブジェクト(32)のその他の文字列を文節毎に分解することにより、上記文字列を文節毎に複数の単語に分解した形で記憶したHTML文字列オブジェクト(33)を生成し上記内部メモリに記憶する手段(302)、
上記内部メモリ内の上記HTML文字列オブジェクト(33)から分解された上記単語を読み出して各単語を上記表示手段に表示すると共に、出題率入力欄(61)と表示された上記単語毎に出題優先度数値入力欄(64)とを表示して出題条件設定画面(101)を上記画面上に作成する手段(303、304)、
上記入力手段(7)から上記単語毎に入力された出題優先度数値に基づいて、上記各単語と出題優先度数値を対応付けた出題優先度数値初期値テーブル(41)を作成し上記内部メモリに記憶する手段(305)、
上記HTML文字列オブジェクト(33)の分解された各単語の前後に解答欄候補ID開始タグ<Zxxx>と終了タグ</Zxxx>(但し「xxx」は最初の単語から付される通し番号)を付して行くことでこれら解答欄候補IDタグで囲まれた単語を解答欄候補とし、これら解答欄候補としての各単語が上記解答欄候補ID開始タグと終了タグで囲まれた状態のHTML文字列オブジェクト(34)を作成して上記内部メモリに記憶する手段(306)、
上記出題優先度数値初期値テーブル(41)と上記HTML文字列オブジェクト(34)を参照し、上記初期値テーブル(41)に記憶された単語を囲んでいる解答欄候補IDタグの解答欄候補ID「Zxxx」とその単語の出題優先度数値を読み出して、各解答欄候補IDとそれに対応する出題優先度数値とを対応付けた解答欄候補群属性情報テーブル(42)を作成し上記内部メモリに記憶する手段(307)、
上記HTML文字列オブジェクト(31)から各文字に対応するHTMLタグを読み出して、上記HTML文字列オブジェクト(34)の上記解答欄候補ID開始タグと終了タグ間において、上記読み出したHTMLタグが関連付けられている文字の直前に該HTMLタグを読み込んで、上記解答欄候補ID開始タグと終了タグ間に上記HTMLタグを有するHTML文字列オブジェクト(36)を作成して上記内部メモリに記憶する手段(306)、
上記HTML文字列オブジェクト(36)及び上記解答欄候補群属性情報テーブル(42)を参照し、解答欄候補IDタグの解答欄候補ID、そのIDに対応する解答欄候補となる単語及び単語に対応する出題優先度数値からなる解答欄候補一覧テーブル(43a)を作成し、上記入力手段から入力された上記出題率に基づいて、上記解答欄候補一覧テーブル(43a)から上記単語を上記出題優先度数値の優先順位の高い方から上記出題率によって定められる数だけ選択すると共に、選択されなかった単語を上記一覧テーブルから削除して最終的な解答欄候補一覧テーブル(43e)を作成し上記内部メモリに記憶する手段(308)、
解答欄候補として選択されなかった下位の単語が存在する場合は、その単語に対応する解答欄候補開始IDタグと終了IDタグを上記HTML文字列オブジェクト(36)から削除し、かつ該HTML文字列オブジェクト(36)において解答欄候補ID開始タグと終了タグによって囲まれているHTMLタグを上記解答欄候補ID開始タグの前に追い出してHTML文字列オブジェクト(38)を作成して上記内部メモリ記憶する手段(306)、
上記フォント情報ファイル(400)から初期のフォントサイズを読み込み、このフォントサイズを上記画面上に表示された上記HTML文章の文字のデフォルトのフォントサイズであると認識すると共に、上記HTML文字列オブジェクト(38)のHTMLタグを参照し、当該オブジェクト(38)にフォントサイズを特定するHTMLタグがある場合は、当該HTMLタグで特定される単語のフォントサイズをそのHTMLタグに基づいて認識し、かつ上記フォント高さデータ(401)を参照して上記認識したフォントサイズと解答欄候補としての上記単語の文字数に基づいて単語毎の解答欄の高さと幅を決定し、上記解答欄候補一覧テーブル(43e)に単語毎に決定した穴埋め解答欄の高さと幅を追加することで解答欄候補一覧テーブル(44)を作成し上記内部メモリに記憶する手段(308)、
上記HTML文字列オブジェクト(38)のHTMLタグを文頭から順次解析し、該タグが解答欄候補IDタグでなければそのHTMLタグをそのまま追加し、解答欄候補IDタグであればそのIDタグで囲まれている解答欄候補の単語の解答欄の高さと幅を上記解答欄候補一覧テーブル(44)を参照することで認識し、上記認識した高さと幅の穴埋め解答欄を上記画面上に表示されている上記HTML文章の解答欄候補の単語に代えて上記画面上に表示するためのアプレットタグを追加すると共に、その穴埋め解答欄と上記解答欄候補の単語とを対応付けるためのアプレットタグを追加し、かかるHTMLタグ及びアプレットタグの追加動作を上記HTML文字列オブジェクト(38)の最後まで繰り返し行うことにより、上記画面上に表示されているHTML文章のHTMLタグと上記アプレットタグからなる解答欄作成用HTMLファイル(39)を作成し記憶する手段(311)、
上記解答欄作成用HTMLファイル(39)に基づいて上記解答欄候補の単語に対応する高さと幅の穴埋め解答欄を、上記表示手段の画面上に表示されている上記HTML文章の解答欄候補の単語に代えて当該画面上に表示する手段(312)、
として機能させるための穴埋め問題作成用のコンピュータプログラム。
Display means (6) capable of displaying various information, input means (7) capable of inputting characters, numbers, etc., internal memory, idiom file (60 ') storing a plurality of words to be filled , A filling information creation process including a font information file (400) storing an initial font size of characters displayed on the display means and various font sizes and font height data (401) corresponding to each font size. Computer for
An HTML-tagged object that stores one character and the HTML tag immediately preceding the character is provided, the HTML text displayed on the display means screen is read, and each character of the text is read into the object for each character. In addition to storing, if there is an HTML tag immediately before the stored one character, the tag is stored in the object in relation to the stored one character, whereby the HTML text is connected to the HTML tagged object. The HTML character string object (31) is stored in the internal memory, and then the HTML tag is removed from the HTML character string object (31), and the character string is stored in the internal memory as the HTML character string object (32). (301),
Referring to the idiom file (60 ′), it is determined whether or not there is a word that matches the word in the idiom file (60 ′) in the HTML character string object. HTML which memorize | stored the said character string in the form decomposed | disassembled into the several word for every clause by dividing | segmenting the said word into one clause and disassembling the other character string of this HTML character string object (32) for every clause. Means (302) for generating a character string object (33) and storing it in the internal memory;
The word decomposed from the HTML character string object (33) in the internal memory is read and each word is displayed on the display means, and the question priority is given to each word displayed in the question rate input field (61). Means (303, 304) for creating a question condition setting screen (101) on the screen by displaying a frequency value input field (64);
Based on the question priority numerical value input for each word from the input means (7), a question priority numerical value initial value table (41) in which each word is associated with the question priority numerical value is created, and the internal memory Means for storing in (305),
An answer column candidate ID start tag <Zxxxx> and an end tag </ Zxxx> (where "xxx" is a serial number assigned from the first word) are added before and after each decomposed word of the HTML character string object (33). Then, the word surrounded by these answer field candidate ID tags is used as an answer field candidate, and each word as the answer field candidate is an HTML character string surrounded by the answer field candidate ID start tag and the end tag. Means (306) for creating an object (34) and storing it in the internal memory;
Referring to the question priority initial value table (41) and the HTML character string object (34), the answer field candidate ID of the answer field candidate ID tag surrounding the word stored in the initial value table (41) “Zxxx” and the question priority numerical value of the word are read out, and an answer column candidate group attribute information table (42) in which each answer column candidate ID is associated with the corresponding question priority numerical value is created and stored in the internal memory. Means for storing (307),
An HTML tag corresponding to each character is read from the HTML character string object (31), and the read HTML tag is associated between the answer column candidate ID start tag and end tag of the HTML character string object (34). Means (306) for reading the HTML tag immediately before the current character, creating an HTML character string object (36) having the HTML tag between the answer column candidate ID start tag and the end tag, and storing it in the internal memory (306) ),
Referring to the HTML character string object (36) and the answer field candidate group attribute information table (42), the answer field candidate ID of the answer field candidate ID tag, the word corresponding to the word and the word as the answer field candidate corresponding to the ID An answer column candidate list table (43a) composed of numerical values of the priority of questions to be created is created, and based on the question rate input from the input means, the words are assigned the above question priority from the answer column candidate list table (43a). From the higher numerical priority order, select the number determined by the above question rate and delete the unselected words from the list table to create a final answer column candidate list table (43e) and create the internal memory Means for storing (308),
If there is a lower word that is not selected as the answer field candidate, the answer field candidate start ID tag and end ID tag corresponding to the word are deleted from the HTML character string object (36), and the HTML character string is deleted. The HTML tag surrounded by the answer column candidate ID start tag and the end tag in the object (36) is expelled before the answer column candidate ID start tag to create an HTML character string object (38) and stored in the internal memory. Means (306),
The initial font size is read from the font information file (400), this font size is recognized as the default font size of the characters of the HTML text displayed on the screen, and the HTML character string object (38 ), And if there is an HTML tag that specifies the font size in the object (38), the font size of the word specified by the HTML tag is recognized based on the HTML tag, and the font The height and width of the answer field for each word is determined based on the recognized font size with reference to the height data (401) and the number of characters of the word as answer field candidates, and the answer field candidate list table (43e) Answer column candidate list by adding the height and width of the answer filling column determined for each word to Create a Buru (44) means for storing in said internal memory (308),
The HTML tag of the HTML character string object (38) is sequentially analyzed from the beginning of the sentence, and if the tag is not an answer column candidate ID tag, the HTML tag is added as it is, and if it is an answer column candidate ID tag, it is surrounded by the ID tag. The height and width of the answer column of the answer column candidate word are recognized by referring to the answer column candidate list table (44), and the filled answer column of the recognized height and width is displayed on the screen. An applet tag is added to display on the screen instead of the answer column candidate word of the HTML sentence, and an applet tag is added to associate the hole filling answer column with the answer column candidate word. By repeating this HTML tag and applet tag addition operation until the end of the HTML string object (38), the above-mentioned screen is displayed. Means for creating and storing the indicated and consisting of HTML tags and the applet tag of the HTML document are answer column created for HTML file (39) (311),
Based on the HTML file (39) for creating the answer field, a height and width filled answer field corresponding to the word of the answer field candidate is displayed as the answer field candidate of the HTML text displayed on the screen of the display means. Means (312) for displaying on the screen instead of a word,
A computer program for creating hole filling problems to function as
各種の情報を表示し得る表示手段(6)と、文字、数字等を入力可能な入力手段(7)と、内部メモリと、複数の単語を単語グループ別に分類して複数の単語グループと各単語グループに属する複数の単語とを対応付けて記憶した辞書ファイル(60)と、上記表示手段に表示される文字の初期のフォントサイズを記憶したフォント情報ファイル(400)と、各種のフォントサイズと各フォントサイズに対応するフォント高さデータ(401)とを有する穴埋め問題作成のためのコンピュータを、
1文字とその文字の直前にあるHTMLタグを記憶するHTMLタグ付オブジェクトを設け、上記表示手段の画面上に表示されたHTML文章を読み取って、該文章の各文字を上記オブジェクトに1文字毎に記憶すると共に、記憶した1文字の直前にHTMLタグがある場合は該タグを上記記憶した1文字に関連して上記オブジェクトに記憶することにより、上記HTML文章を上記HTMLタグ付オブジェクトが連なった構造のHTML文字列オブジェクト(31)として上記内部メモリに記憶し、その後上記HTML文字列オブジェクト(31)からHTMLタグを取り除き、その文字列をHTML文字列オブジェクト(32)として上記内部メモリに記憶する手段(301)、
該HTML文字列オブジェクト(32)の文字列を文節毎に分解して、上記文字列を文節毎に複数の単語に分解した形で記憶したHTML文字列オブジェクト(33)を生成し上記内部メモリに記憶する手段(302)、
上記辞書ファイル(60)の各単語グループを上記表示手段(6)に表示すると共に、出題率入力欄と表示された上記単語グループ毎に出題優先度数値入力欄(63)とを表示して出題条件設定画面(101’)を上記画面上に作成する手段(303、304)、
上記入力手段(7)から上記単語グループ毎に入力された出題優先度数値に基づいて、上記各単語グループと出題優先度数値を対応付けた出題条件設定ファイル(45)を作成し上記内部メモリに記憶する手段(350)、
上記辞書ファイル(60)内の単語と上記HTML文字列オブジェクトを参照して、該オブジェクト内の分解された各単語が何れの単語グループに属するかを検索し、各単語が属する単語グループを認識する手段(351)、
上記出題条件設定ファイル(45)を参照し、認識した単語グループに基づいて各単語の出題優先度数値を認識することにより各単語の出題優先度数値を検出して、上記各単語と出題優先度数値を対応付けた出題優先度数値初期値テーブル(41)を作成し上記内部メモリに記憶する手段(352)、
上記HTML文字列オブジェクト(33)の分解された各単語の前後に解答欄候補ID開始タグ<Zxxx>と終了タグ</Zxxx>(但し「xxx」は最初の単語から付される通し番号)を付して行くことでこれら解答欄候補IDタグで囲まれた単語を解答欄候補とし、これら解答欄候補としての各単語が上記解答欄候補ID開始タグと終了タグで囲まれた状態のHTML文字列オブジェクト(34)を作成して上記内部メモリに記憶する手段(306)、
上記出題優先度数値初期値テーブル(41)と上記HTML文字列オブジェクト(34)を参照し、上記初期値テーブル(41)に記憶された単語を囲んでいる解答欄候補IDタグの解答欄候補ID「Zxxx」とその単語の出題優先度数値を読み出して、各解答欄候補IDとそれに対応する出題優先度数値とを対応付けた解答欄候補群属性情報テーブル(42)を作成し上記内部メモリに記憶する手段(307)、
上記HTML文字列オブジェクト(31)から各文字に対応するHTMLタグを読み出して、上記HTML文字列オブジェクト(34)の上記解答欄候補ID開始タグと終了タグ間において、上記読み出したHTMLタグが関連付けられている文字の直前に該HTMLタグを読み込んで、上記解答欄候補ID開始タグと終了タグ間に上記HTMLタグを有するHTML文字列オブジェクト(36)を作成して上記内部メモリに記憶する手段(306)、
上記HTML文字列オブジェクト(36)及び上記解答欄候補群属性情報テーブル(42)を参照し、解答欄候補IDタグの解答欄候補ID、そのIDに対応する解答欄候補となる単語及び単語に対応する出題優先度数値からなる解答欄候補一覧テーブル(43a)を作成し、上記入力手段から入力された上記出題率に基づいて、上記解答欄候補一覧テーブル(43a)から上記単語を上記出題優先度数値の優先順位の高い方から上記出題率によって定められる数だけ選択すると共に、選択されなかった単語を上記一覧テーブルから削除して最終的な解答欄候補一覧テーブル(43e)を作成し上記内部メモリに記憶する手段(308)、
解答欄候補として選択されなかった下位の単語が存在する場合は、その単語に対応する解答欄候補ID開始タグと終了タグを上記HTML文字列オブジェクト(36)から削除し、かつ該HTML文字列オブジェクト(36)において解答欄候補ID開始タグと終了タグによって囲まれているHTMLタグを上記解答欄候補ID開始タグの前に追い出してHTML文字列オブジェクト(38)を作成して上記内部メモリ記憶する手段(306)、
上記フォント情報ファイル(400)から初期のフォントサイズを読み込み、このフォントサイズを上記画面上に表示された上記HTML文章の文字のデフォルトのフォントサイズであると認識すると共に、上記HTML文字列オブジェクト(38)のHTMLタグを参照し、当該オブジェクト(38)にフォントサイズを特定するHTMLタグがある場合は、当該HTMLタグで特定される単語のフォントサイズをそのHTMLタグに基づいて認識し、かつ上記フォント高さデータ(401)を参照して上記認識したフォントサイズと解答欄候補としての上記単語の文字数に基づいて単語毎の穴埋め解答欄の高さと幅を決定し、上記解答欄候補一覧テーブル(43e)に単語毎に決定した穴埋め解答欄の高さと幅を追加することで解答欄候補一覧テーブル(44)を作成し上記内部メモリに記憶する手段(308)、
上記HTML文字列オブジェクト(38)のHTMLタグを文頭から順次解析し、該タグが解答欄候補IDタグでなければそのHTMLタグをそのまま追加し、解答欄候補IDタグであればそのIDタグで囲まれている解答欄候補の単語の解答欄の高さと幅を上記解答欄候補一覧テーブル(44)を参照することで認識し、上記認識した高さと幅の穴埋め解答欄を上記画面上に表示されている上記HTML文章の解答欄候補の単語に代えて上記画面上に表示するためのアプレットタグを追加すると共に、その穴埋め解答欄と上記解答欄候補の単語とを対応付けるためのアプレットタグを追加し、かかるHTMLタグ及びアプレットタグの追加動作を上記HTML文字列オブジェクト(38)の最後まで繰り返し行うことにより、上記画面上に表示されているHTML文章のHTMLタグと上記アプレットタグからなる解答欄作成用HTMLファイル(39)を作成し記憶する手段(311)、
上記解答欄作成用HTMLファイル(39)に基づいて上記解答欄候補の単語に対応する高さと幅の穴埋め解答欄を、上記表示手段の画面上に表示されている上記HTML文章の解答欄候補の単語に代えて当該画面上に表示する手段(312)、
として機能させるための穴埋め問題作成用のコンピュータプログラム。
Display means (6) capable of displaying various information, input means (7) capable of inputting characters, numbers, etc., internal memory, and a plurality of word groups and each word by classifying a plurality of words into word groups A dictionary file (60) storing a plurality of words belonging to a group in association with each other, a font information file (400) storing an initial font size of characters displayed on the display means, various font sizes, A computer for creating a hole filling problem having font height data (401) corresponding to the font size;
An HTML-tagged object that stores one character and the HTML tag immediately preceding the character is provided, the HTML text displayed on the display means screen is read, and each character of the text is read into the object for each character. In addition to storing, if there is an HTML tag immediately before the stored one character, the tag is stored in the object in relation to the stored one character, so that the HTML sentence is linked to the HTML tagged object. The HTML character string object (31) is stored in the internal memory, and then the HTML tag is removed from the HTML character string object (31), and the character string is stored in the internal memory as the HTML character string object (32). (301),
A character string of the HTML character string object (32) is decomposed for each phrase, and an HTML character string object (33) is generated in which the character string is stored into a plurality of words for each phrase, and is generated in the internal memory. Means for storing (302),
Each word group of the dictionary file (60) is displayed on the display means (6), and a question rate input field and a question priority numerical value input field (63) for each displayed word group are displayed. Means (303, 304) for creating a condition setting screen (101 ′) on the screen;
Based on the question priority numerical value input for each word group from the input means (7), a question condition setting file (45) that associates each word group with the question priority numerical value is created and stored in the internal memory. Means for storing (350),
Referring to the words in the dictionary file (60) and the HTML character string object, the word group to which each decomposed word in the object belongs is searched and the word group to which each word belongs is recognized. Means (351),
By referring to the question condition setting file (45) and recognizing the question priority numerical value of each word based on the recognized word group, the question priority numerical value of each word is detected, and each word and the question priority Means (352) for creating a question priority numerical value initial value table (41) associated with numerical values and storing it in the internal memory;
An answer column candidate ID start tag <Zxxxx> and an end tag </ Zxxx> (where "xxx" is a serial number assigned from the first word) are added before and after each decomposed word of the HTML character string object (33). Then, the word surrounded by these answer field candidate ID tags is used as an answer field candidate, and each word as the answer field candidate is an HTML character string surrounded by the answer field candidate ID start tag and the end tag. Means (306) for creating an object (34) and storing it in the internal memory;
Referring to the question priority initial value table (41) and the HTML character string object (34), the answer field candidate ID of the answer field candidate ID tag surrounding the word stored in the initial value table (41) “Zxxx” and the question priority numerical value of the word are read out, and an answer column candidate group attribute information table (42) in which each answer column candidate ID is associated with the corresponding question priority numerical value is created and stored in the internal memory. Means for storing (307),
An HTML tag corresponding to each character is read from the HTML character string object (31), and the read HTML tag is associated between the answer column candidate ID start tag and end tag of the HTML character string object (34). Means (306) for reading the HTML tag immediately before the current character, creating an HTML character string object (36) having the HTML tag between the answer column candidate ID start tag and the end tag, and storing it in the internal memory (306) ),
Referring to the HTML character string object (36) and the answer field candidate group attribute information table (42), the answer field candidate ID of the answer field candidate ID tag, the word corresponding to the word and the word as the answer field candidate corresponding to the ID An answer column candidate list table (43a) composed of numerical values of the priority of questions to be created is created, and based on the question rate input from the input means, the words are assigned the above question priority from the answer column candidate list table (43a). From the higher numerical priority order, select the number determined by the above question rate and delete the unselected words from the list table to create a final answer column candidate list table (43e) and create the internal memory Means for storing (308),
If there is a lower word that is not selected as an answer field candidate, the answer field candidate ID start tag and end tag corresponding to the word are deleted from the HTML character string object (36), and the HTML character string object Means for creating an HTML character string object (38) by storing the HTML tag surrounded by the answer field candidate ID start tag and the end tag in (36) before the answer field candidate ID start tag, and storing it in the internal memory (306),
The initial font size is read from the font information file (400), this font size is recognized as the default font size of the characters of the HTML text displayed on the screen, and the HTML character string object (38 ), And if there is an HTML tag that specifies the font size in the object (38), the font size of the word specified by the HTML tag is recognized based on the HTML tag, and the font Based on the recognized font size and the number of characters of the word as the answer field candidate with reference to the height data (401), the height and width of the filled answer field for each word are determined, and the answer field candidate list table (43e) ) By adding the height and width of the filled-in answer field determined for each word List creates a table (44) means for storing in said internal memory (308),
The HTML tag of the HTML character string object (38) is sequentially analyzed from the beginning of the sentence, and if the tag is not an answer column candidate ID tag, the HTML tag is added as it is, and if it is an answer column candidate ID tag, it is surrounded by the ID tag. The height and width of the answer column of the answer column candidate word are recognized by referring to the answer column candidate list table (44), and the filled answer column of the recognized height and width is displayed on the screen. An applet tag is added to display on the screen instead of the answer column candidate word in the HTML sentence, and an applet tag is added to associate the hole filling answer column with the answer column candidate word. By repeating this HTML tag and applet tag addition operation until the end of the HTML character string object (38), the above screen is displayed. Means for creating and storing the indicated and consisting of HTML tags and the applet tag of the HTML document are answer column created for HTML file (39) (311),
Based on the HTML file (39) for creating the answer field, a height and width filled answer field corresponding to the word of the answer field candidate is displayed as the answer field candidate of the HTML text displayed on the screen of the display means. Means (312) for displaying on the screen instead of a word,
A computer program for creating hole filling problems to function as
上記単語グループは、複数の単語を品詞毎に分類した単語グループであることを特徴とする請求項9記載の穴埋め問題作成用のコンピュータプログラム。   10. The computer program for creating a hole-filling problem according to claim 9, wherein the word group is a word group in which a plurality of words are classified for each part of speech. 上記穴埋め問題作成用のコンピュータにおいて、
上記出題条件設定画面を画面上に作成する手段(303、304)は、上記出題率入力欄及び単語グループ毎の出題優先祖数値入力欄(63)を表示すると共に、さらにフォント情報に対応する出題優先度数値入力欄(63’)を表示して出題条件設定画面(101”)を表示する手段、
上記出題条件設定ファイル(45)を作成する手段(350)は、該出題条件設定ファイル(45)と共に各フォント情報毎に入力された出題優先度数値を対応付けたフォント情報出題条件設定ファイル(45’)を作成し内部メモリに記憶する手段、
上記解答欄候補一覧テーブル(43e)を作成する手段(308)は、該解答欄候補一覧テーブル(43e)の作成後において、上記HTML文字列オブジェクト(36)を参照することにより各解答欄候補のフォント情報が上記出題条件設定画面(101”)にて指定されたフォント情報と一致するか否かを判断し、一致する場合は上記出題条件設定ファイル(45)と上記フォント情報出題条件設定ファイル(45’)を参照することによりその解答欄候補の出題優先度数値とその解答欄候補に対応するフォント情報の出題優先度数値とを比較し、その解答欄候補の出題優先度数値より上記フォント情報の出題優先度数値の方が大きい場合は、上記一覧テーブル(43e)におけるその解答欄候補の出題優先度数値を上記フォント情報で指定された出題優先度数値に変更し、変更後の解答欄候補一覧テーブル(43e)を内部メモリに記憶する手段、
として機能させるように構成したことを特徴とする請求項9記載の穴埋め問題作成用のコンピュータプログラム。
In the computer for creating the above hole filling problem,
The means (303, 304) for creating the question condition setting screen on the screen displays the question rate input field and the question priority ancestor value input field (63) for each word group, and further assigns questions corresponding to font information. Means for displaying a priority value input field (63 ') and displaying a question condition setting screen (101 ");
The means (350) for creating the question condition setting file (45) includes a font information question condition setting file (45) that associates the question priority setting numerical value inputted for each font information together with the question condition setting file (45). ') Means to create and store in internal memory,
The means (308) for creating the answer field candidate list table (43e) refers to each answer field candidate by referring to the HTML character string object (36) after the answer field candidate list table (43e) is created. It is determined whether or not the font information matches the font information specified on the question condition setting screen (101 ″). If they match, the question condition setting file (45) and the font information question condition setting file ( 45 '), the question priority numerical value of the answer field candidate is compared with the question priority numerical value of the font information corresponding to the answer field candidate, and the font information is compared with the question priority numerical value of the answer field candidate. If the question priority numerical value of the answer column is larger, the question priority numerical value of the answer column candidate in the list table (43e) is specified by the font information. Means for changing the set question priority numerical value and storing the changed answer column candidate list table (43e) in the internal memory;
The computer program for creating a hole-filling problem according to claim 9, wherein the computer program is configured to function as:
請求項8又は9に記載の穴埋め問題作成用のコンピュータプログラムにおいて、コンピュータを、
画面上の穴埋め解答欄に入力手段から入力された文字列と当該穴埋め解答欄に対応する解答欄候補の文字列との一致を比較する手段(313)、
該比較する手段(313)による比較の結果、両者が一致する場合は上記画面上に正解である旨の表示を行い、両者が一致しない場合は上記画面上に不正解である旨の表示を行う手段(314)、
として機能させるための穴埋め問題作成用のコンピュータプログラム。
The computer program for creating a hole-filling problem according to claim 8 or 9, wherein the computer is
Means (313) for comparing the match between the character string inputted from the input means in the blank answer column on the screen and the character string of the answer column candidate corresponding to the blank answer column;
As a result of the comparison by the comparing means (313), if both match, a message indicating that the answer is correct is displayed on the screen, and if both do not match, a message indicating that the answer is incorrect is displayed on the screen. Means (314),
A computer program for creating hole filling problems to function as
請求項8又は9に記載の穴埋め問題作成用のコンピュータプログラムにおいて、コンピュータを、
画面上の穴埋め解答欄に入力手段から入力された文字列と当該穴埋め解答欄に対応する解答欄候補の単語との一致を比較する手段(313)、
該比較する手段(313)による比較の結果、両者が一致する場合は上記画面上に正解である旨の表示を行い、両者が一致しない場合は上記画面上に不正解である旨の表示を行う手段(314)、
上記比較する手段による比較の結果、正解である場合は上記解答欄候補群属性情報テーブル(42)における当該正解した解答欄候補の単語に対応する解答欄候補IDの出題優先度数値をデクリメントし、不正解である場合は上記解答欄候補群属性情報テーブル(42)における不正解であった解答欄候補の単語に対応する解答欄候補IDの出題優先度数値をインクリメントする手段(315)、
として機能させるための穴埋め問題作成用のコンピュータプログラム。
The computer program for creating a hole-filling problem according to claim 8 or 9, wherein the computer is
Means (313) for comparing the match between the character string inputted from the input means in the blanking answer field on the screen and the word of the answer box candidate corresponding to the blanking answer field;
As a result of the comparison by the comparing means (313), if both match, a message indicating that the answer is correct is displayed on the screen, and if both do not match, a message indicating that the answer is incorrect is displayed on the screen. Means (314),
If the result of the comparison by the means for comparing is a correct answer, the question priority value of the answer field candidate ID corresponding to the word of the correct answer field candidate in the answer field candidate group attribute information table (42) is decremented, Means (315) for incrementing the question priority numerical value of the answer field candidate ID corresponding to the word of the answer field candidate that was an incorrect answer in the answer field candidate group attribute information table (42) when the answer is incorrect
A computer program for creating hole filling problems to function as
コンピュータ読取可能な記録媒体であって、請求項8〜13の何れかに記載の穴埋め問題作成用のコンピュータプログラムを記録したコンピュータ読取可能な記録媒体。   A computer-readable recording medium on which the computer program for creating a hole filling problem according to any one of claims 8 to 13 is recorded.
JP2004309854A 2001-09-28 2004-10-25 Hole filling problem creating apparatus, computer program for filling hole filling problem, and recording medium recording the program Expired - Lifetime JP4205038B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004309854A JP4205038B2 (en) 2001-09-28 2004-10-25 Hole filling problem creating apparatus, computer program for filling hole filling problem, and recording medium recording the program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2001304699 2001-09-28
JP2004309854A JP4205038B2 (en) 2001-09-28 2004-10-25 Hole filling problem creating apparatus, computer program for filling hole filling problem, and recording medium recording the program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002284196A Division JP3638145B2 (en) 2001-09-28 2002-09-27 Hole filling problem creating apparatus, computer program for filling hole filling problem, and recording medium recording the program

Publications (3)

Publication Number Publication Date
JP2005092229A JP2005092229A (en) 2005-04-07
JP2005092229A5 true JP2005092229A5 (en) 2005-11-10
JP4205038B2 JP4205038B2 (en) 2009-01-07

Family

ID=34466583

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004309854A Expired - Lifetime JP4205038B2 (en) 2001-09-28 2004-10-25 Hole filling problem creating apparatus, computer program for filling hole filling problem, and recording medium recording the program

Country Status (1)

Country Link
JP (1) JP4205038B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5109966B2 (en) * 2008-12-24 2012-12-26 富士通株式会社 Problem creation program, problem creation apparatus, and problem creation method
JP5877662B2 (en) * 2011-07-05 2016-03-08 武藤工業株式会社 Test answer sheet preparation method, test scoring support method, and computer software used in the method
JP5811739B2 (en) * 2011-09-27 2015-11-11 大日本印刷株式会社 Information processing system, computer apparatus, and program
JP6129055B2 (en) * 2013-10-28 2017-05-17 富士通株式会社 Teaching material creation device, teaching material creation method and computer program
US9280325B2 (en) 2014-05-30 2016-03-08 International Business Machines Corporation Customized ready-to-go componentized application definitions
US10880331B2 (en) * 2019-11-15 2020-12-29 Cheman Shaik Defeating solution to phishing attacks through counter challenge authentication

Similar Documents

Publication Publication Date Title
US7823061B2 (en) System and method for text segmentation and display
JP2960340B2 (en) Data search method and device
CA2775879C (en) Systems and methods for processing data
JPS62245367A (en) Document processor
WO2005116863A1 (en) A character display system
JP4502114B2 (en) Database search device
JP5430312B2 (en) Data processing apparatus, data name generation method, and computer program
KR20170140808A (en) System and method for asymmetric formatting of word spaces according to uncertainty between words
JP2013050890A (en) Text retrieval device, text retrieval program, and text retrieval method
JP2005092229A5 (en)
JP4719921B2 (en) Data display device and data display program
JP2010250439A (en) Retrieval system, data generation method, program and recording medium for recording program
JP2009265770A (en) Significant sentence presentation system
CN115203445A (en) Multimedia resource searching method, device, equipment and medium
JP4205038B2 (en) Hole filling problem creating apparatus, computer program for filling hole filling problem, and recording medium recording the program
KR20070095506A (en) Method and apparatus of extracting a title of a web document
KR20070067058A (en) Method and apparatus of extracting title of web document
JPS60235271A (en) Kana-kanji converting device
JP2785692B2 (en) Dictionary search and display device
JP2003043905A (en) Learning device
JP2005031813A (en) Abstract preparation supporting system, program, abstract preparation supporting method, patent document retrieving system, and patent document rerieving method
JP2014146136A (en) Item information retrieval device, model creation device, item information retrieval method, model creation method, and program
CN112860958B (en) Information display method and device
JPH04167049A (en) Document processor
JP2009059138A (en) Word retrieval device, method, and program