JP4515700B2 - Structured text creation device, data processing device, structured text creation method, and recording medium recording structured text creation program - Google Patents

Structured text creation device, data processing device, structured text creation method, and recording medium recording structured text creation program Download PDF

Info

Publication number
JP4515700B2
JP4515700B2 JP2002341759A JP2002341759A JP4515700B2 JP 4515700 B2 JP4515700 B2 JP 4515700B2 JP 2002341759 A JP2002341759 A JP 2002341759A JP 2002341759 A JP2002341759 A JP 2002341759A JP 4515700 B2 JP4515700 B2 JP 4515700B2
Authority
JP
Japan
Prior art keywords
document
text
answer
title
footer
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 - Fee Related
Application number
JP2002341759A
Other languages
Japanese (ja)
Other versions
JP2004178133A (en
Inventor
正幸 小林
宏規 富樫
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2002341759A priority Critical patent/JP4515700B2/en
Publication of JP2004178133A publication Critical patent/JP2004178133A/en
Application granted granted Critical
Publication of JP4515700B2 publication Critical patent/JP4515700B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Document Processing Apparatus (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、アンケートの設問等の内容が記述された文書から構造化テキストを作成する技術に関する。
【0002】
【従来の技術】
構造化テキストは、ウェブページを記述する文書として広く用いられている。ここで、構造化テキストとは、文書を自動的にウェブ上での表示形式に整形するために、本文としての文字列に、本文の体裁を指示する文字列(以下、タグという)を付して書かれた文書であり、代表例として、HTML(HyperText Markup Language)形式で記述された文書(以下、HTMLファイルという)がある。ウェブページとして用いられるHTMLファイルは、一般に、URL(Uniform Resource Locater)と関連付けられてインターネットに接続されたサーバに格納される。このHTMLファイルがサーバへのアクセスによりブラウザに読み込まれると、ブラウザは、HTMLファイル中のタグを解釈して本文を含む文書を整形する。これにより、チェックボックスやボタン等のフォームや画像等の構成要素を含む文書がウェブページとして画面上に表示される。
【0003】
こうしたウェブページの中には、閲覧者に対するアンケートを内容とするページ(以下、アンケートページという)がある。例えば、製品の顧客ニーズを把握するために、企業が、アンケートページをネットワーク上に公表しておき、このアンケートページへの顧客からのアクセスに伴ってアンケートページの自由記入欄やチェックボックスに記入された情報をネットワークを介して収集する手法が提案されていた(例えば、特許文献1を参照)。
【0004】
【特許文献1】
特開2001−338112号公報
【0005】
【発明が解決しようとする課題】
しかしながら、上記従来の技術では、ネットワーク上にアンケートページを公表するために、アンケートページの基礎となる構造化テキストを、アンケートの本文(アンケート中のタイトルや設問,回答選択肢,フッター等の内容が文字列で表わされたもの)に各種のタグを付して作成しなければならず、タグの種類や用法を知らない者には簡単に作成できないという課題があった。
【0006】
一方、既存のウェブページを作成するアプリケーション(以下、汎用ウェブページ作成ソフトという)を用いてアンケートページを作成した場合には、タグを入力することなくアンケートページを作成することができる反面、アンケートページの作成に際して汎用ウェブページ作成ソフトの使い方を習得しなければならず、作成の前段階で多大な労力や時間を費やしてしまうおそれがあった。即ち、汎用ウェブページ作成ソフトは、様々な目的でのウェブページの作成を前提としているため、レイアウトやデザインに関する機能や文字装飾やイメージ等の選択肢を多種多様に備えている。このため、アンケートの作成者は、マニュアルを読んだり、試行錯誤的な操作をしたり、それでもわからない場合にはソフトの製作者に問い合わせをしたりして、汎用ウェブページ作成ソフトの多種多様な機能や選択肢の中からアンケートページの作成に必要なものを選別しなければならず、アンケートという単純な構造の文書の作成にも拘らず、作成に相当の時間を費やしてしまうおそれがあった。
【0007】
そこで、本発明は、上記の課題を解決すべく、アンケート文書が定型的な構造(例えば、タイトル部,質問に対する回答を行なう回答部,回答後の挨拶文が含まれる構造)を有することに着目し、ウェブページ作成に関する専門的知識を有しない者であっても、ウェブ上で正しく表示されるアンケートの構造化テキストを簡単に作成できるようにすることを目的として、以下の構成を採った。
【0008】
【課題を解決するための手段およびその作用効果】
本発明の構造化テキスト作成装置は、
少なくとも、タイトル文が含まれるタイトル部と質問文および回答文の内容が含まれる回答部とに区分される本文を備えたアンケートに関し、該アンケートの本文の内容が記述された本文文書のデータを入力し、該入力された本文文書のデータに基づいて、該本文文書をウェブページとして表示するための構造化テキストを作成する構造化テキスト作成装置であって、
前記タイトル部に用いられる要素であるタイトル要素,前記回答部に用いられる要素である回答要素を、各要素を特定する要素特定情報と共に予め記憶する要素記憶手段と、
前記入力された本文文書のデータに基づいて本文文書を表示する本文文書表示手段と、
所定の操作により、前記表示された本文文書におけるタイトル部を構成する文書,回答部を構成する文書に対し、それぞれ、前記タイトル要素,前記回答要素を適用する旨を指示する指示手段と、
該指示手段による指示に基づいて、前記タイトル要素についての要素特定情報,前記回答要素についての要素特定情報を、それぞれ、タイトル部を構成する文書,回答部を構成する文書に付加する付加手段と、
前記要素特定情報が付加された本文文書を、該要素特定情報の内容に基づいて構造化テキストに変換する変換手段と
を備えたことを要旨とする。
【0009】
また、上記構造化テキスト作成装置と同様の技術を用いてなされた本発明の構造化テキスト作成方法は、少なくとも、タイトル文が含まれるタイトル部と質問文および回答文の内容が含まれる回答部とに区分される本文を備えたアンケートに関し、該アンケートの本文の内容が記述された本文文書のデータを入力し、該入力された本文文書のデータに基づいて、該本文文書をウェブページとして表示するための構造化テキストを作成する構造化テキスト作成方法であって、
前記入力された本文文書のデータに基づいて本文文書を表示し、
所定の操作により、前記表示された本文文書におけるタイトル部を構成する文書に対し、前記タイトル部に用いられる要素であって該要素を特定する要素特定情報と共に予め記憶されたタイトル要素を適用する旨を指示すると共に、前記表示された本文文書における回答部を構成する文書に対し、前記回答部に用いられる要素であって該要素を特定する要素特定情報と共に予め記憶された回答要素を適用する旨を指示し、
該指示に基づいて、前記タイトル要素についての要素特定情報,前記回答要素についての要素特定情報を、それぞれ、タイトル部を構成する文書,回答部を構成する文書に付加し、
前記要素特定情報が付加された本文文書を、該要素特定情報の内容に基づいて構造化テキストに変換することを要旨とする。
【0010】
本発明の構造化テキスト作成装置および構造化テキスト作成方法によれば、少なくともタイトル部と回答部とに区分される本文を備えたアンケートに関し、該アンケートの本文の内容が記述された本文文書のデータを入力し、本文文書を表示する。タイトル部に用いられる要素であるタイトル要素,回答部に用いられる要素である回答要素は、各要素を特定する要素特定情報と共に予め記憶されている。このタイトル要素,回答要素を、それぞれ、表示された本文文書におけるタイトル部を構成する文書,回答部を構成する文書に対して適用する旨が、所定の操作により指示されると、この指示に基づいて、タイトル要素についての要素特定情報をタイトル部を構成する文書に付加し、回答要素についての要素特定情報を回答部を構成する文書に付加する。こうして要素特定情報が付加された本文文書は、要素特定情報の内容に基づいて構造化テキストに変換される。
【0011】
即ち、アンケートの本文文書が表示された後、作成者が、タイトル部を構成する文書,回答部を構成する文書に対して、タイトル要素,回答要素を適用する旨の操作を行なうだけで、タイトル部を構成する文書,回答部を構成する文書のそれぞれに固有の要素特定情報が付加され、この要素特定情報に基づいて本文文書が構造化テキストに変換される。従って、ウェブページの作成に関する専門的知識を有しない者であっても、ウェブ上で正しく表示されるアンケートの構造化テキストを簡単に作成することができる。例えば、作成者は、アンケートの構造化テキストの作成に際して、タグの入力や、アンケートページには用いられない要素を含む多数の要素からのタイトル要素や回答要素の選別といった煩わしい作業を行なう必要がない。
【0012】
上記の構造化テキスト作成装置および構造化テキスト作成方法には、様々な展開を考えることができる。以下、構造化テキスト作成装置を例にとって説明するが、構造化テキスト作成方法としても、ほぼ同様の展開が可能である。
【0013】
要素記憶手段を、複数種類の回答要素を、各要素を特定する要素特定情報と共に予め記憶する手段とすることも好ましい。こうすれば、種々の形態のアンケートページを簡単かつ正確に作成することができる。
【0014】
入力された本文文書のデータを、本文文書が表示された画面上で編集する編集手段を備えることも好適である。こうすれば、入力後の本文文書の修正(例えば、回答部の追加や削除等)を行なうことが可能となり、アンケートページの内容の自由度を確保することができる。
【0015】
編集手段による編集により回答部の追加または削除がなされたとき、該追加後または削除後に存在する複数の各回答部に付されている序数を連番に修正する連番修正手段を備えることも望ましい。こうすれば、回答部の追加または削除に伴って各回答部内の文書に含まれる序数の修正作業を行なう必要がない。
【0016】
要素記憶手段を、タイトル要素,回答要素に加えて、回答結果の送信指示に用いられる送信指示要素,回答後の挨拶文が記述されたフッター要素を、各要素を特定する要素特定情報と共に予め記憶する手段とすると共に、所定の操作により、表示された本文文書における所定の位置に、それぞれ、送信指示要素,フッター要素を配置する旨を指示する配置指示手段と、該配置指示手段による指示に基づいて、送信指示要素についての要素特定情報およびフッター要素についての要素特定情報を、それぞれ、本文文書に付加する情報付加手段とを備える構成としてもよい。こうすれば、4つの各要素(タイトル要素,回答要素,送信指示要素,フッター要素)についての要素特定情報が本文文書に付加され、これらの各要素特定情報の内容に基づいて本文文書が構造化テキストに変換される。従って、アンケートページ全体についての構造化テキストを簡単に作成することができる。
【0017】
要素記憶手段に予め記憶された要素をイメージ表示するイメージ表示手段を備え、指示手段,配置指示手段を、イメージ表示手段により表示された要素を本文文書表示手段により表示された本文文書の所定の位置に移動させる操作により、それぞれ、各要素を適用する旨,各要素を配置する旨を指示する手段とすることも好適である。こうすれば、作成者は、各要素(タイトル要素,回答要素,送信指示要素,フッター要素)の本文文書への適用や配置に伴う操作を、イメージ表示によって各要素の形態を確認しながら、簡単かつ確実に行なうことができる。特に、複数種類の回答要素がある場合には、各回答要素の相違を視覚的に確認することが可能となり、本文文書への誤った適用を防止することができる。
【0018】
要素記憶手段を、前記各要素および前記各要素についての要素特定情報と共に、各要素に含まれる定型文についての文字データを予め記憶する手段とし、指示手段,配置指示手段による指示に基づいて、前記文字データを本文文書のデータに付加するデータ付加手段を備えることも望ましい。こうすれば、要素を適用,配置する旨の指示に伴って、定型文が自動的に本文文書に付加される。従って、本文文書の作成や編集を行なう際における文字入力操作の負担を軽減することができる。
【0019】
要素特定情報が付加された本文文書に複数個の回答部が含まれている場合には、該複数個の回答部のうちの一の回答部についての回答の結果を入力する回答結果入力手段と、該入力された回答結果の内容に応じた他の回答部を前記複数個の回答部の中から抽出する回答部抽出手段とを備えた構成とし、前記変換手段を、前記一の回答部と前記他の回答部との対応関係を取りながら、前記本文文書を構造化テキストに変換する手段とすることが好適である。このような構造化テキストがアンケートページとして表示されることにより、アンケートページを閲覧して回答をしようとする者は、自己に回答不要な回答部を容易に把握することが可能となる。従って、回答能率の向上を図ることができる。
【0020】
上記の構造化テキスト作成装置で作成された構造化テキストを利用した装置として、前記作成された構造化テキストがウェブページとして表示され、該ウェブページ上で回答を行なった者により前記回答部に対する回答がなされた場合に、該回答の結果を表わすデータを入力して該データを処理するデータ処理装置を考えることができる。こうしたデータ処理装置において、アンケートの回答結果を集計する処理を行なうこととしてもよい。例えば、入力された回答結果を表わすデータに基づいて前記回答を行なった者を異なる複数の群に分類する分類手段とを備えた構成を考えることができる。こうすれば、回答を行なった者の特徴や傾向を的確に把握することができる。
【0021】
また、上記のデータ処理装置において、回答を行なった者に対する文書を作成する処理を行なうことも可能である。例えば、回答を行なった者に対する文書を、該回答を行なった者が属する群に応じた内容で作成する文書作成手段を備えた構成を考えることができる。こうして作成された文書を回答を行なった者に送信することで、回答を行なった者に有用な情報のみを伝達することが可能となり、回答を行なった者に不要な情報の伝達を回避することができる。
【0022】
本発明の記録媒体は、
少なくとも、タイトル文が含まれるタイトル部と質問文および回答文の内容が含まれる回答部とに区分される本文を備えたアンケートに関し、該アンケートの本文の内容が記述された本文文書のデータを入力し、該入力された本文文書のデータに基づいて、該本文文書をウェブページとして表示するための構造化テキストを作成するためのプログラムを記録した記録媒体であって、
前記入力された本文文書のデータに基づいて本文文書を表示する工程と、
所定の操作により、前記表示された本文文書におけるタイトル部を構成する文書に対し、前記タイトル部に用いられる要素であって該要素を特定する要素特定情報と共に予め記憶されたタイトル要素を適用する旨を指示すると共に、前記表示された本文文書における回答部を構成する文書に対し、前記回答部に用いられる要素であって該要素を特定する要素特定情報と共に予め記憶された回答要素を適用する旨を指示する工程と、
該指示に基づいて、前記タイトル要素についての要素特定情報,前記回答要素についての要素特定情報を、それぞれ、タイトル部を構成する文書,回答部を構成する文書に付加する工程と、
前記要素特定情報が付加された本文文書を、該要素特定情報の内容に基づいて構造化テキストに変換する工程と
をコンピュータに実行させるためのプログラムをコンピュータに読み取り可能に記録したことを要旨とする。
【0023】
かかる記録媒体に記録されたプログラムは、コンピュータにより読み取られて実行される。コンピュータは、このプログラムを実行し、上記の構造化テキスト作成方法を実現する。従って、本発明の記録媒体を、プログラムを読み取り可能なコンピュータを内蔵した機器に用いることにより、ウェブページの作成に関する専門的知識を有しない者であっても、ウェブ上で正しく表示されるアンケートの構造化テキストを簡単に作成することができる。
【0024】
なお、上記の記録媒体が備える各工程を二以上の記録媒体に分けて記録し、これら二以上の記録媒体を組み合わせることにより上記発明の記録媒体を実現することも可能である。
【0025】
なお、記録媒体としては、フレキシブルディスク,CD−ROM,DVD−ROM,半導体メモリ(ROM,PROM,EEPROM,フラッシュメモリ等)など、種々の記録媒体を用いることができる。もとより、インターネットなどのネットワーク上に置かれたサーバにこれらのプログラムを記憶しておき、クライアントのコンピュータにダウンロードして利用することも可能である。
【0026】
【発明の実施の形態】
以上説明した本発明の構成および作用を一層明らかにするために、以下本発明の実施の形態を、以下の順序で説明する。
A.実施例
A−1.構造化テキスト作成装置10の全体構成
A−2.パーツ要素の種類および特徴
A−3.構造化テキスト作成処理の内容
A−4.反映文書作成処理の内容
A−5.直接編集処理の内容
A−6.作用効果
B.変形例
C.応用例
【0027】
A.実施例:
A−1.構造化テキスト作成装置10の全体構成:
図1は本発明の実施例である構造化テキスト作成装置10の構成を示す説明図である。構造化テキスト作成装置10は、ウェブページとして表示されるアンケート(以下、アンケートページという)に関し、このアンケートページの基礎となる構造化テキストを作成する装置である。
【0028】
図示するように、構造化テキスト作成装置10は、CPU11と、このCPU11とバスにより相互に接続されたROM12,RAM13,ハードディスク等の不揮発的な記憶装置14,ディスプレイコントローラ15,入出力コントローラ16,CD−RWドライブ25,フレキシブルディスクドライブ26,ネットワークインタフェース17等の各部を備える。
【0029】
入出力コントローラ16にはキーボード20aやマウス20b,プリンタ等の入出力装置20が接続され、ディスプレイコントローラ15にはディスプレイ19aを備えた表示装置19が接続される。
【0030】
構造化テキスト作成装置10のネットワークインタフェース17,多数のアンケートの回答を行なう者のそれぞれが所持するパーソナルコンピュータ90のネットワークインタフェースは、それぞれ、プロバイダPVの専用線を介して外部のネットワークNWに接続されている。また、多数のアンケートの回答を行なう者のそれぞれが所持する携帯型端末80は、中継器であるアクセスポイントAPに無線で接続可能とされており、アクセスポイントAPは、プロバイダPVの専用線を介してネットワークNWに接続されている。これにより、構造化テキスト作成装置10は、パーソナルコンピュータ90や携帯型端末80との間でネットワークNWを介したデータの送受信が可能となる。
【0031】
CD−RWドライブ25に挿入されるCD−ROM28には、アンケートの本文が記述されたテキスト形式の文書(以下、本文文書という)に基づいて、この本文文書の内容を含む構造化テキストを作成するプログラム(以下、構造化テキスト作成プログラムという)や構造化テキスト作成プログラムの実行に必要な各種のデータが格納されている。こうした各種のデータとしては、後述するアンケートページの各部に用いられるパーツ要素のイメージデータ(図2)や各パーツ要素についての構造情報PT,パーツ情報QTに関する情報(図3)のほか、構造情報PTおよびパーツ情報QTと各種の構造化テキストに用いられるタグとの対応関係を規定した対応マップMLを備えている。
【0032】
CPU11は、構造化テキスト作成プログラムの内容をCD−RWドライブ26を介して読み取って実行する。これにより後述する構造化テキスト作成処理が行なわれる。なお、上記の構造化テキスト作成プログラムを予めROM12に格納したり、上記必要な各種のデータを記憶装置14等に予め記憶しておく構成としてもよい。また、構造化テキスト作成プログラムや上記必要な各種のデータを、ネットワークインタフェース17を介してダウンロードして記憶装置14やCD−R等のメディアに格納する構成としてもよい。
【0033】
後述するように、本実施例では、パーソナルコンピュータ90に汎用されている文書形式がHTML形式であることを考慮し、構造化テキスト作成プログラムの実行により構造化テキストとしてHTMLファイルが作成される場合を例として説明している。パーソナルコンピュータ90はHTMLファイルに対応するブラウザを備えている。
【0034】
実際には、構造化テキスト作成プログラムの実行により、以下(a)〜(e)に示したような、HTMLファイル以外の構造化テキストを作成することもできる。
(a)XML(Extensible Markup Language)形式で記述された文書
(b)WML(Wireless Markup Language)形式で記述された文書
(c)C−HTML(Compact HTML)形式で記述された文書
(d)MML(Mobile Markup Language)形式で記述された文書
(e)HDML(Handheld Device Markup Language)形式で記述された文書
構造化テキスト作成装置10は、HTMLファイル,上記(a)〜(e)の文書のそれぞれに対応するブラウザを備えている。
【0035】
一般に、HTMLファイルや上記(a)はパーソナルコンピュータ90により適した文書形式、上記(b)〜(e)は携帯型端末80により適した文書形式と言える。これらの文書形式に対応するブラウザを備えたパーソナルコンピュータ90や携帯型端末80によれば、作成されたアンケートの構造化テキストを文書や画像の入ったアンケートページとして閲覧することができる。
【0036】
フレキシブルディスクドライブ26に挿入されるフレキシブルディスク27には、構造化テキスト作成処理の処理対象となる本文文書のデータ(以下、本文文書データという)がテキスト形式で格納されている。この本文文書データは、アンケートの企画者が、パーソナルコンピュータにインストールされた日本語処理ソフトを用いて作成したものである。CPU11は、フレキシブルディスク27に格納された本文文書データをフレキシブルディスクドライブ26で読み取って入力し、入力された本文文書データをディスプレイコントローラ15に渡す。これにより本文文書の内容が表示装置19に表示される。
【0037】
また、キーボード20aやマウス20bにより、本文文書データに対する文字入力を指示する操作や本文文書データに対する要素の配置(後述)を指示する操作がなされると、CPU11は、この操作信号を入出力コントローラ16を介して受け取り、本文文書データの編集処理や本文文書データに対する要素特定情報の付加処理(後述)を実行する。これにより、編集後の本文文書の内容や要素特定情報が付加された本文文書の内容が表示装置19に表示される。
【0038】
なお、上記の本文文書データを、フレキシブルディスク27ではなく、記憶装置14やCD−R等のメディアに格納する構成としてもよい。また、予め作成された本文文書データがない場合には、キーボード20aやマウス20bでの文字入力操作に基づいて本文文書を作成し、作成された本文文書のデータを入力することもできる。
【0039】
A−2.パーツ要素の種類および特徴:
CD−ROM28には、構造化テキスト作成プログラムの実行に必要な各種のデータとして、アンケートページの各部に用いられるパーツ要素が、イメージ表示可能な形式で格納されている。各パーツ要素の形態を図2に示した。本実施例では、アンケートページが、通常、タイトル部,質問に対する回答を行なう回答部,回答の送信を指示する送信指示部,回答後の挨拶文が含まれるフッター部という4つの構成部を備えていることに着目し、上記の4つの各構成部に対応したパーツ要素を準備している。
【0040】
また、各パーツ要素には、各パーツ要素を特定する要素特定情報として、構造情報PTおよびパーツ情報QTが文字情報の形式で与えられている。各パーツ要素に与えられた構造情報PTおよびパーツ情報QTの内容を図3に示した。この構造情報PTおよびパーツ情報QTは、各パーツ要素と関連付けられてCD−ROM28に格納されている。
【0041】
構造情報PTは、各パーツ要素がアンケートページのどの構成部に用いられるかを表わす情報である。この構造情報PTが本文文書に付与されると、CPU11は、本文文書中の構造情報PTを読み取って、本文文書の構造(4つの構成部)を認識することができる。一方、パーツ情報QTは、各パーツ要素自体の特徴を表わす情報である。このパーツ情報QTが本文文書に付与されると、CPU11は、本文文書中のパーツ情報QTを読み取って、本文文書中に挿入すべきフォームや画像等を認識することができる。
【0042】
図2および図3に表わされた各パーツ要素について具体的に説明する。「タイトル」というパーツ要素はアンケートページのタイトル部に用いられる要素であり、タイトル部を表わす「Title」,「TitleComment」という構造情報PTに関連付けられている。詳細には、「Title」という構造情報PTはタイトル部のタイトル文に関連付けられており、「TitleComment」という構造情報PTはタイトル部のタイトル文に続くコメント文に関連付けられている。なお、「タイトル」というパーツ要素は、図2に示すように、「アンケートタイトル」というタイトル文と「いつも弊社製品を…」というコメント文とを具備するが、このタイトル文は画像情報として与えられたものであり、本文文書には反映されない。一方、コメント文は、文字情報として与えられたものであり、後述するように定型文として本文文書に反映される。図2では、各パーツ要素に関し、画像情報として与えられた本文文書に反映されない文字を斜体で示し、文字情報として与えられた本文文書に定型文として反映される文字を通常体で示している。
【0043】
「基本情報」,「単一選択」,「マトリクス単一」,「リスト選択」,「複数選択」,「マトリクス複数」,「自由記入欄(1行)」,「自由記入欄(複数行)」というパーツ要素は、アンケートページの回答部に用いられる要素であり、回答部を表わす「Question−Answer」という構造情報PTに関連付けられている。また、これらのパーツ要素には、固有のパーツ情報QTが関連付けられている。例えば、「単一選択」というパーツ要素には、用いられるパーツ要素がラジオボタン(どれか1つしか選択できない選択肢)であることを表わす「単一」というパーツ情報QTが与えられており、「複数選択」というパーツ要素には、用いられるパーツ要素がチェックボックス(2以上の選択が可能な選択肢)であることを表わす「複数」というパーツ情報QTが与えられている。その他のパーツ情報QTの持つ意味は、以下の通りである。
<1>「フリー」…パーツ要素中の回答欄に自由記入欄が含まれること。
<2>「デフォルト」…パーツ要素中の回答欄にデフォルトとなる選択肢が含まれること。
<3>「マト単一」…用いられるパーツ要素がマトリクス型のラジオボタンであること。
<4>「マト複数」…用いられるパーツ要素がマトリクス型のチェックボックスであること。
<5>「リスト」…用いられるパーツ要素がリスト選択型の選択欄であること。
<6>「自由記入1行」…用いられるパーツ要素が1行のみ記入可能な自由記入欄であること。
<7>「自由記入複数行」…用いられるパーツ要素が2行以上記入可能な自由記入欄であること。
【0044】
「基本情報」というパーツ要素は、回答を行なう者の個人情報の記入用に用いられる。「基本情報」というパーツ要素には、「以下の項目に…」という質問文や、「氏名」「性別」等の回答項目を表わす語句、「男」,「女」等の回答選択肢を表わす語句が文字情報として与えられており、これらの文や語句は、本文文書に定型文や定型語句として反映される。
【0045】
一方、「単一選択」,「マトリクス単一」,「リスト選択」,「複数選択」,「マトリクス複数」,「自由記入欄(1行)」,「自由記入欄(複数行)」というパーツ要素には、質問文および回答項目,回答選択肢を表わす語句が画像情報として与えられており、これらの文や語句は、本文文書に定型文や定型語句として反映されない。
【0046】
「必須回答」,「画像」,「区切り線」というパーツ要素は、アンケートページの4つの構成部のいずれにも用いられる要素であり、用いられた構成部の構造情報PTに依存することを表わす「depend」という構造情報PTに関連付けられている。また、「必須回答」というパーツ要素には、当該回答部が必須回答項目であることを表わす「必須」というパーツ情報QTが与えられており、「画像」,「区切り線」というパーツ要素には、それぞれ、用いられる画像の保存先を示す「R:¥Data¥…」というパーツ情報QTが与えられている。なお、「必須回答」というパーツ要素は、「必須回答」という文字情報を備えており、この文字情報は定型文として本文文書に反映される。
【0047】
「送信ボタン」というパーツ要素は、アンケートページの送信指示部に用いられる要素であり、送信指示部を表わす「Link」という構造情報PTに関連付けられている。また、このパーツ要素には、回答内容を表わすデータの送信先のアドレスを示す「tokkyojitsuyo@…」というパーツ情報QTが関連付けられている。なお、このパーツ要素が備える「送信」という語句は文字情報として与えられたものであり、後述するように定型語句として本文文書に反映される。
【0048】
「フッター」というパーツ要素は、アンケートページのフッター部に用いられる要素であり、フッター部を表わす「End」という構造情報PTに関連付けられている。なお、「フッター」というパーツ要素は、図2に示すように、「ご回答ありがとうございました…」という挨拶文と「(株)特許実用…」というアンケート作成者を表わす語句とを具備するが、これらはいずれも文字情報として与えられたものであり、後述するように定型文や定型語句として本文文書に反映される。
【0049】
A−3.構造化テキスト作成処理の内容:
次に、このようなパーツ要素と本文文書を用いて行なわれる構造化テキスト作成処理の内容について説明する。図4は、構造化テキスト作成処理ルーチンを示すフローチャートである。本ルーチンが起動されると、まず、フレキシブルディスク27に格納された本文文書のデータを入力し、表示装置19のディスプレイ19aに本文文書を表示する処理を行なう(ステップS100)。
【0050】
次に、パーツ要素のイメージを表示させながら本文文書をHTML文書に編集するモード(以下、イメージモードという)が設定されているか否かを判断する処理を行なう(ステップS105)。イメージモードの設定は、ディスプレイ19aに表示されている画面上において使用者が設定タブを選択することにより、ON(設定されている状態),OFF(設定されていない状態)のいずれかに切り替えることができる。
【0051】
イメージモードが設定されていると判断した場合には、ディスプレイ19a上の表示画面を縦方向に2分割し、向かって左側の画面(以下、左画面という)に本文文書をテキスト表示すると共に、向かって右側の画面(以下、右画面という)に図2に示したようなパーツ要素の一覧をイメージ表示する処理を行なう(ステップS120)。次に、右画面のパーツ要素が左画面の本文文書上に移動配置されたか否かを判断する処理を行なう(ステップS125)。パーツ要素が移動配置されたことは、表示されたパーツ要素に対するマウス20bのドラッグ&ドロップ操作を検出することによって判断される。パーツ要素が本文文書上に移動配置されたと判断した場合には、該パーツ要素に関連付けられた構造情報PTおよびパーツ情報QTを本文文書に付加してこの付加を反映した本文文書を生成し(ステップS130〜S135)、反映後の本文文書を表示する処理を行なう(ステップS140)。一方、ステップS105の処理においてイメージモードが設定されていないと判断した場合には、イメージを表示させずに本文文書をHTML文書に編集する直接編集処理を実行する(ステップS110)。上記ステップS130〜S135の処理とステップS110の処理の詳細については後述する。
【0052】
次に、レイアウト表示を行なう旨の指示の有無を判断し(ステップS150)、指示有りと判断した場合には、編集途中の本文文書がウェブページとして表示されたときのページ形態を別画面に表示する処理(レイアウト表示処理)を行なう(ステップS155)。こうしたレイアウト表示は、本文文書に付与されている構造情報PTおよびパーツ情報QTを、既述した対応マップMLを参照して、対応するHTML記述用のタグに置換し、変換後のタグ付きの本文文書をHTMLに対応するブラウザが解釈することによって実現される。
【0053】
次に、本文文書を修正する旨の指示の有無を判断し(ステップS160)、指示有りと判断した場合には、使用者によるキーボード20aやマウス20bの操作に基づいて、左画面に表示された本文文書に対し、文字の追加や削除等の修正処理(本文文書修正処理)を行なう(ステップS165)。こうした修正処理を備えることにより、アンケートページの内容の自由度を確保することができる。
【0054】
次に、編集中の本文文書の内容を確定する旨の指示の有無を判断し(ステップS170)、指示有りと判断した場合には、本文文書をテキスト形式で記憶装置14に記憶する処理を行なう(ステップS180)と共に、本文文書をHTML文書に変換し(ステップS185)、この変換によって生成されたHTMLファイルを記憶装置14に保存する処理を行ない(ステップS190)、本ルーチンを終了する。本文文書のHTML文書への変換は、既述したレイアウト表示処理の場合と同様に、本文文書に付与されている構造情報PTおよびパーツ情報QTを、既述した対応マップMLを参照して、対応するHTML記述用のタグに置換することによって実現される。
【0055】
上記ステップS130〜S135の処理(反映文書作成処理)とステップS110の処理(直接編集処理)について、具体的な処理の内容を説明する。
【0056】
A−4.反映文書作成処理の内容:
反映テキスト作成処理は、左画面の本文文書にドラッグ&ドロップされたパーツ要素の種類によって処理の内容が異なっている。このため、図4に示したステップS125の処理の終了後に、以下、ドラッグ&ドロップされたパーツ要素の種類を構造情報PTに基づいて特定し、パーツ要素の種類に応じた処理(反映文書作成処理ルーチンA〜E)を行なう。以下、反映文書作成処理ルーチンA〜Eの処理内容について、処理途中のインタフェースの具体例を例示しながら説明する。この具体例では、図5に示す内容の本文文書TXのデータが構造化テキスト作成装置10に入力されたものとする。
【0057】
A−4ー1.「タイトル」というパーツ要素(構造情報PT:「Title」,「TitleComment」)の場合:
この場合には、図6に示した反映文書作成処理ルーチンAに従って処理が行なわれる。図7,図8は、反映文書作成処理ルーチンAの各処理が本文文書TXのデータに対して行なわれたときのディスプレイ19aの様子を表わしている。図7,図8は、それぞれ、タイトル文の範囲WA1にパーツ要素がドロップされたとき,反映文書作成処理ルーチンAが終了したときにおけるディスプレイ19aの様子を示している。
【0058】
本ルーチンが起動されると、まず、本文文書からタイトル文の範囲WA1を特定し(ステップS200)、この範囲WA1にパーツ要素がドロップされたか否かを判断する処理を行なう(ステップS210)。本実施例では、タイトル文は、通常、本文文書の先頭部にあることを考慮し、本文文書の先頭文字から最初の改行マークLC1までの範囲をタイトル文の範囲WA1として特定し、この範囲WA1内にドロップ時のマウスポインタMPが位置する場合に、上記範囲WA1にパーツ要素がドロップされたと判断している(図7を参照)。勿論、これ以外の基準で判断しても差し支えない。
【0059】
ステップS210の処理において、タイトル文の範囲WA1にパーツ要素がドロップされたと判断した場合には、範囲WA1に、当該パーツ要素の構造情報PT(Title)を付与し(ステップS220)、範囲WA1内の文書の先頭に「Title:」という文字列を挿入する処理を行なうと共に(ステップS230)、範囲WA1の後(具体的には、改行マークLC1の直後)に、定型文であるコメント文を挿入する処理を行なう(ステップS240)。次に、挿入されたコメント文の範囲WA2に「TitleComment」という構造情報PTを付与し(ステップS250)、範囲WA2内の文書の先頭に「TitleComment:」という文字列を挿入する処理を行なう(ステップS260)(以上、図8を参照)。次に、本文文書TXにおける範囲WA1および範囲WA2を、タイトル部を構成する文書の範囲WAとして特定する処理を行ない(ステップS270)、本ルーチンを終了する。なお、図8では、コメント文の中に、「弊社XX」という定型語句が挿入されているが、この定型語句については、既述した本文文書の修正処理(図4のステップS165)によって、固有の製品名等を表わす語句(例えば、図5に示す本文文書TXのタイトル文に合わせた「○○FAX」という語句)に修正することができる。
【0060】
一方、ステップS210の処理において、タイトル文の範囲WA1にパーツ要素がドロップされていないと判断した場合には、パーツ要素の適用箇所が誤っているとみなして、本ルーチンを終了する。これにより、本文文書におけるタイトル部以外の構成部(回答部や送信指示部,フッター部)に、タイトル部に関する情報が付与されてしまうことが防止される。
【0061】
A−4ー2.「基本情報」,「単一選択」,「マトリクス単一」,「リスト選択」,「複数選択」,「マトリクス複数」,「自由記入欄(1行)」,「自由記入欄(複数行)」というパーツ要素(構造情報PT:「Question−Answer」)の場合:
この場合には、図9に示した反映文書作成処理ルーチンBに従って処理が行なわれる。図10,図11は、反映文書作成処理ルーチンBの各処理が本文文書TXのデータに対して行なわれたときのディスプレイ19aの様子を表わしている。図10,図11は、それぞれ、パーツ要素がドロップされたとき,反映文書作成処理ルーチンBが終了したときにおけるディスプレイ19aの様子を示している。
【0062】
本ルーチンが起動されると、まず、本文文書上にドラッグ&ドロップされたパーツ要素が「基本情報」であるか否かを判断する処理を行なう(ステップS300)。パーツ要素が「基本情報」であると判断した場合には、入力された本文文書には回答を行なう者の氏名や性別等の個人情報を記載する回答部が存在しないので、タイトル部の末尾と最初の回答部との間の範囲WB0を特定し(ステップS305)、この範囲WB0にパーツ要素がドロップされたか否かを判断する処理を行なう(ステップS310)。具体的には、本文文書から文字「Q1」を検索し、この文字「Q1」の前に位置する空白や改行マークを含む範囲を範囲WB0として特定する(図10を参照)。勿論、これ以外の基準で判断しても差し支えない。
【0063】
ステップS300の処理において、パーツ要素が「基本情報」でないと判断した場合には、本文文書から回答部を構成する文書の範囲WB1〜WBn(nは質問文の序数ないし回答部の序数を表わす)を特定し(ステップS315)、この範囲WB1〜WBnにパーツ要素がドロップされたか否かを判断する処理を行なう(ステップS320)。回答部内の質問文には、通常、質問文の直前にQ1〜Qn(nは質問文の序数ないし回答部の序数を表わす)という、質問文であることを表わす文字「Q」と、質問文ないし回答部の序数を表わす文字「1〜n」が付されている。このことを考慮し、本実施例では、文字「Q(i)」(iは1〜n−1までの整数)から文字「Q(i+1)」の直前に位置する文字までの範囲を、回答部を構成する文書の範囲WB1〜WBnとして特定し、各範囲WB1〜WBn内にドロップ時のマウスポインタMPが位置する場合に、上記範囲WB1〜WBnにパーツ要素がドロップされたと判断している(図10を参照)。勿論、これ以外の基準で判断しても差し支えない。
【0064】
ステップS310,ステップS320の処理において、範囲WB0,範囲WB1〜WBnにパーツ要素がドロップされていないと判断した場合には、パーツ要素の適用箇所が誤っているとみなして、本ルーチンを終了する。これにより、本文文書における回答部以外の構成部(タイトル部や送信指示部,フッター部)に、回答部に関する情報が付与されてしまうことが防止される。
【0065】
一方、ステップS310,ステップS320の処理において、範囲WB0,範囲WB1〜WBnにパーツ要素がドロップされたと判断した場合には、範囲WB0,範囲WB1〜WBnに、当該パーツ要素の構造情報PT(Question−Answer)を付与し、範囲WB0,範囲WB1〜WBn内の文書の先頭に「Question−Answer:」という文字列を挿入する処理を行なう(ステップS330)。加えて、範囲WB0に挿入された「Question−Answer:」という文字列の直後に、個人情報の記入用の定型文や定型語句(図11に示す例で言えば、「以下の項目に…」という質問文や、「氏名」「性別」等の回答項目を表わす語句、「男」,「女」等の回答選択肢を表わす語句)を挿入する処理を行なう(ステップS340)。なお、こうして挿入された回答項目の一部が不要な場合には、既述した本文文書の修正処理(図4のステップS165)において、不要な回答項目や回答選択肢を削除することができる。
【0066】
この処理の終了後、範囲WB0,範囲WB1〜WBn内に、当該パーツ要素のパーツ情報QTを付与し、範囲WB0,範囲WB1〜WBn内の文書の所定の位置にパーツ情報QTを表わす文字列を挿入する処理を行なう(ステップS350)。例えば、図11では、「基本情報」というパーツ要素のドロップによって、<フリー>,<単一>,<デフォルト>等のパーツ情報QTの名前を表わす文字列が挿入されている。また、「単一選択」というパーツ要素のドロップによって、<単一>,<デフォルト>,<フリー>等のパーツ情報QTの名前を表わす文字列が挿入されている。
【0067】
次に、構造情報PT(Question−Answer)の直後に位置する「Q」と「数字」の連続からなる文字列を本文文書から特定し、当該「数字」が質問文ないし回答部の序数を表わすように、「数字」を連番に修正する処理を行なう(ステップS360)。即ち、ステップS340において個人情報の記入用の定型文や定型語句が本文文書に追加されたことに対応し、質問文ないし回答部の序数を自動的に正しくふり直すのである。連番修正前の「数字」と連番修正後の「数字」との対応関係はRAM13に一時的に記憶される。続いて、構造情報PT(Question−Answer)の直後以外に位置する「Q」と「数字」の連続からなる文字列を特定し、この「数字」を、連番修正前の「数字」と連番修正後の「数字」との対応関係に基づいて修正する処理を行ない(ステップS370)、本ルーチンを終了する。
【0068】
例えば、本文文書の中に「Q1 …ですか?」、「Q2 Q1ではいと答えた方のみお答え下さい。…」という2つの質問文があり、ステップS360の処理によって、「Q1 …ですか?」という質問文が「Q2 …ですか?」という質問文に変わった場合には、「Q2 Q1ではいと答えた方のみお答え下さい。…」という質問文は、ステップS360の処理によって「Q3 Q1ではいと答えた方のみお答え下さい。…」という質問文に変更され、ステップS370の処理によって「Q3 Q2ではいと答えた方のみお答え下さい。…」という質問文に変更される。これにより、他の質問文の序数を引用した質問文について、正しい引用関係を維持することができる。
【0069】
なお、上述したステップS360〜S370の処理は、既述した本文文書の修正処理(図4のステップS165)においても適宜行なわれる。これにより、本文文書に対する新たな回答部の追加や本文文書に含まれていた回答部の削除等の修正がなされた場合であっても、各回答部内の文書に含まれる質問文ないし回答部の序数の修正作業を行なう必要がなく、本文文書内における質問文ないし回答部の序数を自動的に整合性のある状態にすることができる。
【0070】
A−4ー3.「送信ボタン」というパーツ要素(構造情報PT:「Link」)の場合:
この場合には、図12に示した反映文書作成処理ルーチンCに従って処理が行なわれる。本ルーチンが起動されると、まず、パーツ要素がドロップされた本文文書上の位置をドロップ時のマウスポインタMPの位置情報に基づいて特定する処理を行なう(ステップS400)。次に、当該位置に、パーツ要素の構造情報PT(Link)を付与し、「Link:」という文字列および「送信」という定型語句を挿入する処理を行なう(ステップS410,S420)。
【0071】
この処理の終了後、パーツ要素のパーツ情報QT(回答内容を表わすデータの送信先のアドレス)を付与し、「送信」という文字列の後に、パーツ情報QTを表わす<tokkyojitsuyo@…>という文字列を挿入する処理を行ない(ステップS430)、本ルーチンを終了する。こうして挿入された文字列の範囲が、本文文書における送信指示部となる。
【0072】
A−4ー4.「フッター」というパーツ要素(構造情報PT:「End」)の場合:
この場合には、図13に示した反映文書作成処理ルーチンDに従って処理が行なわれる。本ルーチンが起動されると、まず、本文文書から、最後の回答部を構成する文書の範囲WBnを特定し(ステップS500)、この範囲WBnの後にパーツ要素がドロップされたか否かを、ドロップ時のマウスポインタMPの位置情報に基づいて判断する処理を行なう(ステップS510)。
【0073】
範囲WBnの後にパーツ要素がドロップされたと判断した場合には、範囲WBnの後に、当該パーツ要素の構造情報PT(End)を付与し(ステップS520)、「End:」という文字列を挿入する処理を行なうと共に(ステップS530)、この「End:」という文字列に続けて、定型文である挨拶文や定型語句であるアンケート作成者を表わす語句を挿入する処理を行ない(ステップS540)、本ルーチンを終了する。なお、挿入されたアンケート作成者を表わす語句については、既述した本文文書の修正処理(図4のステップS165)によって、適宜修正することができる。
【0074】
一方、ステップS510の処理において、範囲WBnの後にパーツ要素がドロップされていないと判断した場合には、パーツ要素の適用箇所が誤っているとみなして、本ルーチンを終了する。これにより、本文文書におけるフッター部以外の構成部(回答部や送信指示部,タイトル部)に、フッター部に関する情報が付与されてしまうことが防止される。
【0075】
A−4ー5.「必須回答」,「画像」,「区切り線」というパーツ要素(構造情報PT:「depend」)の場合:
この場合には、図14に示した反映文書作成処理ルーチンEに従って処理が行なわれる。本ルーチンが起動されると、まず、パーツ要素がドロップされた本文文書上の位置をドロップ時のマウスポインタMPの位置情報に基づいて特定する処理を行なう(ステップS600)。次に、当該位置に、パーツ要素のパーツ情報QTを表わす文字列を挿入する処理を行ない(ステップS610)、本ルーチンを終了する。例えば、図11に示した「Q2 どこでご利用になりますか?」という質問文を備えた回答部を必須回答項目とする場合には、「必須回答」というパーツ要素を「?」の直後にドラッグ&ドロップすればよい。こうすれば、Q2の回答部に、<必須>というパーツ情報QTが付与される(図15を参照)。
【0076】
こうした反映文書作成処理ルーチンA〜Eの各処理を図5に示した本文文書TXに対して実行すると、ディスプレイ19aの左画面には、図15に示す本文文書TX1のようなテキスト文書が表示される。このような本文文書TX1に対して、図4のステップS165の本文文書の修正処理により、コメント文ないしフッター文中の「弊社XX」という定型語句が、タイトル文に合わせた「○○FAX」という語句に修正され、図4のステップS180〜ステップS190の処理が実行されることにより、アンケートページの基礎となるHTMLファイルが作成される。こうしたHTMLファイルが、回答を行なう者のパーソナルコンピュータ90からネットワークを介してアクセスされ、ブラウザに解釈されることにより、パーソナルコンピュータ90の画面上には、図16に示すようなアンケートページが表示される。
【0077】
A−5.直接編集処理の内容:
次に、直接編集処理(図4のステップS110)について説明する。既述したように、直接編集処理は、パーツ要素の一覧をイメージ表示させることなく、本文文書をHTML文書に編集する処理である。この処理の具体的な内容を図17に示した。ディスプレイ19aに本文文書が表示された画面上で、マウスポインタMPを本文文書上の所定の位置に配置した状態でマウス20bを右クリックすると、図17に示すように、各パーツ要素の名前が順次に表示された選択ウィンドウが表示される。この選択ウィンドウから所望のパーツ要素が選択されると、上記パーツ要素のドラッグ&ドロップ操作がなされた場合と同様に、選択されたパーツ要素の構造情報PTやパーツ情報QT、選択されたパーツ要素に含まれる定型文や定型語句の文字情報が、本文文書に付加される。こうした直接編集処理によれば、本文文書をHTML文書に編集するに際して、ディスプレイ19aの画面領域をフルに活用することが可能となる。
【0078】
なお、マウス20bが右クリックされたときに、マウスポインタMPの位置情報に基づいて本文文書における範囲WA1,WB0,WB1〜WBn,WBnを特定する処理を行ない、特定された範囲に適用可能なパーツ要素の名前のみを選択ウィンドウに表示する構成(例えば、マウスポインタMPがタイトル文の範囲A1に位置する場合には、選択ウィンドウに、「タイトル」というパーツ要素名を表示し、「フッター」というパーツ要素名を表示しない構成)としてもよい。こうすれば、各範囲WA1,WB0,WB1〜WBn,WBnへの適用が適当でないパーツ要素は選択要素として表示されないので、使用者によるパーツ要素の選択を容易にすることができる。
【0079】
A−6.作用効果:
以上説明したように、本実施例の構造化テキスト作成装置10は、アンケートページが、タイトル部,回答部,送信指示部,フッター部という4つの構成部を備えていることに着目して、上記の4つの各構成部に対応した種々のパーツ要素を、構造情報PTおよびパーツ情報QTと関連付けて予め記憶しておき、表示された本文文書上でのマウス20bのドラッグ&ドロップ操作若しくは右クリック後の選択操作により、各パーツ要素を本文文書に適用する旨を指示し、各パーツ要素の構造情報PTおよびパーツ情報Qを、本文文書における上記4つの構成部に相当する範囲に付加する。こうして本文文書に付加された構造情報PTおよびパーツ情報Qを、対応マップMLを参照してHTML記述用のタグに自動的に置換することにより、テキスト形式の本文文書をHTMLファイル等の構造化テキストに変換する。従って、ウェブページの作成に関する専門的知識を有しない者であっても、ウェブ上で正しく表示されるアンケートの構造化テキストを簡単に作成することができる。例えば、作成者は、アンケートの構造化テキストの作成に際して、タグの入力や、アンケートページには用いられない要素を含む多数の要素からのタイトル要素や回答要素の選別といった煩わしい作業を行なう必要がない。
【0080】
また、本実施例の構造化テキスト作成装置10では、アンケートページの回答部に用いられるパーツ要素として、「単一選択」,「マトリクス単一」,「リスト選択」,「複数選択」,「マトリクス複数」,「自由記入欄(1行)」,「自由記入欄(複数行)」,「必須回答」,「画像」,「区切り線」という複数種類の要素が予め用意されているので、種々の形態のアンケートページを簡単かつ正確に作成することができる。
【0081】
本実施例の構造化テキスト作成装置10は、右画面にイメージ表示されたパーツ要素を、左画面に表示された本文文書上にドラッグ&ドロップすることにより、本文文書を編集するイメージモードを備える。従って、作成者は、各パーツ要素の本文文書への適用や配置に伴う操作を、イメージ表示によって各パーツ要素の形態を確認しながら、簡単かつ確実に行なうことができる。特に、本実施例のように、回答部に用いられるパーツ要素が複数種類ある場合には、各パーツ要素の相違を視覚的に確認することが可能となり、本文文書への誤った適用を防止することができる。
【0082】
「タイトル」,「基本情報」,「送信ボタン」,「フッター」というパーツ要素に関し、各要素に含まれる定型文や定型語句についての文字情報を予め記憶しておき、これらのパーツ要素の本文文書への適用に伴って文字情報を本文文書のデータに挿入する。従って、本文文書の作成や編集を行なう際における文字入力操作の負担を軽減することができる。
【0083】
B.変形例:
上記実施例において作成されたアンケートページでは、回答を行なう者は、全ての回答部について、質問文Q1〜Qnの順に質問文の内容を理解し、回答項目に必要事項を記入することになるが、回答部の中には回答を行なう者にとって回答をする必要のないものもある。例えば、質問文Q2が「質問文Q1に<はい>と答えた方のみお答え下さい」という条件付きのものである場合には、質問文Q2を含む回答部は、Q1で<いいえ>と答えた者にとっては不要な回答部となる。この点に着目し、上記実施例の構造化テキスト作成装置10を、各回答を行なう者に必要な回答部を把握し易い形態でアンケートページの構造化テキストを作成する装置とすることも可能である。
【0084】
具体的には、上記実施例の構造化テキスト作成装置10において、CPU11が、機能部として、本文文書に含まれている複数個の回答部のうちの一の回答部についての回答の結果を入力する回答結果入力部と、該入力された回答結果の内容に応じた他の回答部を複数個の回答部の中から抽出する抽出部とを備えた構成とすると共に、図4のステップS185における本文文書のHTML文書への変換処理を、一の回答部と他の回答部との対応関係を取りながら、本文文書を構造化テキストに変換する構成とすればよい。
【0085】
図18は、回答結果入力部と抽出部の役割を具体例に即して示した説明図である。図18に示すように、質問部Q1を備えた回答部K1において「はい」という回答結果が入力された場合には、入力された「はい」という回答結果に対応する回答部K2が他の回答部として全ての回答部の中から抽出される。こうした回答部K2の抽出は、全ての回答部の中から、質問文に「Q1」,「はい」が含まれる回答部をAND条件で検索することにより実現することができる。一方、質問部Q1を備えた回答部K1において「いいえ」という回答結果が入力された場合には、入力された「いいえ」という回答結果に対応する回答部K3が他の回答部として全ての回答部の中から抽出される。こうした回答部K3の抽出は、全ての回答部の中から、質問文に「Q1」,「いいえ」が含まれる回答部をAND条件で検索することにより実現することができる。
【0086】
なお、回答の結果は、回答を行なう者によって実際に行なわれた回答の結果(つまり、回答を行なう者によるパーソナルコンピュータ90上での回答結果をネットワークNWを介して受信して入力したもの)に限らず、構造化テキスト作成装置10が仮想的に行なった回答の結果(つまり、各回答部に含まれる各回答項目を構造化テキスト作成装置10が指定し、指定された回答項目を回答結果として入力したもの)であってもよい。
【0087】
本文文書をHTML文書に変換する処理(図4のステップS185)が、回答部K1と回答部K2との対応関係や回答部K1と回答部K3との対応関係を取りながら行なわれることで、回答部K1が、回答部K1の回答結果「はい」によって回答部K2に関連付けられ、回答部K1の回答結果「いいえ」によって回答部K3に関連付けられたHTMLファイルが作成される。このようなHTMLファイルがパーソナルコンピュータ90の画面90a上にアンケートページとして表示される。図19は画面90a上へのアンケートページの表示態様の例を示す説明図である。図19(A)は、最初に回答部K1のみを表示しておき、回答部K1の回答項目に回答が入力されて決定ボタンが押されたときに、入力された回答内容に応じた回答部(回答部K2または回答部K3)を表示する、いわゆる一問一答式の表示形態を表わしている。図19(B)は、一の回答部(例えば、回答部K1)の回答内容に応じて進むべき回答部(例えば、「はい」の場合には回答部K2、「いいえ」の場合には回答部K3)がわかるように、全ての回答部を一覧表示しておく表示形態を表わしている。これにより、アンケートページを閲覧して回答をしようとする者は、自己に回答不要な回答部を容易に把握することが可能となる。従って、回答能率の向上を図ることができる。
【0088】
C.応用例:
上記の構造化テキスト作成装置10で作成されたHTMLファイルを利用した装置として、作成されたHTMLファイルがウェブ上でアンケートページとして表示され、該アンケートページの各回答部について回答を行なう者による回答が行なわれた場合に、このアンケートの回答結果を表わすデータを受信して該データを集計する装置(以下、データ集計装置という)を考えることができる。具体的には、CPUやROM,RAM,記憶装置等を備えたデータ集計装置において、CPUが、その機能部として、パーソナルコンピュータ90上で入力された各回答部についての回答結果を表わすデータを、ネットワークNWを介して受け取る受取部と、該受け取った回答結果を表わすデータに基づいて、回答を行なった者を異なる複数の群に分類する分類部と、分類された群ごとの人数等を集計する集計部とを備えた構成を考えることができる。こうすれば、回答を行なった者の特徴や傾向を的確に把握することができる。例えば、回答を行なう者の年齢を記入する回答部についての回答結果を年齢別に集計すれば、回答を行なった者を20代の群,30代の群等に分類することができる。また、回答を行なう者が所持していない製品を記入する回答部についての回答結果を集計すれば、回答を行なった者を、例えば、「プリンタを持っていない群」、「スキャナを持っていない群」等に分類して集計することができる。なお、図19に示した例では、回答結果に応じて回答を行なった者を甲群,乙群,丙群に分類した例を示している。
【0089】
また、上記のデータ集計装置に、回答を行なった者に対する文書(例えば、回答の礼文が記載されたメール文書)を作成する機能を組み込むことも可能である。この場合において、回答を行なった者に対する文書を、回答を行なった者が属する群(上記回答を行なった者による回答結果に応じて分類された群)に応じた内容で作成する構成を付加してもよい。例えば、「プリンタを持っていない群」に分類された者に対しては、礼文の定型文と共に、プリンタの新製品に関する広告文が記載された文書を作成し、「スキャナを持っていない群」に分類された者に対しては、礼文の定型文と共に、スキャナの新製品に関する広告文が記載された文書を作成する構成を考えることができる。こうして作成された文書を回答を行なった者に送信することで、各回答を行なった者に対して、最も購入に結びつき易い製品の広告等を提供することが可能となる。
【0090】
以上本発明の実施の形態を実施例および変形例に基づいて説明したが、本発明はこうした実施例に何等限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々なる様態で実施し得ることは勿論である。
【0091】
例えば、上記実施例における構造化テキスト作成処理では、予め作成された本文文書のデータを入力し(図4のステップS100)、この本文文書のデータに基づいてHTMLファイルを作成することとしたが、このような予め作成された本文文書を入力することなく、HTMLファイルを作成することとしてもよい。具体的には、構造化テキスト作成処理が開始された時に、本文文書の新規作成画面(文字列が何も表示されない画面)を表示し、この新規作成画面上で、キーボード20aやマウス20bを操作して本文文書を作成する構成を考えることができる。
【0092】
上記実施例では、タイトル部,回答部,送信指示部,フッター部のそれぞれに対応したパーツ要素を本文文書に適用する構成としたが、タイトル部,回答部に対応するパーツ要素のみを予め記憶しておき、このパーツ要素を本文文書に適用する構成としてもよい。送信指示部,フッター部は、各種のアンケートに共通の内容とすることが可能な要素であり、本文文書とは別ファイルとして用意することも可能だからである。
【0093】
上記実施例では、図16に示したように、タイトル部,回答部,送信指示部,フッター部が同じページに設けられたアンケートページを作成したが、フッター部を、タイトル部,回答部,送信指示部とは別のアンケートページとして作成しても差し支えない。
【0094】
なお、アンケートでは、通常、アンケート本文の最初にタイトルが配置され、アンケート本文の最後にフッターが、配置される。また、個人情報を記載する回答部は、通常は、回答部の最初または最後に配置されることが多い。こうした点を考慮し、上記の構造化テキスト作成処理において、「タイトル」,「フッター」,「基本情報」というパーツ要素については、その構造情報PTや定型文等が挿入される本文文書上の位置を、それぞれ、本文文書の最初,本文文書の最後,回答部の最初または最後といったように予めデフォルトで定めておき、パーツ要素が本文文書上のどの位置にドロップされた場合であっても上記デフォルト位置に構造情報PTや定型文等を挿入する構成としてもよい。この構成を採れば、図6におけるステップS200,ステップS210の処理、図9におけるステップS305,ステップS310の処理、図13におけるステップS500,ステップS510の処理が不要となり、構造化テキスト作成処理での処理内容をより簡易にすることができる。
【図面の簡単な説明】
【図1】 本発明の実施例である構造化テキスト作成装置10の構成を示す説明図である。
【図2】 各パーツ要素の形態を示す説明図である。
【図3】 各パーツ要素に与えられた構造情報PTおよびパーツ情報QTの内容を示す説明図である。
【図4】 構造化テキスト作成処理ルーチンを示すフローチャートである。
【図5】 構造化テキスト作成装置10に入力される本文文書TXの内容を例示した説明図である。
【図6】 反映文書作成処理ルーチンAを示すフローチャートである。
【図7】 タイトル文の範囲WA1にパーツ要素がドロップされたときのディスプレイ19aの様子を示す説明図である。
【図8】 反映文書作成処理ルーチンAの終了時におけるディスプレイ19aの様子を示す説明図である。
【図9】 反映文書作成処理ルーチンBを示すフローチャートである。
【図10】 パーツ要素がドロップされたときのディスプレイ19aの様子を示す説明図である。
【図11】 反映文書作成処理ルーチンBの終了時におけるディスプレイ19aの様子を示す説明図である。
【図12】 反映文書作成処理ルーチンCを示すフローチャートである。
【図13】 反映文書作成処理ルーチンDを示すフローチャートである。
【図14】 反映文書作成処理ルーチンEを示すフローチャートである。
【図15】 反映文書作成処理ルーチンA〜Eを経て作成された本文文書TX1の一例を示す説明図である。
【図16】 本文文書TX1に基づいて作成されたHTMLファイルによって表示されるアンケートページを示す説明図である。
【図17】 直接編集処理の具体的な内容を示す説明図である。
【図18】 回答結果入力部と抽出部の役割を具体例に即して示した説明図である。
【図19】 画面90a上へのアンケートページの表示態様の例を示す説明図である。
【符号の説明】
10…サーバ
11…CPU
12…ROM
13…RAM
14…記憶装置
15…ディスプレイコントローラ
16…入出力コントローラ
17…ネットワークインタフェース
19…表示装置
19a…ディスプレイ
20…入出力装置
20a…キーボード
20b…マウス
25…CD−RWドライブ
26…フレキシブルディスクドライブ
27…フレキシブルディスク
28…CD−ROM
80…携帯型端末
90…パーソナルコンピュータ
90a…画面
LC1…改行マーク
ML…対応マップ
MP…マウスポインタ
NW…ネットワーク
PT…構造情報
PV…プロバイダ
QT…パーツ情報
TX,TX1…本文文書
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a technique for creating structured text from a document in which the contents of questionnaire questions and the like are described.
[0002]
[Prior art]
Structured text is widely used as a document describing web pages. Here, structured text refers to a text string (hereinafter referred to as a tag) that indicates the appearance of the text to the text as the text to automatically format the document into a display format on the web. As a typical example, there is a document (hereinafter, referred to as an HTML file) described in an HTML (Hyper Text Markup Language) format. An HTML file used as a web page is generally stored in a server connected to the Internet in association with a URL (Uniform Resource Locator). When the HTML file is read into the browser by accessing the server, the browser interprets the tag in the HTML file and formats the document including the text. As a result, a document including components such as forms such as check boxes and buttons and images is displayed on the screen as a web page.
[0003]
Among these web pages, there is a page (hereinafter referred to as a questionnaire page) that contains a questionnaire for the viewer. For example, in order to grasp the customer needs of products, a company publishes a questionnaire page on the network, and it is filled in the free entry column and check box of the questionnaire page as the customer accesses this questionnaire page. There has been proposed a method of collecting the collected information via a network (see, for example, Patent Document 1).
[0004]
[Patent Document 1]
JP 2001-338112 A
[0005]
[Problems to be solved by the invention]
However, in order to publish the questionnaire page on the network, the above-mentioned conventional technology uses the structured text that forms the basis of the questionnaire page as the main body of the questionnaire (the contents of the questionnaire, such as the title, question, answer options, and footer). (Represented by a column) must be created with various tags attached, and there is a problem that it cannot be easily created by those who do not know the type and usage of the tag.
[0006]
On the other hand, if you create a survey page using an application that creates an existing web page (hereinafter referred to as general-purpose web page creation software), you can create a survey page without entering a tag. At the time of creation, it was necessary to learn how to use general-purpose web page creation software, and there was a risk that a great deal of labor and time would be spent in the previous stage of creation. That is, since the general-purpose web page creation software is premised on creating web pages for various purposes, it has a wide variety of options such as layout and design functions, character decoration, and images. For this reason, the questionnaire creator can read the manual, perform trial and error operations, or contact the software creator if they still do not understand, and use the various functions of the general-purpose web page creation software. In addition, it is necessary to select items necessary for creating the questionnaire page from the choices, and there is a risk that a considerable amount of time may be spent on the creation of a document having a simple structure called a questionnaire.
[0007]
Accordingly, the present invention focuses on the fact that the questionnaire document has a fixed structure (for example, a structure including a title part, an answer part for answering a question, and a greeting after answering) in order to solve the above problems. In order to make it possible to easily create structured text of a questionnaire that is correctly displayed on the web even for those who do not have specialized knowledge regarding web page creation, the following configuration is adopted.
[0008]
[Means for solving the problems and their effects]
The structured text creation device of the present invention comprises:
At least for the questionnaire with the text divided into the title part containing the title text and the answer text containing the question text and the content of the answer text, input the text document data describing the text content of the questionnaire A structured text creation device for creating structured text for displaying the body document as a web page based on the input body document data,
Element storage means for preliminarily storing a title element which is an element used for the title part and an answer element which is an element used for the answer part together with element specifying information for specifying each element;
Text document display means for displaying a text document based on the input text document data;
An instruction means for instructing to apply the title element and the answer element to the document constituting the title part and the document constituting the answer part in the displayed text document by a predetermined operation;
Adding means for adding element specifying information about the title element and element specifying information about the answer element to a document constituting the title part and a document constituting the answer part, respectively, based on an instruction by the instruction means;
Conversion means for converting the text document to which the element specifying information is added into a structured text based on the content of the element specifying information;
The main point is that
[0009]
Further, the structured text creation method of the present invention made using the same technology as the structured text creation device, at least a title part including a title sentence and a reply part including the contents of a question sentence and an answer sentence, With regard to a questionnaire having a body text that is classified into two types, the text document data describing the contents of the questionnaire text is input, and the text document is displayed as a web page based on the input text document data. A structured text creation method for creating structured text for
Displaying a text document based on the input text data;
By applying a predetermined operation, a title element that is an element used in the title part and that is stored in advance together with element specifying information for specifying the element is applied to a document constituting the title part in the displayed body document. And the response element stored in advance together with the element specifying information for specifying the element is used for the document constituting the response part in the displayed text document. Instruct
Based on the instruction, element specifying information about the title element and element specifying information about the answer element are added to a document constituting the title part and a document constituting the answer part, respectively.
The gist is to convert the body document to which the element specifying information is added into a structured text based on the content of the element specifying information.
[0010]
According to the structured text creation device and the structured text creation method of the present invention, the data of the text document in which the content of the text of the questionnaire is described with respect to the questionnaire including the text divided into at least the title part and the answer part. To display the text document. The title element which is an element used for the title part and the answer element which is an element used for the answer part are stored in advance together with element specifying information for specifying each element. When it is instructed by a predetermined operation that the title element and the answer element are applied to the document constituting the title part and the document constituting the answer part in the displayed body document, respectively, based on the instructions. Thus, the element specifying information about the title element is added to the document constituting the title part, and the element specifying information about the answer element is added to the document constituting the answer part. The body document to which the element specifying information is added in this way is converted into a structured text based on the content of the element specifying information.
[0011]
In other words, after the questionnaire text document is displayed, the creator simply performs an operation to apply the title element and the answer element to the document constituting the title part and the document constituting the answer part. Specific element specifying information is added to each of the document constituting the part and the document constituting the answer part, and the text document is converted into structured text based on the element specifying information. Therefore, even a person who does not have specialized knowledge regarding creation of a web page can easily create structured text of a questionnaire that is correctly displayed on the web. For example, authors do not need to perform cumbersome tasks such as entering tags and selecting title elements and answer elements from a number of elements, including elements that are not used in the questionnaire page, when creating structured text for a questionnaire .
[0012]
Various developments can be considered for the structured text creation device and the structured text creation method. Hereinafter, a structured text creation device will be described as an example. However, the structured text creation method can be developed in substantially the same manner.
[0013]
It is also preferable that the element storage means is a means for previously storing a plurality of types of answer elements together with element specifying information for specifying each element. In this way, various forms of questionnaire pages can be created easily and accurately.
[0014]
It is also preferable to include editing means for editing the input text document data on the screen on which the text document is displayed. By doing so, it becomes possible to correct the text document after the input (for example, addition or deletion of the answer section) and to secure the degree of freedom of the contents of the questionnaire page.
[0015]
It is also desirable to provide serial number correcting means for correcting the ordinal number attached to each of the plurality of answer sections existing after the addition or deletion when the response section is added or deleted by editing by the editing means. . In this way, it is not necessary to correct the ordinal number included in the document in each answering part with the addition or deletion of the answering part.
[0016]
In addition to the title element and the answer element, the element storage means stores in advance the transmission instruction element used for the instruction to send the answer result and the footer element in which the greeting after the answer is described together with element specifying information for specifying each element. And a placement instruction means for instructing to place a transmission instruction element and a footer element at a predetermined position in the displayed body document by a predetermined operation, and based on an instruction from the placement instruction means. The information specifying means for adding the element specifying information about the transmission instruction element and the element specifying information about the footer element to the text document may be provided. In this way, element identification information about each of the four elements (title element, answer element, transmission instruction element, footer element) is added to the body document, and the body document is structured based on the contents of each element identification information. Converted to text. Therefore, structured text for the entire questionnaire page can be easily created.
[0017]
An image display means for displaying an image of an element stored in advance in the element storage means, the instruction means and the placement instruction means, and the element displayed by the image display means at a predetermined position of the text document displayed by the text document display means It is also preferable to use means for instructing to apply each element and to arrange each element by the operation of moving to each. In this way, the creator can easily perform operations associated with the application and placement of each element (title element, answer element, transmission instruction element, footer element) and placement while confirming the form of each element through image display. And it can be done reliably. In particular, when there are a plurality of types of answer elements, it is possible to visually confirm the difference between the answer elements, and to prevent erroneous application to the text document.
[0018]
The element storage means is means for preliminarily storing character data for the fixed sentence included in each element together with each element and element specifying information for each element, and based on an instruction from the instruction means and the arrangement instruction means, It is also desirable to provide data adding means for adding character data to the text document data. In this way, the fixed sentence is automatically added to the text document in accordance with an instruction to apply and arrange the element. Therefore, it is possible to reduce the burden of character input operations when creating or editing a text document.
[0019]
An answer result input means for inputting an answer result for one answer part of the answer parts when the body document to which the element specifying information is added includes a plurality of answer parts; And an answering part extracting means for extracting another answering part corresponding to the content of the inputted answering result from the plurality of answering parts, wherein the converting means is the one answering part. It is preferable that the text document is converted into structured text while taking correspondence with the other answering units. By displaying such structured text as a questionnaire page, a person who browses the questionnaire page and makes an answer can easily grasp an answer part that does not require an answer. Therefore, the response efficiency can be improved.
[0020]
As an apparatus using the structured text created by the structured text creating apparatus, the created structured text is displayed as a web page, and a reply to the reply unit by a person who made a reply on the web page A data processing apparatus that inputs data representing the result of the answer and processes the data can be considered. In such a data processing device, it is possible to perform a process of counting the answer results of the questionnaire. For example, it is possible to consider a configuration provided with classification means for classifying the person who made the answer into different groups based on the data representing the inputted answer result. By doing so, it is possible to accurately grasp the characteristics and trends of the person who made the answer.
[0021]
In the above data processing apparatus, it is also possible to perform processing for creating a document for the person who made the answer. For example, it is possible to consider a configuration provided with a document creation means for creating a document for a person who has made a reply with contents corresponding to a group to which the person who has made the reply belongs. By sending the document created in this way to the person who made the answer, it is possible to convey only useful information to the person who made the answer, and avoid sending unnecessary information to the person who made the answer Can do.
[0022]
The recording medium of the present invention is
At least for the questionnaire with the text divided into the title part containing the title text and the answer text containing the question text and the content of the answer text, input the text document data describing the text content of the questionnaire A recording medium recording a program for creating structured text for displaying the text document as a web page based on the input text data;
Displaying a text document based on the input text document data;
By applying a predetermined operation, a title element that is an element used in the title part and that is stored in advance together with element specifying information for specifying the element is applied to a document constituting the title part in the displayed body document. And the response element stored in advance together with the element specifying information for specifying the element is used for the document constituting the response part in the displayed text document. A process of instructing
Adding the element specifying information about the title element and the element specifying information about the answer element to the document constituting the title part and the document constituting the answer part based on the instruction,
Converting the body document to which the element specifying information is added into a structured text based on the content of the element specifying information;
The gist of the invention is that a program for causing the computer to execute is recorded on the computer in a readable manner.
[0023]
The program recorded on such a recording medium is read and executed by a computer. The computer executes this program to realize the above structured text creation method. Therefore, by using the recording medium of the present invention in a device having a computer that can read the program, even a person who does not have specialized knowledge about creating a web page can correctly display a questionnaire on the web. You can easily create structured text.
[0024]
In addition, it is also possible to realize the recording medium of the present invention by recording each step included in the above recording medium separately on two or more recording media and combining these two or more recording media.
[0025]
As the recording medium, various recording media such as a flexible disk, a CD-ROM, a DVD-ROM, a semiconductor memory (ROM, PROM, EEPROM, flash memory, etc.) can be used. Of course, these programs can be stored in a server placed on a network such as the Internet, and downloaded to a client computer for use.
[0026]
DETAILED DESCRIPTION OF THE INVENTION
In order to further clarify the configuration and operation of the present invention described above, embodiments of the present invention will be described in the following order.
A. Example
A-1. Overall structure of structured text creation device 10
A-2. Part element types and features
A-3. Structured text creation process
A-4. Contents of the reflected document creation process
A-5. Contents of direct editing process
A-6. Effect
B. Modified example
C. Application examples
[0027]
A. Example:
A-1. Overall structure of structured text creation device 10:
FIG. 1 is an explanatory diagram showing a configuration of a structured text creation device 10 according to an embodiment of the present invention. The structured text creation device 10 is a device that creates structured text that is the basis of a questionnaire page for a questionnaire displayed as a web page (hereinafter referred to as a questionnaire page).
[0028]
As shown in the figure, the structured text creation device 10 includes a CPU 11, a ROM 12, a RAM 13, a nonvolatile storage device 14 such as a hard disk, a display controller 15, an input / output controller 16, a CD, and the CPU 11 connected to each other by a bus. -The RW drive 25, the flexible disk drive 26, the network interface 17 and the like are provided.
[0029]
A keyboard 20a, a mouse 20b, and an input / output device 20 such as a printer are connected to the input / output controller 16, and a display device 19 having a display 19a is connected to the display controller 15.
[0030]
The network interface 17 of the structured text creation device 10 and the network interface of the personal computer 90 possessed by each of the respondents of a large number of questionnaires are respectively connected to an external network NW via a dedicated line of the provider PV. Yes. In addition, the portable terminal 80 possessed by each of the respondents of a large number of questionnaires can be wirelessly connected to an access point AP as a repeater, and the access point AP is connected via a dedicated line of the provider PV. Connected to the network NW. As a result, the structured text creation device 10 can transmit and receive data to and from the personal computer 90 and the portable terminal 80 via the network NW.
[0031]
In the CD-ROM 28 inserted into the CD-RW drive 25, a structured text including the contents of the body document is created based on a text document (hereinafter referred to as a body document) in which the body of the questionnaire is described. A program (hereinafter referred to as a structured text creation program) and various data necessary for executing the structured text creation program are stored. Examples of such various data include image data of part elements (FIG. 2) used for each part of a questionnaire page described later (FIG. 2), structure information PT and information on part information QT (FIG. 3), and structure information PT. And a correspondence map ML that defines the correspondence between the part information QT and tags used for various structured texts.
[0032]
The CPU 11 reads the contents of the structured text creation program via the CD-RW drive 26 and executes it. As a result, a structured text creation process described later is performed. Note that the above-described structured text creation program may be stored in the ROM 12 in advance, or various necessary data may be stored in the storage device 14 or the like in advance. The structured text creation program and the various necessary data described above may be downloaded via the network interface 17 and stored in a medium such as the storage device 14 or CD-R.
[0033]
As will be described later, in the present embodiment, in consideration of the fact that the document format widely used in the personal computer 90 is the HTML format, the case where an HTML file is created as structured text by executing the structured text creation program. It is described as an example. The personal computer 90 includes a browser that supports HTML files.
[0034]
Actually, structured text other than the HTML file can be created by executing the structured text creation program as shown in the following (a) to (e).
(A) Document described in XML (Extensible Markup Language) format
(B) Document described in WML (Wireless Markup Language) format
(C) Document described in C-HTML (Compact HTML) format
(D) Document described in MML (Mobile Markup Language) format
(E) Document described in HDML (Handheld Device Markup Language) format
The structured text creation apparatus 10 includes a browser corresponding to each of the HTML file and the documents (a) to (e).
[0035]
In general, it can be said that the HTML file and the above (a) are document formats suitable for the personal computer 90, and the above (b) to (e) are document formats suitable for the portable terminal 80. According to the personal computer 90 or the portable terminal 80 provided with a browser corresponding to these document formats, the structured text of the created questionnaire can be browsed as a questionnaire page containing documents and images.
[0036]
The flexible disk 27 inserted into the flexible disk drive 26 stores text document data (hereinafter referred to as text document data) to be processed in the structured text creation process in a text format. This text document data is created by a questionnaire planner using Japanese processing software installed on a personal computer. The CPU 11 reads and inputs the text document data stored in the flexible disk 27 with the flexible disk drive 26, and passes the input text document data to the display controller 15. As a result, the content of the text document is displayed on the display device 19.
[0037]
When the keyboard 20a or the mouse 20b performs an operation for instructing character input to the text document data or an operation for instructing element arrangement (described later) with respect to the text document data, the CPU 11 sends the operation signal to the input / output controller 16. And processing for adding text specifying data to the text document data (described later) is executed. As a result, the contents of the edited text document and the contents of the text document to which the element specifying information is added are displayed on the display device 19.
[0038]
Note that the text document data may be stored not in the flexible disk 27 but in a storage device 14 or a medium such as a CD-R. If there is no text document data created in advance, it is possible to create a text document based on a character input operation using the keyboard 20a or the mouse 20b, and input the text data created.
[0039]
A-2. Part element types and features:
In the CD-ROM 28, as various data necessary for executing the structured text creation program, part elements used for each part of the questionnaire page are stored in an image displayable format. The form of each part element is shown in FIG. In this embodiment, the questionnaire page usually has four components: a title part, an answer part for answering the question, a transmission instruction part for instructing the transmission of the answer, and a footer part containing a greeting after the answer. In view of the above, the part elements corresponding to each of the above four components are prepared.
[0040]
Each part element is given structure information PT and part information QT in the form of character information as element specifying information for specifying each part element. The contents of the structure information PT and the part information QT given to each part element are shown in FIG. The structure information PT and the part information QT are stored in the CD-ROM 28 in association with each part element.
[0041]
The structure information PT is information representing which component part of the questionnaire page each part element is used for. When the structure information PT is added to the text document, the CPU 11 can recognize the structure (four components) of the text document by reading the structure information PT in the text document. On the other hand, the part information QT is information representing the characteristics of each part element itself. When the part information QT is given to the text document, the CPU 11 can read the part information QT in the text document and recognize a form, an image, or the like to be inserted into the text document.
[0042]
Each part element shown in FIG. 2 and FIG. 3 will be specifically described. The part element “title” is an element used in the title part of the questionnaire page, and is associated with the structure information PT “Title” and “TitleComment” representing the title part. Specifically, the structure information PT “Title” is associated with the title sentence in the title part, and the structure information PT “TitleComment” is associated with the comment sentence following the title sentence in the title part. As shown in FIG. 2, the part element “title” includes a title sentence “questionnaire title” and a comment sentence “always our products…”. This title sentence is given as image information. This is not reflected in the text document. On the other hand, the comment sentence is given as character information and is reflected in the text document as a fixed sentence as will be described later. In FIG. 2, for each part element, characters that are not reflected in the text document given as image information are shown in italics, and characters that are reflected as standard text in the text document given as text information are shown in normal style.
[0043]
“Basic information”, “Single selection”, “Matrix single”, “List selection”, “Multiple selection”, “Matrix multiple”, “Free entry field (1 line)”, “Free entry field (multiple lines) The part element “” is an element used in the answer part of the questionnaire page, and is associated with the structure information PT “Question-Answer” representing the answer part. Further, specific part information QT is associated with these part elements. For example, the part element “single selection” is given part information QT “single” indicating that the part element used is a radio button (an option in which only one can be selected). The part element “multiple selection” is given part information QT “multiple” indicating that the part element used is a check box (an option that allows two or more selections). The other parts information QT has the following meanings.
<1> “Free”: A free entry field is included in the answer field in the part element.
<2> “Default”: The default option is included in the answer column in the part element.
<3> “Mato single”: The part element used is a matrix type radio button.
<4> “Multiple Mato”: The part element used is a matrix type check box.
<5> “List”: The part element used is a list selection type selection field.
<6>"Free entry 1 line" ... The part element used is a free entry field in which only 1 line can be entered.
<7> “Free entry multiple lines”: The part element used is a free entry field where two or more lines can be entered.
[0044]
The part element “basic information” is used for entering personal information of the respondent. The part element “basic information” includes a question sentence “for the following items…”, a phrase indicating an answer item such as “name” and “gender”, and a phrase indicating an answer option such as “male” and “female”. Are given as character information, and these sentences and phrases are reflected in the text document as fixed phrases and fixed phrases.
[0045]
On the other hand, the parts "single selection", "matrix single", "list selection", "multiple selection", "matrix multiple", "free entry field (1 line)", "free entry field (multiple lines)" In the element, a question sentence, a reply item, and a phrase representing a reply option are given as image information, and these sentences and phrases are not reflected in the text document as a fixed sentence or a fixed phrase.
[0046]
Part elements such as “required answer”, “image”, and “partition line” are elements used in any of the four constituent parts of the questionnaire page, and indicate that they depend on the structural information PT of the constituent parts used. It is associated with the structure information PT “depend”. In addition, the part information “essential answer” is provided with part information QT “required” indicating that the answer part is an essential answer item, and the part elements “image” and “separator” , Part information QT “R: ¥ Data ¥...” Indicating the storage destination of the image to be used is given. The part element “required answer” has character information “required answer”, and this character information is reflected in the text document as a fixed sentence.
[0047]
The part element “transmission button” is an element used in the transmission instruction part of the questionnaire page, and is associated with the structure information PT “Link” representing the transmission instruction part. Further, the part information is associated with part information QT “tokyokyotsuo @...” Indicating the address of the transmission destination of the data representing the answer contents. Note that the phrase “send” included in this part element is given as character information and is reflected in the text document as a fixed phrase as will be described later.
[0048]
The part element “footer” is an element used in the footer part of the questionnaire page, and is associated with the structure information PT “End” representing the footer part. In addition, as shown in FIG. 2, the part element “Footer” has a greeting sentence “Thank you for your reply ...” and a phrase that expresses the questionnaire creator “Practical use of patents…” All of these are given as character information, and are reflected in the text document as fixed phrases or fixed phrases as described later.
[0049]
A-3. Contents of structured text creation process:
Next, the contents of the structured text creation process performed using such a part element and a text document will be described. FIG. 4 is a flowchart showing a structured text creation processing routine. When this routine is started, first, the text document data stored in the flexible disk 27 is input, and the text document is displayed on the display 19a of the display device 19 (step S100).
[0050]
Next, a process of determining whether or not a mode for editing a text document into an HTML document (hereinafter referred to as an image mode) is set while displaying an image of a part element (step S105). The image mode setting is switched between ON (set state) and OFF (not set state) when the user selects a setting tab on the screen displayed on the display 19a. Can do.
[0051]
If it is determined that the image mode is set, the display screen on the display 19a is divided into two vertically and the text document is displayed on the left screen (hereinafter referred to as the left screen). Then, a process of displaying an image of a list of part elements as shown in FIG. 2 on the right screen (hereinafter referred to as the right screen) is performed (step S120). Next, it is determined whether or not the part element on the right screen has been moved and arranged on the text document on the left screen (step S125). That the part element is moved and arranged is determined by detecting a drag and drop operation of the mouse 20b on the displayed part element. If it is determined that the part element is moved and arranged on the text document, the structure information PT and the part information QT associated with the part element are added to the text document to generate a text document reflecting this addition (step S130 to S135), a process of displaying the text document after reflection is performed (step S140). On the other hand, if it is determined in step S105 that the image mode is not set, a direct editing process for editing the text document into an HTML document without displaying an image is executed (step S110). Details of the processes in steps S130 to S135 and the process in step S110 will be described later.
[0052]
Next, it is determined whether or not there is an instruction to perform layout display (step S150). If it is determined that there is an instruction, the page form when the text document being edited is displayed as a web page is displayed on another screen. Processing (layout display processing) is performed (step S155). In such layout display, the structure information PT and the part information QT given to the text document are replaced with the corresponding HTML description tags with reference to the correspondence map ML described above, and the converted text with the tag is converted. This is realized by interpreting a document by a browser corresponding to HTML.
[0053]
Next, it is determined whether or not there is an instruction to correct the body document (step S160). If it is determined that there is an instruction, the instruction is displayed on the left screen based on the operation of the keyboard 20a and the mouse 20b by the user. Correction processing (text document correction processing) such as addition or deletion of characters is performed on the text document (step S165). By providing such correction processing, the degree of freedom of the contents of the questionnaire page can be secured.
[0054]
Next, it is determined whether or not there is an instruction to confirm the content of the text document being edited (step S170). If it is determined that there is an instruction, a process of storing the text document in the storage device 14 in text format is performed. Along with (Step S180), the body text document is converted into an HTML document (Step S185), the process of saving the HTML file generated by this conversion in the storage device 14 is performed (Step S190), and this routine is terminated. As with the layout display process described above, conversion of the text document into an HTML document is performed by referring to the correspondence map ML described above for the structure information PT and part information QT assigned to the text document. This is realized by replacing with a tag for HTML description.
[0055]
Specific contents of the processing in steps S130 to S135 (reflected document creation processing) and step S110 (direct editing processing) will be described.
[0056]
A-4. Contents of the reflected document creation process:
The content of the reflected text creation process differs depending on the type of part element dragged and dropped onto the body document on the left screen. For this reason, after the process of step S125 shown in FIG. 4 is completed, the type of the dragged and dropped part element is specified based on the structure information PT, and the process according to the type of the part element (reflected document creation process) Routines A through E) are performed. Hereinafter, the processing contents of the reflection document creation processing routines A to E will be described with reference to a specific example of an interface in the middle of processing. In this specific example, it is assumed that data of the text document TX having the contents shown in FIG.
[0057]
A-4-1. For the part element “structure” (structure information PT: “Title”, “TitleComment”):
In this case, processing is performed according to the reflected document creation processing routine A shown in FIG. 7 and 8 show the state of the display 19a when each process of the reflected document creation processing routine A is performed on the data of the text document TX. FIGS. 7 and 8 show the state of the display 19a when the part element is dropped in the title sentence range WA1 and when the reflected document creation processing routine A is completed.
[0058]
When this routine is started, first, a title sentence range WA1 is specified from the text document (step S200), and a process is performed to determine whether or not a part element has been dropped in this range WA1 (step S210). In this embodiment, considering that the title sentence is usually at the beginning of the text document, the range from the first character of the text document to the first line feed mark LC1 is specified as the title sentence range WA1, and this range WA1 When the mouse pointer MP at the time of dropping is positioned inside, it is determined that the part element is dropped in the range WA1 (see FIG. 7). Of course, other criteria may be used for judgment.
[0059]
In the process of step S210, when it is determined that the part element is dropped in the title sentence range WA1, the structure information PT (Title) of the part element is assigned to the range WA1 (step S220). A process of inserting a character string “Title:” at the beginning of the document is performed (step S230), and a comment sentence that is a fixed phrase is inserted after the range WA1 (specifically, immediately after the line feed mark LC1). Processing is performed (step S240). Next, the structure information PT “TitleComment” is given to the inserted comment sentence range WA2 (step S250), and a process of inserting a character string “TitleComment:” at the head of the document in the range WA2 is performed (step S250). S260) (see FIG. 8 above). Next, a process of specifying the range WA1 and the range WA2 in the text document TX as the range WA of the document constituting the title part is performed (step S270), and this routine is finished. In FIG. 8, a fixed phrase “our company XX” is inserted in the comment sentence. This fixed phrase is unique by the above-described text document correction processing (step S165 in FIG. 4). Can be corrected to a word or phrase (for example, a word “XX FAX” that matches the title sentence of the text document TX shown in FIG. 5).
[0060]
On the other hand, in the process of step S210, when it is determined that the part element is not dropped in the title sentence range WA1, the application part of the part element is regarded as incorrect, and this routine is terminated. As a result, it is possible to prevent information relating to the title part from being given to components other than the title part in the text document (answer part, transmission instruction part, footer part).
[0061]
A-4-2. “Basic information”, “Single selection”, “Matrix single”, “List selection”, “Multiple selection”, “Matrix multiple”, “Free entry field (1 line)”, “Free entry field (multiple lines) "Is a part element (structure information PT:" Question-Answer "):
In this case, processing is performed according to the reflected document creation processing routine B shown in FIG. 10 and 11 show the state of the display 19a when each process of the reflected document creation processing routine B is performed on the data of the text document TX. FIGS. 10 and 11 show the state of the display 19a when the part element is dropped and when the reflected document creation processing routine B ends.
[0062]
When this routine is started, first, a process of determining whether or not the part element dragged and dropped onto the text document is “basic information” (step S300). If it is determined that the part element is “basic information”, the input text document does not have an answer section that contains personal information such as the name and gender of the respondent. A range WB0 with the first answering unit is specified (step S305), and a process for determining whether or not a part element has been dropped in this range WB0 is performed (step S310). Specifically, the character “Q1” is searched from the text document, and a range including a space and a line feed mark located before the character “Q1” is specified as a range WB0 (see FIG. 10). Of course, other criteria may be used for judgment.
[0063]
If it is determined in step S300 that the part element is not “basic information”, the range of documents WB1 to WBn constituting the answer part from the text document (n represents the ordinal number of the question sentence or the ordinal number of the answer part) Is specified (step S315), and a process of determining whether or not a part element has been dropped in the ranges WB1 to WBn is performed (step S320). The question text in the answer section usually has a letter “Q” indicating that it is a question text, Q1 to Qn (n represents the ordinal number of the question text or the ordinal number of the answer text) immediately before the question text, and the question text. Or the letters “1 to n” indicating the ordinal number of the answer part are attached. In consideration of this, in this embodiment, the range from the character “Q (i)” (i is an integer from 1 to n−1) to the character located immediately before the character “Q (i + 1)” When the mouse pointer MP at the time of dropping is located in each of the ranges WB1 to WBn, it is determined that the part element has been dropped in the ranges WB1 to WBn. See FIG. Of course, other criteria may be used for judgment.
[0064]
If it is determined in step S310 and step S320 that the part element is not dropped in the range WB0, the range WB1 to WBn, the application part of the part element is regarded as incorrect, and this routine is terminated. As a result, it is possible to prevent information relating to the answer part from being assigned to the constituent parts (title part, transmission instruction part, footer part) other than the answer part in the text document.
[0065]
On the other hand, if it is determined in step S310 and step S320 that the part element is dropped in the range WB0 and the range WB1 to WBn, the structure information PT (Question− of the part element is included in the range WB0 and the range WB1 to WBn. (Answer) is added, and a character string “Question-Answer:” is inserted at the head of the document in the range WB0 and the range WB1 to WBn (step S330). In addition, immediately after the character string “Question-Answer:” inserted in the range WB0, a fixed sentence or a fixed phrase for entering personal information (in the example shown in FIG. And a question sentence such as “name” and “sex”, and phrases indicating answer choices such as “male” and “female” are inserted (step S340). If some of the answer items inserted in this way are unnecessary, unnecessary answer items and answer options can be deleted in the above-described text document correction process (step S165 in FIG. 4).
[0066]
After this processing is completed, the part information QT of the part element is assigned to the range WB0 and the range WB1 to WBn, and a character string representing the part information QT is added to a predetermined position of the document in the range WB0 and the range WB1 to WBn. Insertion processing is performed (step S350). For example, in FIG. 11, a character string representing the name of the part information QT such as <free>, <single>, and <default> is inserted by dropping the part element "basic information". Moreover, a character string representing the name of the part information QT such as <single>, <default>, <free>, etc. is inserted by dropping the part element "single selection".
[0067]
Next, a character string consisting of a series of “Q” and “number” located immediately after the structure information PT (Question-Answer) is specified from the text document, and the “number” represents the ordinal number of the question sentence or the answer part. As described above, the process of correcting the “number” to the serial number is performed (step S360). In other words, in response to the addition of a fixed sentence or fixed phrase for entering personal information to the text document in step S340, the question sentence or the ordinal number of the answer part is automatically re-corrected. The correspondence between the “number” before the serial number correction and the “number” after the serial number correction is temporarily stored in the RAM 13. Subsequently, a character string composed of a series of “Q” and “number” positioned other than immediately after the structure information PT (Question-Answer) is specified, and this “number” is consecutively connected with the “number” before the serial number correction. Correction processing is performed based on the correspondence with the “number” after the number correction (step S370), and this routine ends.
[0068]
For example, in the text document, there are two question sentences, “Q1 ...?” And “Q2 Please answer only those who answered Q1 ...”. By the process of step S360, “Q1…?” When the question text changes to a question text “Q2…?”, The question text “Please answer only those who answered yes to Q2 Q1. Please answer only the person who answered .... "and the question sentence" Please answer only those who answered that it is not Q3 Q2 ... "by the process of step S370. Thereby, it is possible to maintain a correct citation relationship with respect to a question sentence in which the ordinal number of another question sentence is cited.
[0069]
Note that the processing in steps S360 to S370 described above is also performed as appropriate in the above-described text document correction processing (step S165 in FIG. 4). As a result, even if a new response part is added to the text document or a response part is deleted or deleted, the question text or answer part included in the document in each answer part It is not necessary to perform ordinal number correction work, and the ordinal numbers of the question sentence or the answer part in the text document can be automatically brought into a consistent state.
[0070]
A-4-3. In the case of a part element (structure information PT: “Link”) called “send button”:
In this case, processing is performed according to the reflected document creation processing routine C shown in FIG. When this routine is started, first, a process of specifying the position on the body document where the part element is dropped based on the position information of the mouse pointer MP at the time of dropping is performed (step S400). Next, the structure information PT (Link) of the part element is given to the position, and a process of inserting a character string “Link:” and a fixed phrase “send” is performed (steps S410 and S420).
[0071]
After the end of this process, part information QT (address of the transmission destination of the data representing the response contents) is given, and after the character string “transmission”, a character string <tokyokyotsuyo @ ...> representing the part information QT Is inserted (step S430), and this routine is terminated. The range of the character string thus inserted becomes a transmission instruction part in the text document.
[0072]
A-4-4. For a part element called “footer” (structure information PT: “End”):
In this case, processing is performed according to the reflected document creation processing routine D shown in FIG. When this routine is started, first, the range WBn of the document constituting the last answer section is specified from the body text document (step S500), and whether or not a part element has been dropped after this range WBn is determined. A determination process is performed based on the position information of the mouse pointer MP (step S510).
[0073]
When it is determined that the part element has been dropped after the range WBn, the structure information PT (End) of the part element is added after the range WBn (step S520), and the character string “End:” is inserted. (Step S530), and after the character string “End:”, a process of inserting a greeting that is a fixed phrase or a phrase representing a questionnaire creator that is a fixed phrase is performed (step S540). Exit. It should be noted that the phrase representing the inserted questionnaire creator can be appropriately corrected by the above-described text document correction processing (step S165 in FIG. 4).
[0074]
On the other hand, if it is determined in step S510 that the part element has not been dropped after the range WBn, it is determined that the part element application location is incorrect, and this routine is terminated. As a result, it is possible to prevent information relating to the footer part from being assigned to components other than the footer part in the text document (answer part, transmission instruction part, title part).
[0075]
A-4-5. In the case of part elements (structure information PT: “depend”) of “mandatory answer”, “image”, and “partition line”:
In this case, processing is performed according to the reflected document creation processing routine E shown in FIG. When this routine is started, first, a process of specifying the position on the body document where the part element is dropped based on the position information of the mouse pointer MP at the time of dropping is performed (step S600). Next, processing for inserting a character string representing the part information QT of the part element is performed at the position (step S610), and this routine is terminated. For example, in the case where the answer section having the question sentence “Q2 Where do you use it?” Shown in FIG. 11 is an essential answer item, the part element “essential answer” is placed immediately after “?”. Just drag and drop. In this way, the part information QT <required> is given to the answering part of Q2 (see FIG. 15).
[0076]
When each of the reflected document creation processing routines A to E is executed on the text document TX shown in FIG. 5, a text document such as the text document TX1 shown in FIG. 15 is displayed on the left screen of the display 19a. The With respect to such a text document TX1, the fixed phrase “our company XX” in the comment sentence or footer sentence is changed to the phrase “XX FAX” in accordance with the title sentence by the correction processing of the text document in step S165 of FIG. The HTML file that is the basis of the questionnaire page is created by executing the processing of steps S180 to S190 in FIG. Such an HTML file is accessed from the personal computer 90 of the responding person via the network and interpreted by the browser, whereby a questionnaire page as shown in FIG. 16 is displayed on the screen of the personal computer 90. .
[0077]
A-5. Contents of direct editing process:
Next, the direct editing process (step S110 in FIG. 4) will be described. As described above, the direct editing process is a process of editing a text document into an HTML document without displaying an image of a list of part elements. The specific contents of this processing are shown in FIG. When the mouse 20b is right-clicked on the screen on which the text document is displayed on the display 19a and the mouse pointer MP is placed at a predetermined position on the text document, the names of the respective part elements are sequentially displayed as shown in FIG. The selection window displayed in is displayed. When a desired part element is selected from this selection window, the structure information PT and part information QT of the selected part element and the selected part element are displayed in the same manner as when the drag and drop operation of the part element is performed. The text information of the included fixed phrases and fixed phrases is added to the text document. According to such direct editing processing, it is possible to make full use of the screen area of the display 19a when editing a text document into an HTML document.
[0078]
Note that when the mouse 20b is right-clicked, a process for specifying the ranges WA1, WB0, WB1 to WBn, WBn in the text document is performed based on the position information of the mouse pointer MP, and the parts applicable to the specified range. A configuration in which only the element name is displayed in the selection window (for example, when the mouse pointer MP is positioned in the title sentence range A1, the part element name “title” is displayed in the selection window, and the part “footer” is displayed. The element name may not be displayed). In this way, since the part elements that are not suitable for application to the ranges WA1, WB0, WB1 to WBn, WBn are not displayed as selection elements, the user can easily select the part elements.
[0079]
A-6. Effect:
As described above, the structured text creating apparatus 10 according to the present embodiment pays attention to the fact that the questionnaire page includes four components, ie, a title part, an answer part, a transmission instruction part, and a footer part. Are stored in advance in association with the structure information PT and the part information QT, and after a drag-and-drop operation of the mouse 20b on the displayed body document or right-clicking. Is selected to apply each part element to the text document, and the structure information PT and part information Q of each part element are added to the range corresponding to the above four components in the text document. The structure information PT and the part information Q thus added to the text document are automatically replaced with HTML description tags with reference to the correspondence map ML, so that the text-format text document is structured text such as an HTML file. Convert to Therefore, even a person who does not have specialized knowledge regarding creation of a web page can easily create structured text of a questionnaire that is correctly displayed on the web. For example, authors do not need to perform cumbersome tasks such as entering tags and selecting title elements and answer elements from a number of elements, including elements that are not used in the questionnaire page, when creating structured text for a questionnaire .
[0080]
Further, in the structured text creation device 10 of the present embodiment, “single selection”, “matrix single”, “list selection”, “multiple selection”, “matrix” are used as the part elements used in the answer section of the questionnaire page. Multiple types of elements such as “multiple”, “free entry field (1 line)”, “free entry field (multiple lines)”, “required answer”, “image”, “separator” are prepared in advance. A questionnaire page in the form of can be created easily and accurately.
[0081]
The structured text creation apparatus 10 of this embodiment includes an image mode for editing a body document by dragging and dropping a part element displayed on the right screen onto the body document displayed on the left screen. Therefore, the creator can easily and reliably perform operations associated with application and arrangement of each part element to the text document while confirming the form of each part element by image display. In particular, as in this embodiment, when there are a plurality of types of part elements used in the answering section, it is possible to visually confirm the difference between each part element, and prevent erroneous application to the text document. be able to.
[0082]
For the part elements "title", "basic information", "send button", and "footer", character information about the fixed phrases and fixed phrases included in each element is stored in advance, and the text document of these part elements The character information is inserted into the data of the text document along with the application. Therefore, it is possible to reduce the burden of character input operations when creating or editing a text document.
[0083]
B. Variations:
In the questionnaire page created in the above embodiment, the respondent understands the contents of the question sentences in the order of the question sentences Q1 to Qn and fills in the necessary items in the answer items for all answer parts. Some answerers do not need to answer for those who answer. For example, if the question sentence Q2 is conditional, “Please answer only those who answered <yes> to question sentence Q1”, the answering section including the question sentence Q2 replied <no> in Q1. It becomes an unnecessary answer section for the person. Focusing on this point, the structured text creation device 10 of the above embodiment can be a device that creates the structured text of the questionnaire page in a form that makes it easy for the person who makes each answer to grasp the answer section required. is there.
[0084]
Specifically, in the structured text creation device 10 of the above-described embodiment, the CPU 11 inputs a result of an answer for one answer part among a plurality of answer parts included in the text document as a function part. 4 and in step S185 in FIG. 4, the answer result input unit is configured to extract the other answer units corresponding to the contents of the input answer result from the plurality of answer units. The conversion process of the text document into the HTML document may be configured to convert the text document into structured text while taking the correspondence between one answer section and another answer section.
[0085]
FIG. 18 is an explanatory diagram showing the roles of the answer result input unit and the extraction unit in accordance with a specific example. As shown in FIG. 18, when the answer result “yes” is input in the answer part K1 including the question part Q1, the answer part K2 corresponding to the inputted answer result “yes” As a part, it is extracted from all answer parts. Such extraction of the answer part K2 can be realized by searching for answer parts including “Q1” and “Yes” in the question sentence from all answer parts using an AND condition. On the other hand, when the answer result “No” is inputted in the answer part K1 including the question part Q1, the answer part K3 corresponding to the inputted answer result “No” is set as all other answer parts. Extracted from the part. Such extraction of the answer part K3 can be realized by searching for answer parts in which "Q1" and "No" are included in the question sentence from all answer parts using an AND condition.
[0086]
Note that the result of the answer is the result of the answer actually made by the person making the answer (that is, the answer result on the personal computer 90 received by the person making the answer is received via the network NW and input). Not limited to, the result of the answer virtually made by the structured text creation device 10 (that is, the structured text creation device 10 designates each answer item included in each answer section, and the designated answer item is used as the answer result) Input).
[0087]
The process of converting the text document into an HTML document (step S185 in FIG. 4) is performed while taking the correspondence between the answering part K1 and the answering part K2 and the correspondence between the answering part K1 and the answering part K3. An HTML file is created in which the part K1 is associated with the answer part K2 by the answer result “Yes” of the answer part K1, and is associated with the answer part K3 by the answer result “No” of the answer part K1. Such an HTML file is displayed on the screen 90a of the personal computer 90 as a questionnaire page. FIG. 19 is an explanatory diagram showing an example of a display mode of a questionnaire page on the screen 90a. In FIG. 19A, only the answer part K1 is displayed first, and when an answer is entered in the answer item of the answer part K1 and the enter button is pressed, the answer part corresponding to the entered answer content A so-called one-question-and-answer-type display form for displaying (answer part K2 or answer part K3) is shown. FIG. 19B shows an answer section (for example, answer section K2 in the case of “Yes”, answer in the case of “No”, which should proceed according to the answer contents of one answer section (eg, answer section K1). In order to understand the part K3), a display form in which all answer parts are displayed in a list is shown. As a result, a person who browses the questionnaire page and makes an answer can easily grasp an answer part that does not require an answer. Therefore, the response efficiency can be improved.
[0088]
C. Application example:
As a device that uses the HTML file created by the structured text creation device 10 described above, the created HTML file is displayed as a questionnaire page on the web, and a response by a person who answers each answer part of the questionnaire page is received. When performed, it is possible to consider a device (hereinafter referred to as a data counting device) that receives data representing the answer results of the questionnaire and totals the data. Specifically, in a data totaling device having a CPU, ROM, RAM, storage device, and the like, the CPU represents, as its function unit, data representing the answer results for each answer unit input on the personal computer 90, Based on the receiving unit received via the network NW, the data indicating the received answer result, the classifying unit for classifying the respondents into different groups, and the number of persons for each group classified A configuration including a totaling unit can be considered. By doing so, it is possible to accurately grasp the characteristics and trends of the person who made the answer. For example, if the answer results for the answer section for entering the age of the person making the answer are tabulated by age, the person who made the answer can be classified into a group of 20's, a group of 30's, and the like. In addition, if the answer results for the answer section that fills in the products that the answerer does not have are aggregated, the respondents can be identified as, for example, "no printer" or "no scanner" The data can be classified into “groups” or the like. The example shown in FIG. 19 shows an example in which the person who made an answer according to the answer result is classified into the group A, the group B, and the group 丙.
[0089]
Further, it is possible to incorporate a function for creating a document (for example, a mail document in which a thank-you note of an answer is written) for a person who has made an answer into the data totaling apparatus. In this case, a structure for creating a document for the person who made the answer with contents according to the group to which the person making the answer belongs (group classified according to the answer result by the person making the answer) is added. May be. For example, for those who are classified as "groups that do not have a printer", create a document that includes the standard text of the remarks and the advertising texts related to the new product of the printer. For those who are categorized as (1), a configuration can be considered in which a document in which an advertisement text relating to a new scanner product is written together with a fixed text of a thank-you text. By sending the document created in this way to the person who made the answer, it becomes possible to provide advertisements of products that are most likely to be purchased to the person who made the answer.
[0090]
Although the embodiments of the present invention have been described based on examples and modifications, the present invention is not limited to these examples, and can be implemented in various modes without departing from the scope of the present invention. Of course you can.
[0091]
For example, in the structured text creation process in the above embodiment, data of a text document created in advance is input (step S100 in FIG. 4), and an HTML file is created based on the data of the text document. An HTML file may be created without inputting such a text document created in advance. Specifically, when the structured text creation process is started, a new text document creation screen (a screen on which no character string is displayed) is displayed, and the keyboard 20a and mouse 20b are operated on the new text creation screen. Thus, a configuration for creating a text document can be considered.
[0092]
In the above embodiment, the part elements corresponding to the title part, the answer part, the transmission instruction part, and the footer part are applied to the text document. However, only the part elements corresponding to the title part and the answer part are stored in advance. In addition, the configuration may be such that this part element is applied to the text document. This is because the transmission instruction section and the footer section are elements that can be shared by various questionnaires, and can be prepared as a separate file from the text document.
[0093]
In the above embodiment, as shown in FIG. 16, a questionnaire page in which a title part, an answer part, a transmission instruction part, and a footer part are provided on the same page is created. It may be created as a questionnaire page separate from the instruction section.
[0094]
In a questionnaire, a title is usually arranged at the beginning of the questionnaire text, and a footer is arranged at the end of the questionnaire text. In addition, the answering section describing personal information is usually arranged at the beginning or end of the answering part. In consideration of these points, in the above structured text creation process, for the part elements such as “title”, “footer”, and “basic information”, the position on the text document in which the structural information PT, fixed sentence, etc. are inserted Are determined in advance by default, such as the beginning of the body document, the end of the body document, the beginning or the end of the response part, and the above defaults regardless of where the part element is dropped on the body document. It is good also as a structure which inserts structure information PT, a fixed sentence, etc. in a position. If this configuration is adopted, the processing in steps S200 and S210 in FIG. 6, the processing in steps S305 and S310 in FIG. 9, and the processing in steps S500 and S510 in FIG. The contents can be simplified.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram showing a configuration of a structured text creation device 10 according to an embodiment of the present invention.
FIG. 2 is an explanatory diagram showing the form of each part element.
FIG. 3 is an explanatory diagram showing contents of structure information PT and part information QT given to each part element;
FIG. 4 is a flowchart showing a structured text creation processing routine.
FIG. 5 is an explanatory diagram illustrating the contents of a text document TX input to the structured text creation device 10;
FIG. 6 is a flowchart showing a reflected document creation processing routine A.
FIG. 7 is an explanatory diagram showing a state of the display 19a when a part element is dropped in a title sentence range WA1.
FIG. 8 is an explanatory diagram showing a state of the display 19a at the end of the reflected document creation processing routine A.
FIG. 9 is a flowchart showing a reflection document creation processing routine B;
FIG. 10 is an explanatory diagram showing a state of the display 19a when a part element is dropped.
FIG. 11 is an explanatory diagram showing a state of the display 19a at the end of the reflected document creation processing routine B.
FIG. 12 is a flowchart showing a reflected document creation processing routine C;
FIG. 13 is a flowchart showing a reflection document creation processing routine D;
FIG. 14 is a flowchart showing a reflection document creation processing routine E;
FIG. 15 is an explanatory diagram showing an example of a text document TX1 created through reflected document creation processing routines A to E.
FIG. 16 is an explanatory diagram showing a questionnaire page displayed by an HTML file created based on the text document TX1.
FIG. 17 is an explanatory diagram showing specific contents of direct editing processing;
FIG. 18 is an explanatory diagram showing roles of an answer result input unit and an extraction unit according to a specific example.
FIG. 19 is an explanatory diagram showing an example of a display mode of a questionnaire page on the screen 90a.
[Explanation of symbols]
10 ... Server
11 ... CPU
12 ... ROM
13 ... RAM
14 ... Storage device
15 ... Display controller
16 ... I / O controller
17 ... Network interface
19 ... Display device
19a ... Display
20 ... I / O device
20a ... Keyboard
20b ... mouse
25 ... CD-RW drive
26 ... Flexible disk drive
27 ... Flexible disk
28 ... CD-ROM
80 ... Portable terminal
90 ... Personal computer
90a ... screen
LC1 ... Line feed mark
ML ... correspondence map
MP ... Mouse pointer
NW ... Network
PT: Structure information
PV ... Provider
QT ... Parts information
TX, TX1 ... Full text document

Claims (11)

少なくとも、タイトル文が含まれるタイトル部と質問文および回答文の内容が含まれる回答部とに区分される本文を備えたアンケートに関し、該アンケートの本文の内容が記述された本文文書のデータを入力し、該入力された本文文書のデータに基づいて、該本文文書をウェブページとして表示するための構造化テキストを作成する構造化テキスト作成装置であって、
前記タイトル部に用いられる要素であるタイトル要素,前記回答部に用いられる要素である回答要素、および前記回答後の挨拶文が記述されたフッター要素を、各要素を特定する要素特定情報と共に予め記憶する要素記憶手段と、
前記要素記憶手段に予め記憶された要素をイメージ表示するイメージ表示手段と、
前記入力された本文文書のデータに基づいて本文文書を表示する本文文書表示手段と、
前記イメージ表示手段により表示された要素を前記本文文書表示手段により表示された本文文書中の適用対象文書の位置に移動させる操作の入力に応じて、前記表示された本文文書におけるタイトル部を構成する文書、回答部を構成する文書、フッター部を構成する文書に対し、それぞれ、前記タイトル要素、前記回答要素、前記フッター要素を適用する旨を指示する指示手段と、
該指示手段による指示に基づいて、前記タイトル要素についての要素特定情報,前記回答要素についての要素特定情報、および前記フッター要素についての要素特定情報を、それぞれ、タイトル部を構成する文書、回答部を構成する文書、およびフッター部を構成する文書に付加する付加手段と、
前記要素特定情報と構造化テキスト記述用タグとの対応関係を格納する対応マップを有し、前記要素特定情報が付加された本文文書を、前記対応マップを参照して前記要素特定情報を前記構造化テキスト記述用タグに自動的に置換することにより、構造化テキストに変換する変換手段と、
を備え、
前記指示手段は、前記タイトル要素と前記フッター要素の少なくとも一方については、前記表示された本文文書中の任意の場所に移動させる操作の入力に応じて、予め定められた位置の文書に適用する構造化テキスト作成装置。
At least for the questionnaire with the text divided into the title part containing the title text and the answer text containing the question text and the content of the answer text, input the text document data describing the text content of the questionnaire A structured text creation device for creating structured text for displaying the body document as a web page based on the input body document data,
A title element that is an element used in the title part, an answer element that is an element used in the answer part, and a footer element in which a greeting after the answer is described are stored in advance together with element specifying information that specifies each element. Element storage means for
Image display means for image-displaying elements stored in advance in the element storage means;
Text document display means for displaying a text document based on the input text document data;
A title portion in the displayed text document is configured in response to an input of an operation for moving the element displayed by the image display means to the position of the application target document in the text document displayed by the text document display means. An instruction means for instructing to apply the title element, the answer element , and the footer element to the document, the document constituting the answer part, and the document constituting the footer part , respectively;
Based on the instruction by the instruction means, the element specifying information about the title element, the element specifying information about the answer element, and the element specifying information about the footer element, respectively, a document constituting the title part, an answer part, Adding means for adding to the document constituting the footer part;
A correspondence map for storing a correspondence relationship between the element identification information and the structured text description tag, and referring to the body map to which the element identification information is added, referring to the correspondence map, the element identification information as the structure Conversion means for converting to structured text by automatically substituting the tag for structured text description,
With
The instruction means has a structure that applies at least one of the title element and the footer element to a document at a predetermined position in response to an input of an operation for moving the title element or the footer element to an arbitrary place in the displayed body document. Text creation device.
前記要素記憶手段は、複数種類の前記回答要素を、各要素を特定する要素特定情報と共に予め記憶する手段である請求項1に記載の構造化テキスト作成装置。  2. The structured text creation device according to claim 1, wherein the element storage means is means for previously storing a plurality of types of answer elements together with element specifying information for specifying each element. 前記入力された本文文書のデータを、前記本文文書が表示された画面上で編集する編集手段を備えた請求項1または2に記載の構造化テキスト作成装置。  3. The structured text creation device according to claim 1, further comprising editing means for editing the input text document data on a screen on which the text document is displayed. 前記編集手段による編集により前記回答部の追加または削除がなされたとき、該追加後または削除後に存在する複数の各回答部に付されている序数を連番に修正する連番修正手段を備えた請求項3に記載の構造化テキスト作成装置。  When the answer part is added or deleted by editing by the editing means, it is provided with serial number correcting means for correcting the ordinal number attached to each of the plurality of answer parts existing after the addition or deletion to serial numbers. The structured text creation device according to claim 3. 請求項1ないし4のいずれかに記載の構造化テキスト作成装置であって、
前記要素記憶手段は、前記タイトル要素,前記回答要素に加えて、回答結果の送信指示に用いられる送信指示要素,前記回答後の挨拶文が記述されたフッター要素を、各要素を特定する要素特定情報と共に予め記憶する手段であり、
前記イメージ表示手段により表示された要素を前記本文文書表示手段により表示された本文文書中の適用対象文書の位置に移動させる操作の入力に応じて、前記表示された本文文書における予め設定された所定の位置に、それぞれ、前記送信指示要素,前記フッター要素を配置する旨を指示する配置指示手段と、
該配置指示手段による指示に基づいて、前記送信指示要素についての要素特定情報および前記フッター要素についての要素特定情報を、それぞれ、本文文書に付加する情報付加手段と
を備えた構造化テキスト作成装置。
The structured text creation device according to any one of claims 1 to 4,
In addition to the title element and the answer element, the element storage means specifies a transmission instruction element used for an instruction to send an answer result and a footer element in which the greeting after the answer is described. Means for storing information together with information,
In response to an input of an operation for moving the element displayed by the image display means to the position of the application target document in the text document displayed by the text document display means, a predetermined predetermined value in the displayed text document is set. An arrangement instruction means for instructing to arrange the transmission instruction element and the footer element at the positions of
A structured text creating apparatus comprising: information adding means for adding element specifying information about the transmission instruction element and element specifying information about the footer element to a body document based on an instruction by the arrangement instruction means.
請求項5記載の構造化テキスト作成装置であって、
前記要素記憶手段は、前記各要素および前記各要素についての要素特定情報と共に、各要素に含まれる定型文についての文字データを予め記憶する手段であり、
前記指示手段,前記配置指示手段による指示に基づいて、前記文字データを前記本文文書のデータに付加するデータ付加手段を備えた
構造化テキスト作成装置。
The structured text creation device according to claim 5,
The element storage means is means for preliminarily storing character data about a fixed sentence included in each element together with each element and element specifying information about each element.
A structured text creating apparatus comprising data adding means for adding the character data to the data of the body document based on an instruction from the instruction means and the arrangement instruction means.
請求項1ないし6のいずれかに記載の構造化テキスト作成装置であって、
前記要素特定情報が付加された本文文書には複数個の回答部が含まれており、
該複数個の回答部のうちの一の回答部についての回答の結果を入力する回答結果入力手段と、
該入力された回答結果の内容に応じた他の回答部を前記複数個の回答部の中から抽出する回答部抽出手段と
を備え、
前記変換手段は、前記構造化テキスト記述用タグを、前記一の回答部と前記一の回答部に入力された回答結果の内容に応じて抽出された他の回答部との対応関係に基づいて自動的に生成し、前記本文文書を構造化テキストに変換する手段である
構造化テキスト作成装置。
The structured text creation device according to any one of claims 1 to 6,
The body document to which the element specifying information is added includes a plurality of response parts,
An answer result input means for inputting an answer result for one of the plurality of answer parts;
An answer part extracting means for extracting another answer part corresponding to the content of the inputted answer result from the plurality of answer parts;
The converting means is configured to determine the structured text description tag based on a correspondence relationship between the one answer part and another answer part extracted according to the content of the answer result input to the one answer part. A structured text creation device which is a means for automatically generating and converting the body text into structured text.
請求項1ないし7のいずれかに記載の構造化テキスト作成装置で作成された構造化テキストがウェブページとして表示され、該ウェブページ上で回答を行なった者により前記回答部に対する回答がなされた場合に、該回答の結果を表わすデータを入力して該データを処理するデータ処理装置あって、
前記入力された回答結果を表わすデータに基づいて前記回答を行なった者を異なる複数の群に分類する分類手段を備えた
データ処理装置。
The structured text created by the structured text creation device according to any one of claims 1 to 7 is displayed as a web page, and a reply to the reply section is made by a person who made a reply on the web page A data processing device for inputting data representing the result of the answer and processing the data,
A data processing apparatus comprising classification means for classifying persons who have made the answers into different groups based on the data representing the inputted answer results.
前記回答を行なった者に対する本文文書を、該回答を行なった者が属する群に応じた内容で作成する文書作成手段を備えた請求項8に記載のデータ処理装置。  9. The data processing apparatus according to claim 8, further comprising: a document creation unit that creates a text document for the person who made the reply with contents corresponding to a group to which the person who made the reply belongs. 少なくとも、タイトル文が含まれるタイトル部と質問文および回答文の内容が含まれる回答部とに区分される本文を備えたアンケートに関し、該アンケートの本文の内容が記述された本文文書のデータを入力し、該入力された本文文書のデータに基づいて、要素記憶手段とイメージ表示手段と本文文書表示手段と指示手段と付加手段と変換手段とを備えた構造化テキスト作成装置を用いて該本文文書をウェブページとして表示するための構造化テキストを作成する構造化テキスト作成方法であって、
前記要素記憶手段が前記タイトル部に用いられる要素であるタイトル要素,前記回答部に用いられる要素である回答要素、および前記回答後の挨拶文が記述されたフッター要素を、各要素を特定する要素特定情報と共に予め記憶する工程と、
前記イメージ表示手段が前記要素記憶手段に予め記憶された要素をイメージ表示する工程と、
前記本文文書表示手段が前記入力された本文文書のデータに基づいて本文文書を表示する工程と、
前記指示手段が前記イメージ表示手段により表示された要素を前記本文文書表示手段により表示された本文文書中の適用対象文書の位置に移動させる操作の入力に応じて、前記表示された本文文書におけるタイトル部を構成する文書、回答部を構成する文書、フッター部を構成する文書に対し、それぞれ、前記タイトル要素、前記回答要素、前記フッター要素を適用する旨を指示する工程と、
前記付加手段が該指示手段による指示に基づいて、前記タイトル要素についての要素特定情報,前記回答要素についての要素特定情報、および前記フッター要素についての要素特定情報を、それぞれ、タイトル部を構成する文書,回答部を構成する文書、およびフッター部を構成する文書に付加する工程と、
前記変換手段が前記要素特定情報と構造化テキスト記述用タグとの対応関係を格納する対応マップを有し、前記要素特定情報が付加された本文文書を、前記対応マップを参照して前記要素特定情報を前記構造化テキスト記述用タグに自動的に置換することにより、構造化テキストに変換する工程と、
を備え、
前記指示手段は、前記タイトル要素と前記フッター要素の少なくとも一方については、前記表示された本文文書中の任意の場所に移動させる操作の入力に応じて、予め定められた位置の文書に適用する工程を実行する構造化テキスト作成方法。
At least for the questionnaire with the text divided into the title part containing the title text and the answer text containing the question text and the content of the answer text, input the text document data describing the text content of the questionnaire Then, based on the input data of the text document, the text document is generated using a structured text creation device comprising element storage means, image display means, text document display means, instruction means, addition means, and conversion means. A structured text creation method for creating structured text for displaying as a web page,
An element that identifies each element of a title element that is an element used by the element storage means for the title part, an answer element that is an element used for the answer part, and a footer element that describes the greeting after the answer Storing in advance together with specific information;
The image display means displaying an image of an element stored in advance in the element storage means;
A step of displaying a text document based on data of the input text document;
In response to an input of an operation in which the instruction unit moves the element displayed by the image display unit to the position of the application target document in the body document displayed by the body document display unit, the title in the displayed body document Instructing that the title element, the answer element , and the footer element are applied to the document constituting the part, the document constituting the answer part, and the document constituting the footer part , respectively.
Based on an instruction from the instruction means, the adding means includes element specifying information about the title element, element specifying information about the answer element, and element specifying information about the footer element, respectively. , Adding to the document constituting the response part and the document constituting the footer part;
The conversion means has a correspondence map for storing the correspondence between the element identification information and the structured text description tag, and the body document to which the element identification information is added is referred to the correspondence map to identify the element. Converting information into structured text by automatically replacing information with the structured text description tag; and
With
The instructing means applies at least one of the title element and the footer element to a document at a predetermined position in accordance with an input of an operation for moving the title element or the footer element to an arbitrary place in the displayed body document. How to create structured text that executes.
少なくとも、タイトル文が含まれるタイトル部と質問文および回答文の内容が含まれる回答部とに区分される本文を備えたアンケートに関し、該アンケートの本文の内容が記述された本文文書のデータを入力し、該入力された本文文書のデータに基づいて、コンピュータを用いて該本文文書をウェブページとして表示するための構造化テキストを作成するためのコンピュータプログラムを記録した記録媒体であって、
前記コンピュータプログラムは、
前記タイトル部に用いられる要素であるタイトル要素,前記回答部に用いられる要素である回答要素、および前記回答後の挨拶文が記述されたフッター要素を、各要素を特定する要素特定情報と共に予め記憶する要素記憶機能と、
前記要素記憶機能に予め記憶された要素をイメージ表示するイメージ表示機能と、
前記入力された本文文書のデータに基づいて本文文書を表示する本文文書表示機能と、
前記イメージ表示機能により表示された要素を前記本文文書表示機能により表示された本文文書中の適用対象文書の位置に移動させる操作の入力に応じて、前記表示された本文文書におけるタイトル部を構成する文書,回答部を構成する文書、フッター部を構成する文書に対し、それぞれ、前記タイトル要素,前記回答要素、前記フッター要素を適用する旨を指示する指示機能と、
該指示機能による指示に基づいて、前記タイトル要素についての要素特定情報,前記回答要素についての要素特定情報、および前記フッター要素についての要素特定情報を、それぞれ、タイトル部を構成する文書,回答部を構成する文書、およびフッター部を構成する文書に付加する付加機能と、
前記要素特定情報と構造化テキスト記述用タグとの対応関係を格納する対応マップを有し、前記要素特定情報が付加された本文文書を、前記対応マップを参照して前記要素特定情報を前記構造化テキスト記述用タグに自動的に置換することにより、構造化テキストに変換する変換機能と、
を前記コンピュータに実現させるためのプログラムを備え、
前記指示機能は、前記タイトル要素と前記フッター要素の少なくとも一方については、前記表示された本文文書中の任意の場所に移動させる操作の入力に応じて、予め定められた位置の文書に適用する機能を含む記録媒体。
At least for the questionnaire with the text divided into the title part containing the title text and the answer text containing the question text and the content of the answer text, input the text document data describing the text content of the questionnaire And a recording medium recording a computer program for creating structured text for displaying the text document as a web page using a computer based on the input text document data,
The computer program is
A title element that is an element used in the title part, an answer element that is an element used in the answer part, and a footer element in which a greeting after the answer is described are stored in advance together with element specifying information that specifies each element. Element storage function to
An image display function for displaying an image of an element stored in advance in the element storage function;
A text document display function for displaying a text document based on the input text document data;
A title portion in the displayed body document is configured in response to an input of an operation for moving an element displayed by the image display function to a position of an application target document in the body document displayed by the body document display function. An instruction function for instructing to apply the title element, the answer element , and the footer element to the document, the document constituting the answer part, and the document constituting the footer part ,
Based on the instruction by the instruction function, the element specifying information about the title element, the element specifying information about the answer element, and the element specifying information about the footer element, respectively, a document constituting the title part, an answer part Additional functions to be added to the document to be configured and the document to be configured the footer part,
A correspondence map for storing a correspondence relationship between the element identification information and the structured text description tag, and referring to the body map to which the element identification information is added, referring to the correspondence map, the element identification information as the structure Conversion function to convert to structured text by automatically replacing with structured text description tag,
Comprising a program for causing the computer to realize
The instruction function is a function that is applied to a document at a predetermined position in response to an input of an operation of moving at least one of the title element and the footer element to an arbitrary place in the displayed body document. Including recording medium.
JP2002341759A 2002-11-26 2002-11-26 Structured text creation device, data processing device, structured text creation method, and recording medium recording structured text creation program Expired - Fee Related JP4515700B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002341759A JP4515700B2 (en) 2002-11-26 2002-11-26 Structured text creation device, data processing device, structured text creation method, and recording medium recording structured text creation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002341759A JP4515700B2 (en) 2002-11-26 2002-11-26 Structured text creation device, data processing device, structured text creation method, and recording medium recording structured text creation program

Publications (2)

Publication Number Publication Date
JP2004178133A JP2004178133A (en) 2004-06-24
JP4515700B2 true JP4515700B2 (en) 2010-08-04

Family

ID=32703999

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002341759A Expired - Fee Related JP4515700B2 (en) 2002-11-26 2002-11-26 Structured text creation device, data processing device, structured text creation method, and recording medium recording structured text creation program

Country Status (1)

Country Link
JP (1) JP4515700B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5143480B2 (en) * 2007-06-22 2013-02-13 日本電信電話株式会社 Electronic file distribution apparatus and operation method thereof
CN112257404A (en) * 2020-09-22 2021-01-22 陕西烽火电子股份有限公司 QT5 software-based automatic generation method and generation device for requirement specification document

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04296966A (en) * 1991-03-04 1992-10-21 Mitsubishi Electric Corp Production of questionnaire sheet
JP3311537B2 (en) * 1995-03-31 2002-08-05 富士通株式会社 Questionnaire processing device
JPH10240731A (en) * 1997-02-28 1998-09-11 Hitachi Ltd Structured document preparing device utilizing character recognition
JP2000035961A (en) * 1998-07-21 2000-02-02 Hitachi Ltd Sgml editor and using method therefor
JP3382890B2 (en) * 1999-06-14 2003-03-04 エヌイーシービューテクノロジー株式会社 Question generation system and question generation method
JP2001338112A (en) * 2000-05-25 2001-12-07 Seiko Epson Corp Method and device for providing information
JP2002163415A (en) * 2000-11-27 2002-06-07 Mc & P:Kk Questionnaire question generating method and its recording medium
JP2002245076A (en) * 2001-02-20 2002-08-30 C-Next Corp System for providing merchandise information

Also Published As

Publication number Publication date
JP2004178133A (en) 2004-06-24

Similar Documents

Publication Publication Date Title
CN111753500B (en) Method for merging and displaying formatted electronic form and OFD (office file format) and generating catalog
CN101661512B (en) System and method for identifying traditional form information and establishing corresponding Web form
US7844603B2 (en) Sharing user distributed search results
US9569541B2 (en) Evaluating preferences of content on a webpage
US10642925B2 (en) System and method to facilitate content distribution
JP4865818B2 (en) General recommendation word and advertisement recommendation word automatic completion method and system
US20110321003A1 (en) Systems and Methods For Providing Modular Configurable Creative Units For Delivery Via Intext Advertising
US20170277663A1 (en) Digital content conversion and publishing system
CN104123269A (en) Semi-automatic publication generation method and system based on template
JP2021124914A (en) Information processing system and information processing method
CN105760501A (en) Document format conversion method and device
Mandl New forms of employment: 2020 update
JP2018128806A (en) Extraction apparatus, extraction method, and extraction program
Casabona HTML and CSS: Visual QuickStart Guide
JP4515700B2 (en) Structured text creation device, data processing device, structured text creation method, and recording medium recording structured text creation program
CN110298680B (en) Advertisement management device, advertisement management method, and computer-readable recording medium
US20200279011A1 (en) Information processing system, information processing method, program, and information processing apparatus
JP6927243B2 (en) Advertisement management device, advertisement creation support method and program
CN113065316A (en) Method for dynamically converting formal thumbnail file into html (hypertext markup language) and inputting question bank, selecting questions from question bank and composing draft and generating thumbnail file
JP4021881B2 (en) Sales promotion tool generator
JP6995405B1 (en) Information provision method, information provision device, information provision program and recording medium
JP4177675B2 (en) Print creation support system, print creation support method, and program
JP2006277506A (en) Digital catalog system by folder configuration
JP2002342695A (en) Device and method for supporting construction of information input system
Aube et al. Enhancing the Functionality and Accessibility of the Zoo Praha Website

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050916

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070319

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070327

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070528

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070828

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071029

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20071112

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20071207

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100513

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: 20130521

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140521

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees