JP7254359B2 - Programs, devices, and methods of producing scripts - Google Patents

Programs, devices, and methods of producing scripts Download PDF

Info

Publication number
JP7254359B2
JP7254359B2 JP2020099655A JP2020099655A JP7254359B2 JP 7254359 B2 JP7254359 B2 JP 7254359B2 JP 2020099655 A JP2020099655 A JP 2020099655A JP 2020099655 A JP2020099655 A JP 2020099655A JP 7254359 B2 JP7254359 B2 JP 7254359B2
Authority
JP
Japan
Prior art keywords
synopsis
segment
text
unit
sentiment score
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.)
Active
Application number
JP2020099655A
Other languages
Japanese (ja)
Other versions
JP2021193522A (en
Inventor
竜太郎 藤井
仁 松原
紘希 多和田
宏 五木
亮 稲葉
Original Assignee
株式会社Ales
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 株式会社Ales filed Critical 株式会社Ales
Priority to JP2020099655A priority Critical patent/JP7254359B2/en
Publication of JP2021193522A publication Critical patent/JP2021193522A/en
Application granted granted Critical
Publication of JP7254359B2 publication Critical patent/JP7254359B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • Machine Translation (AREA)

Description

特許法第30条第2項適用 掲載年月日:令和2年2月17日、掲載アドレス:https://prtimes.jp/main/html/rd/p/000000002.000054277.htmlApplication of Article 30, Paragraph 2 of the Patent Law Posting date: February 17, 2020 Posting address: https://prtimes. jp/main/html/rd/p/000000002.000054277. html

本発明は、プログラム、装置、および、脚本の製造方法に関する。 The present invention relates to a program, an apparatus, and a script production method.

特許文献1には、「精度よくテキストの誤りを補正できるテキスト生成装置、テキスト生成プログラムおよびテキスト生成方法を提供する」と記載されている。
[先行技術文献]
[特許文献]
[特許文献1] 特開2020-34704号公報
Patent Literature 1 describes "to provide a text generation device, a text generation program, and a text generation method capable of accurately correcting text errors".
[Prior art documents]
[Patent Literature]
[Patent Document 1] JP 2020-34704 A

本発明の第1の態様においては、プログラムが提供される。プログラムは、コンピュータを、あらすじ分節した複数のあらすじ分節を取得する第1取得部として機能させてよい。プログラムは、コンピュータを、複数のあらすじ分節のそれぞれに設定されたセンチメントスコアを取得する第2取得部として機能させてよい。プログラムは、コンピュータを、複数のあらすじ分節のそれぞれに対し、当該あらすじ分節の内容に対応し、かつ、当該あらすじ分節のセンチメントスコアに対応するテキストをテキスト群から選択する選択部として機能させてよい。プログラムは、コンピュータを、選択された各テキストを、対応するあらすじ分節の順に並べて脚本を生成する生成部として機能させてよい。 In a first aspect of the invention, a program is provided. The program may cause the computer to function as a first acquisition unit that acquires a plurality of synopsis segments. The program may cause the computer to function as a second acquisition unit that acquires sentiment scores set for each of the plurality of synopsis segments. The program may cause the computer to function as a selector that selects, for each of a plurality of synopsis segments, text from a group of texts that corresponds to the content of the synopsis segment and to the sentiment score of the synopsis segment. . The program may cause the computer to act as a generator that arranges each selected text into corresponding synopsis segments to generate a script.

選択部は、各テキストを分析して得られるセンチメントスコアと、一のあらすじ分節に設定されたセンチメントスコアとに基づいて、当該一のあらすじ分節に対する各テキストの第1適合度を算出する第1算出部を有してよい。選択部は、各テキストと、前記一のあらすじ分節との内容の類似度に基づいて、当該一のあらすじ分節に対する各テキストの第2適合度を算出する第2算出部を有してよい。選択部は、テキストごとに第1適合度および第2適合度に基づいて、前記一のあらすじ分節に対する適合評価値を算出する評価部を有してよい。選択部は、適合評価値に基づいて前記一のあらすじ分節に対応するテキストを選択してよい。 The selection unit calculates a first degree of suitability of each text for the one synopsis segment based on the sentiment score obtained by analyzing each text and the sentiment score set for the one synopsis segment. 1 calculator. The selection unit may have a second calculation unit that calculates a second degree of relevance of each text to the one synopsis segment based on the degree of similarity in content between each text and the one synopsis segment. The selector may comprise an evaluator for calculating a relevance rating for the one synopsis segment based on the first relevance and the second relevance for each text. The selector may select the text corresponding to the one synopsis segment based on the match score.

評価部は、第1適合度および第2適合度を重み付け加算して適合評価値を算出してよい。 The evaluation unit may calculate the fitness evaluation value by weighted addition of the first fitness and the second fitness.

プログラムは、コンピュータを、あらすじを取得して複数のあらすじ分節に分節し第1取得部に供給する分節部として機能させてよい。 The program may cause the computer to function as a segmenter that acquires the synopsis, segments it into multiple synopsis segments, and supplies the synopsis segments to the first acquirer.

分節部は、脚本が実現されて作られる作品を分割した区間ごとにあらすじ分節を生成してよい。第2取得部は、各区間に設定されたセンチメントスコアを取得してよい。 The segmentation unit may generate a synopsis segment for each section obtained by dividing a work produced by realizing a script. The second acquisition unit may acquire the sentiment score set for each section.

プログラムは、コンピュータを、選択部によって各区間に対応するあらすじ分節に対して選択されたテキストを、当該区間についてのあらすじとして分節部に供給する供給部として機能させてよい。 The program may cause the computer to function as a supplier that supplies the text selected by the selector for the synopsis segment corresponding to each segment to the segmenter as a synopsis for that segment.

プログラムは、コンピュータを、脚本の分量が基準量を超えるまで第1取得部、分節部、第2取得部、選択部および供給部に処理を繰り返し行わせる繰り返し制御部として機能させてよい。 The program may cause the computer to function as a repeat controller that causes the first acquirer, the segmenter, the second acquirer, the selector, and the feeder to repeat the process until the amount of script exceeds the reference amount.

プログラムは、コンピュータを、複数の脚本データから自然言語でのランダムな複数のテキストを生成するテキスト生成部として機能させてよい。プログラムは、コンピュータを、テキスト生成部により生成された複数のテキストをテキスト群として記憶する記憶部として機能させてよい。 The program may cause the computer to function as a text generator that generates a plurality of random texts in natural language from a plurality of script data. The program may cause the computer to function as a storage unit that stores a plurality of texts generated by the text generation unit as a text group.

テキスト群の各テキストは、柱書き、台詞およびト書きを含んでよい。 Each text in the text group may include a headline, dialogue and topic.

本発明の第2の態様においては、装置が提供される。装置は、あらすじを分節した複数のあらすじ分節を取得する第1取得部を備えてよい。装置は、複数のあらすじ分節のそれぞれに設定されたセンチメントスコアを取得する第2取得部を備えてよい。装置は、複数のあらすじ分節のそれぞれに対し、当該あらすじ分節の内容に対応し、かつ、当該あらすじ分節のセンチメントスコアに対応するテキストをテキスト群から選択する選択部を備えてよい。装置は、選択された各テキストを、対応するあらすじ分節の順に並べて脚本を生成する生成部を備えてよい。 In a second aspect of the invention, an apparatus is provided. The apparatus may comprise a first obtaining unit for obtaining a plurality of synopsis segments into which the synopsis is segmented. The apparatus may comprise a second obtaining unit that obtains a sentiment score set for each of the plurality of synopsis segments. The apparatus may comprise, for each of a plurality of synopsis segments, a selector that selects text from the text group that corresponds to the content of the synopsis segment and to the sentiment score of the synopsis segment. The apparatus may comprise a generator for arranging each selected text into corresponding synopsis segments to generate a script.

本発明の第3の態様においては、脚本の製造方法が提供される。脚本の製造方法は、あらすじを分節した複数のあらすじ分節を取得する第1取得段階を備えてよい。脚本の製造方法は、複数のあらすじ分節のそれぞれに設定されたセンチメントスコアを取得する第2取得段階を備えてよい。脚本の製造方法は、複数のあらすじ分節のそれぞれに対し、当該あらすじ分節の内容に対応し、かつ、当該あらすじ分節のセンチメントスコアに対応するテキストをテキスト群から選択する選択段階を備えてよい。脚本の製造方法は、選択された各テキストを、対応するあらすじ分節の順に並べて脚本を生成する生成段階を備えてよい。 In a third aspect of the invention, a method for producing a screenplay is provided. The script production method may comprise a first obtaining step of obtaining a plurality of synopsis segments into which the synopsis is segmented. The script production method may comprise a second obtaining step of obtaining a sentiment score assigned to each of the plurality of plot segments. The script production method may comprise, for each of a plurality of synopsis segments, selecting text from a set of texts corresponding to the content of the synopsis segment and corresponding to the sentiment score of the synopsis segment. The script production method may comprise a generation step of arranging each of the selected texts into corresponding synopsis segments to generate the script.

なお、上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではない。また、これらの特徴群のサブコンビネーションもまた、発明となりうる。 It should be noted that the above summary of the invention does not list all the necessary features of the invention. Subcombinations of these feature groups can also be inventions.

本実施形態に係る装置1を示す。1 shows a device 1 according to the present embodiment; 装置1の動作を示す。The operation of the device 1 is shown. 動作結果の一例を示す。An example of operation results is shown. 本発明の複数の態様が全体的または部分的に具現化されてよいコンピュータ2200の例を示す。An example computer 2200 is shown in which aspects of the present invention may be embodied in whole or in part.

以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態は特許請求の範囲にかかる発明を限定するものではない。また、実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。 Hereinafter, the present invention will be described through embodiments of the invention, but the following embodiments do not limit the invention according to the claims. Also, not all combinations of features described in the embodiments are essential for the solution of the invention.

[1.装置]
図1は、本実施形態に係る装置1を示す。装置1は、脚本を生成するものであり、テキスト生成部101、記憶部102、あらすじ取得部103、分節部104、あらすじ分節取得部105、センチメントスコア取得部106、選択部110、供給部121、生成部122、および、繰り返し制御部124を備える。
[1. Device]
FIG. 1 shows a device 1 according to this embodiment. The apparatus 1 generates a script, and includes a text generation unit 101, a storage unit 102, a synopsis acquisition unit 103, a segmentation unit 104, a synopsis segment acquisition unit 105, a sentiment score acquisition unit 106, a selection unit 110, and a supply unit 121. , a generation unit 122 and a repetition control unit 124 .

[1.1.テキスト生成部101]
テキスト生成部101は、複数の脚本データから自然言語でのランダムな複数のテキストを生成する。テキスト生成部101は、装置1の外部から複数の脚本データを取得してよい。テキスト生成部101は、取得した脚本データを用いて従来より公知の短文生成処理を行うことで、意味の通った自然言語の複数のテキストを生成してよい。一例として、テキスト生成部101は、脚本データを形態素解析によって分割した後、ランダムに組み合わせることで複数のテキストを生成してよい。各テキストは、脚本の箱書き(シーン(場面、箱とも称する)ごとの要点や情報をまとめたもの)として使用可能であってよく、脚本の柱書き、台詞およびト書きを含んでよい。柱書きはシーンの場所や時間帯などを示してよい。
[1.1. Text generation unit 101]
A text generation unit 101 generates a plurality of random texts in natural language from a plurality of script data. The text generator 101 may acquire a plurality of script data from outside the device 1 . The text generation unit 101 may generate a plurality of meaningful natural language texts by performing conventionally known short sentence generation processing using the acquired script data. As an example, the text generation unit 101 may generate a plurality of texts by dividing the screenplay data by morphological analysis and then randomly combining them. Each text may be used as a script box (a summary of key points and information for each scene (also referred to as a scene or box)), and may include a script slogan, lines, and story. The stilts may indicate the location of the scene, the time of day, and so on.

なお、本実施形態においては一例として、テキスト生成部101は、生成した各テキストのセンチメントスコアを取得してよい。センチメントスコアとは、感情(センチメントとも称する)の評価値であり、例えばネガティブ/ポジティブの度合いを示してよい。テキスト生成部101は、従来より公知の感情分析(一例として、Google(登録商標)によるCloud Natural Language APIの感情分析)をテキストに行うことで、当該テキストのセンチメントスコアを取得してよい。テキスト生成部101は、感情分析を行う外部装置にテキストを供給して、当該テキストのセンチメントスコアを取得してもよい。 In this embodiment, as an example, the text generation unit 101 may acquire the sentiment score of each generated text. A sentiment score is an evaluation value of emotion (also referred to as sentiment), and may indicate, for example, the degree of negative/positive. The text generation unit 101 may acquire the sentiment score of the text by subjecting the text to conventionally known sentiment analysis (for example, the sentiment analysis of Cloud Natural Language API by Google (registered trademark)). The text generator 101 may supply the text to an external device that performs sentiment analysis and obtain the sentiment score of the text.

テキスト生成部101は、生成した各テキストを記憶部102に供給してよい。テキスト生成部101は、各テキストのセンチメントスコアを取得している場合には、当該センチメントスコアをテキストに対応付けて記憶部102に供給してよい。 The text generation unit 101 may supply each generated text to the storage unit 102 . When the sentiment score of each text is acquired, the text generation unit 101 may supply the sentiment score to the storage unit 102 in association with the text.

[1.2.記憶部102]
記憶部102は、テキスト生成部101により生成された複数のテキストをテキスト群として記憶する。例えば、記憶部102は、1000個よりも多い文章を記憶してよい。テキスト生成部101からテキストとセンチメントスコアとが供給される場合には、記憶部102は両者を対応付けて記憶してよい。
[1.2. Storage unit 102]
The storage unit 102 stores a plurality of texts generated by the text generation unit 101 as a text group. For example, the storage unit 102 may store more than 1000 sentences. When the text and the sentiment score are supplied from the text generation unit 101, the storage unit 102 may store them in association with each other.

[1.3.あらすじ取得部103]
あらすじ取得部103は、作品のあらすじ(ログライン、プロット、ストーリーとも称する)を取得する。作品とは、装置1により生成される脚本が実現されて作られる作品であってよく、一例としてドラマや映画、舞台などであってよい。あらすじ取得部103は、あらすじをオペレータから取得してよい。あらすじ取得部103は、取得したあらすじを分節部104に供給してよい。
[1.3. Synopsis acquisition unit 103]
The synopsis acquisition unit 103 acquires a synopsis (also referred to as a logline, plot, or story) of the work. A work may be a work created by realizing a script generated by the apparatus 1, and may be, for example, a drama, a movie, or a stage play. The synopsis acquisition unit 103 may acquire the synopsis from the operator. The synopsis acquisition unit 103 may supply the acquired synopsis to the segmentation unit 104 .

[1.4.分節部104]
分節部104は、あらすじ取得部103からあらすじを取得し、あらすじを複数のあらすじ分節に分節する。分節部104は、作品を分割した区間ごとにあらすじ分節を生成してよい。分節部104は、各区間に単一のあらすじ分節を生成してよい。分節部104は、分節して得られた各あらすじ分節をあらすじ分節取得部105に供給する。
[1.4. segment portion 104]
The segmentation unit 104 acquires the synopsis from the synopsis acquisition unit 103 and segments the synopsis into a plurality of synopsis segments. The segmentation unit 104 may generate a synopsis segment for each segment obtained by dividing the work. The segmenter 104 may generate a single synopsis segment for each segment. The segmentation unit 104 supplies each synopsis segment obtained by segmentation to the synopsis segment acquisition unit 105 .

[1.5.あらすじ分節取得部105]
あらすじ分節取得部105は、第1取得部の一例であり、分節部104から複数のあらすじ分節を取得する。あらすじ分節取得部105は、取得したあらすじ分節を選択部110に供給してよい。本実施形態では一例として、あらすじ分節取得部105は、区間ごとに該当のあらすじ分節を選択部110に供給してよい。
[1.5. Synopsis segment acquisition unit 105]
The synopsis segment acquisition unit 105 is an example of a first acquisition unit and acquires a plurality of synopsis segments from the segmentation unit 104 . The synopsis segment acquisition unit 105 may supply the acquired synopsis segment to the selection unit 110 . As an example in this embodiment, the synopsis segment acquisition unit 105 may supply the corresponding synopsis segment to the selection unit 110 for each section.

[1.6.センチメントスコア取得部106]
センチメントスコア取得部106は、第2取得部の一例であり、複数のあらすじ分節のそれぞれに設定されたセンチメントスコアを取得する。あらすじ分節に設定されたセンチメントスコアは、当該あらすじ分節を実現した作品部分によって引き起こされるべき感情の評価値を示してよく、オペレータにより任意に設定されてよい。本実施形態では一例として、あらすじ分節は区間ごとに生成されるため、センチメントスコア取得部106は、各区間に設定されたセンチメントスコアを、当該区間に対応するあらすじ分節に設定されたセンチメントスコアとして取得してよい。
[1.6. Sentiment score acquisition unit 106]
The sentiment score acquisition unit 106 is an example of a second acquisition unit, and acquires sentiment scores set for each of a plurality of synopsis segments. The sentiment score set in the synopsis segment may indicate an evaluation value of emotion that should be caused by the part of the work that realizes the synopsis segment, and may be arbitrarily set by the operator. As an example in the present embodiment, since a synopsis segment is generated for each segment, the sentiment score acquisition unit 106 obtains the sentiment score set for each segment by adding the sentiment score set for the synopsis segment corresponding to the segment. It can be obtained as a score.

センチメントスコア取得部106は、作品内の各区間と、当該区間に設定されたセンチメントスコアとの関係を示すグラフ(プロットラインとも称する)やテーブルの形態でセンチメントスコアを取得してよい。 The sentiment score acquisition unit 106 may acquire sentiment scores in the form of a graph (also referred to as a plot line) or a table showing the relationship between each section in the work and the sentiment score set for that section.

センチメントスコア取得部106は、取得したあらすじ分節ごと(本実施形態では一例として区間ごと)のセンチメントスコアを選択部110に供給してよい。 The sentiment score acquisition unit 106 may supply the acquired sentiment score for each synopsis segment (in this embodiment, for each section as an example) to the selection unit 110 .

[1.7.選択部110]
選択部110は、複数のあらすじ分節のそれぞれに対し、当該あらすじ分節の内容に対応し、かつ、当該あらすじ分節のセンチメントスコア(本実施形態では一例としてあらすじ分節に対応する区間のセンチメントスコア)に対応するテキストを記憶部102内のテキスト群から選択する。選択されたテキストは生成部122により脚本の箱書きとして用いられるため、箱書きテキストとも称される。選択部110は、センチメントスコア適合度算出部111と、内容適合度算出部112と、評価部113とを有する。
[1.7. Selection unit 110]
For each of a plurality of synopsis segments, the selection unit 110 selects the sentiment score of the synopsis segment (as an example, the sentiment score of the section corresponding to the synopsis segment in this embodiment) that corresponds to the content of the synopsis segment. from the text group in the storage unit 102. Since the selected text is used by the generation unit 122 as box writing for the screenplay, it is also referred to as box writing text. Selection unit 110 includes sentiment score matching calculation unit 111 , content matching calculation unit 112 , and evaluation unit 113 .

[1.7.1.センチメントスコア適合度算出部111]
センチメントスコア適合度算出部111は、第1算出部の一例であり、記憶部102内の各テキストを分析して得られるセンチメントスコアと、あらすじ分節取得部105から供給される一のあらすじ分節に設定されたセンチメントスコアとに基づいて、当該一のあらすじ分節に対する各テキストの適合度(第1適合度と称する)を算出する。
[1.7.1. Sentiment score matching calculation unit 111]
The sentiment score matching degree calculation unit 111 is an example of a first calculation unit. Based on the sentiment score set to , the degree of conformity (referred to as the first degree of conformity) of each text to the one synopsis segment is calculated.

本実施形態では一例として、センチメントスコア適合度算出部111は、記憶部102内で各テキストに対応付けられたセンチメントスコアと、一のあらすじ分節に対応する区間に設定されてセンチメントスコア取得部106から供給されたセンチメントスコアとに基づいて各テキストの第1適合度を算出する。センチメントスコア適合度算出部111は、センチメントスコアが近いほど、第1適合度を高く算出してよい。 In this embodiment, as an example, the sentiment score matching calculation unit 111 acquires the sentiment score associated with each text in the storage unit 102 and the sentiment score set in the section corresponding to one synopsis segment. A first relevance for each text is calculated based on the sentiment score provided by the unit 106 . The sentiment score matching degree calculation unit 111 may calculate the first matching degree higher as the sentiment scores are closer.

センチメントスコア適合度算出部111は、あらすじ分節ごと(本実施形態では一例として区間ごと)に、各テキストについて算出した第1適合度を評価部113に供給する。 The sentiment score matching calculation unit 111 supplies the evaluation unit 113 with the first matching calculated for each text for each synopsis segment (in this embodiment, for each section as an example).

[1.7.2.内容適合度算出部112]
内容適合度算出部112は、第2算出部の一例であり、各テキストと、一のあらすじ分節との内容の類似度に基づいて、当該一のあらすじ分節に対する各テキストの適合度(第2適合度と称する)を算出する。
[1.7.2. Content matching degree calculation unit 112]
The content adaptability calculation unit 112 is an example of a second calculation unit, and calculates the adaptability of each text to the one synopsis segment (second adaptability degree) is calculated.

例えば、内容適合度算出部112は、テキストに含まれる単語から類似度を判定してよい。本実施形態では一例として、内容適合度算出部112は、TF/IDFの手法によりテキスト内の単語の重要度を評価し、重要度が近いほど類似度を高く算出する。内容適合度算出部112は、テキストとあらすじ分節とについて算出した類似度を当該テキストの第2適合度としてよい。 For example, the content matching degree calculation unit 112 may determine the degree of similarity from words included in the text. In this embodiment, as an example, the content matching degree calculation unit 112 evaluates the degree of importance of words in the text by the TF/IDF method, and calculates a higher degree of similarity as the degrees of importance are closer. The content adaptability calculator 112 may use the similarity calculated between the text and the synopsis segment as the second adaptability of the text.

内容適合度算出部112は、あらすじ分節ごと(本実施形態では一例として区間ごと)に、各テキストについて算出した第2適合度を評価部113に供給する。 The content suitability calculation unit 112 supplies the evaluation unit 113 with the second suitability calculated for each text for each synopsis segment (in this embodiment, for each section as an example).

[1.7.3.評価部113]
評価部113は、テキストごとに第1適合度および第2適合度に基づいて、一のあらすじ分節に対する適合評価値を算出する。例えば、評価部113は、第1適合度および第2適合度を重み付け加算して適合評価値を算出してよい。第1適合度および第2適合度のそれぞれに対する重み係数は任意に設定されてよい。評価部113は、適合評価値に基づいて一のあらすじ分節に対応する何れかのテキストを箱書きテキストとして選択してよい。一例として、評価部113は、適合評価値が最も高いテキストを箱書きテキストとして選択してよい。評価部113は、選択した箱書きテキストを供給部121に供給してよい。
[1.7.3. Evaluation unit 113]
The evaluation unit 113 calculates a matching evaluation value for one synopsis segment based on the first matching level and the second matching level for each text. For example, the evaluation unit 113 may calculate the fitness evaluation value by weighted addition of the first fitness and the second fitness. A weighting factor for each of the first goodness of fit and the second goodness of fit may be set arbitrarily. The evaluation unit 113 may select any text corresponding to one synopsis segment as the boxed text based on the matching evaluation value. As an example, the evaluation unit 113 may select the text with the highest matching evaluation value as the boxed text. The evaluation unit 113 may supply the selected boxed text to the supply unit 121 .

[1.8.供給部121]
供給部121は、選択部110で選択された箱書きテキストを繰り返し制御部124と、あらすじ取得部103および/または生成部122と、に供給する。供給部121からあらすじ取得部103に箱書きテキストが供給される場合には、各区間に対応するあらすじ分節に対して選択された箱書きテキストが、当該区間についてのあらすじとして供給されて、あらすじ取得部103から分節部104に供給されてよい。
[1.8. supply unit 121]
The supply unit 121 supplies the boxed text selected by the selection unit 110 to the repetition control unit 124 and the synopsis acquisition unit 103 and/or generation unit 122 . When the boxed text is supplied from the supply unit 121 to the synopsis acquisition unit 103, the boxed text selected for the synopsis segment corresponding to each section is supplied as the synopsis for the section, and is supplied to the synopsis acquisition unit 103. may be supplied to the segment 104 from.

[1.9.生成部122]
生成部122は、供給部121から供給される各箱書きテキストを、当該箱書きテキストに対応するあらすじ分節の順(本実施形態では一例としてあらすじ分節に対応する区間の順)に並べて脚本を生成する。生成部122は、生成した脚本を装置1の外部に出力してよい。
[1.9. generation unit 122]
The generation unit 122 arranges the boxed texts supplied from the supply unit 121 in the order of the synopsis segments corresponding to the boxed texts (in this embodiment, as an example, the order of the sections corresponding to the synopsis segments) to generate a script. The generation unit 122 may output the generated script to the outside of the device 1 .

[1.11.繰り返し制御部124]
繰り返し制御部124は、あらすじ分節取得部105、分節部104、センチメントスコア取得部106、選択部110および供給部121に処理を繰り返し行わせる。繰り返し制御部124は、処理を実行させるか否か制御する信号CTRLをあらすじ分節取得部105、分節部104、センチメントスコア取得部106、選択部110および供給部121に供給してよい。
[1.11. Repeat control unit 124]
The repetition control unit 124 causes the synopsis segment acquisition unit 105, the segmentation unit 104, the sentiment score acquisition unit 106, the selection unit 110, and the supply unit 121 to repeatedly perform processing. The repetition control unit 124 may supply the synopsis segment acquisition unit 105, the segmentation unit 104, the sentiment score acquisition unit 106, the selection unit 110, and the supply unit 121 with a signal CTRL that controls whether or not to execute processing.

例えば、繰り返し制御部124は、繰り返しによる新たな処理を分節部104に行わせる場合には、作品を再帰的に分割した区間ごとにあらすじ分節を生成させてよい。作品を再帰的に分割するとは、1回目の分割によって作品を複数の区間に分割し、得られた各区間を2回目の分割によって更に細かい複数の区間に分割し、以降、同様にして分割を行うことであってよい。 For example, when causing the segmentation unit 104 to perform new processing by repetition, the repetition control unit 124 may generate a synopsis segment for each segment obtained by recursively dividing the work. To divide a work recursively means that the first division divides the work into multiple sections, the second division divides each of the obtained sections into multiple smaller sections, and then divides the work in the same way. It can be done.

また、繰り返し制御部124は、繰り返しによる新たな処理を供給部121に行わせる場合には、選択部110で選択された箱書きテキストをあらすじ取得部103に供給させ、新たな処理を供給部121に行わせない場合には、選択された箱書きテキストを生成部122に供給させて良い。これにより、繰り返しが行われて再帰的に分割された区間に対して箱書きテキストが選択される場合に、最も細かい区間のそれぞれに対応する箱書きテキストが区間順に並べられて脚本が生成される。 Further, when causing the supply unit 121 to perform new processing by repetition, the repetition control unit 124 causes the synopsis acquisition unit 103 to supply the boxed text selected by the selection unit 110, and causes the supply unit 121 to perform the new processing. If not, the selected boxed text may be supplied to the generator 122 . As a result, when box-written texts are selected for sections recursively divided by repetition, the script is generated by arranging the box-written texts corresponding to each of the smallest sections in the order of the sections.

繰り返し制御部124は、生成部122により生成される脚本の分量が基準量を超えるまで処理を繰り返し行わせてよい。繰り返し制御部124は、供給部121から供給された箱書きテキストの分量(一例として文字数や単語数、文の数、文章の数)の総和に基づいて、脚本の分量が基準量を超えるか否かを判定してよい。基準量は任意に設定されてよい。 The repetition control unit 124 may cause the processing to be repeated until the amount of script generated by the generation unit 122 exceeds the reference amount. The repetition control unit 124 determines whether or not the amount of the script exceeds the reference amount based on the sum of the amount of boxed text supplied from the supply unit 121 (for example, the number of characters, the number of words, the number of sentences, and the number of sentences). can be determined. The reference amount may be set arbitrarily.

以上の装置1によれば、複数のあらすじ分節のそれぞれに対し、当該あらすじ分節の内容に対応し、かつ、当該あらすじ分節のセンチメントスコアに対応するテキストが箱書きテキストとしてテキスト群から選択されて順に並べられ、脚本が生成される。従って、各あらすじ分節にセンチメントスコアを設定することで、あらすじ分節の内容に沿い、かつ、センチメントスコアに応じた感情を引き起こす脚本を取得することができる。 According to the device 1 described above, for each of a plurality of synopsis segments, text corresponding to the contents of the synopsis segment and corresponding to the sentiment score of the synopsis segment is selected as boxed text from the text group and sequentially selected. They are arranged and a script is generated. Therefore, by setting a sentiment score for each synopsis segment, it is possible to obtain a script that follows the content of the synopsis segment and that causes emotions according to the sentiment score.

また、各テキストのセンチメントスコアと一のあらすじ分節のセンチメントスコアとに基づいて、当該一のあらすじ分節に対する各テキストの第1適合度が算出され、各テキストと一のあらすじ分節との内容の類似度に基づいて、当該一のあらすじ分節に対する各テキストの第2適合度が算出され、これらの適合度に基づいて一のあらすじ分節に対する適合評価値が算出されて箱書きテキストが選択される。従って、あらすじ分節の内容とセンチメントスコアとのそれぞれに確実に適合した脚本を取得することができる。 Further, based on the sentiment score of each text and the sentiment score of one synopsis segment, a first degree of conformity of each text to the one synopsis segment is calculated, and the content of each text and one synopsis segment is calculated. Based on the degree of similarity, a second degree of relevance of each text to the one synopsis segment is calculated, and based on these degrees of relevance, a relevance evaluation value for the one synopsis segment is calculated to select boxed text. Therefore, it is possible to obtain a script that reliably matches the content of the synopsis segment and the sentiment score.

また、第1適合度および第2適合度が重み付け加算されて適合評価値が算出されるので、あらすじ分節の内容とセンチメントスコアとの重みを調整することができる。 In addition, since the fitness evaluation value is calculated by weighting addition of the first fitness and the second fitness, it is possible to adjust the weight between the content of the synopsis segment and the sentiment score.

また、作品のあらすじが複数のあらすじ分節に分節されるので、あらすじを入力することであらすじ分節を生成させ、脚本を取得することができる。 Also, since the synopsis of the work is segmented into a plurality of synopsis segments, by inputting the synopsis, synopsis segments can be generated and the script can be obtained.

また、作品を分割した区間ごとにあらすじ分節が生成されるので、作品のあらすじを入力することで、各区間に対してあらすじ分節が生成され、当該区間のあらすじ分節の内容に沿うテキストが箱書きテキストとして選択される。また、各区間に設定されたセンチメントスコアが取得されるので、作品の各区間に対してセンチメントスコアを設定することで、各区間で、当該区間のセンチメントスコアに応じた感情を引き起こすテキストが箱書きテキストとして選択される。従って、作品のあらすじを入力し、区間ごとのセンチメントスコアを設定することで、各区間で該当のあらすじ分節の内容に沿い、かつ、該当のセンチメントスコアに応じた感情を引き起こす脚本を取得することができる。 In addition, since a synopsis segment is generated for each segment into which the work is divided, by inputting the synopsis of the work, a synopsis segment is generated for each segment, and the text in line with the content of the synopsis segment of the relevant segment is displayed as boxed text. is selected as In addition, since the sentiment score set for each section is acquired, by setting the sentiment score for each section of the work, text that evokes emotions in each section according to the sentiment score of the section is selected as boxed text. Therefore, by inputting the synopsis of the work and setting the sentiment score for each section, a script that follows the content of the corresponding synopsis segment in each section and causes emotions according to the corresponding sentiment score is obtained. be able to.

また、各区間に対応するあらすじ分節に対して選択された箱書きテキストが当該区間についてのあらすじとしてさらに分節部104に供給されるので、各区間のあらすじがさらに細かい区間のあらすじ分節に分節されて、分節後の各あらすじ分節に対して箱書きテキストが選択される。従って、作品のあらすじを供給することで、作品を細分化した各区間の箱書きテキストを含む脚本を取得することができる。よって、長大な作品の脚本を容易に取得することができる。 In addition, since the boxed text selected for the synopsis segment corresponding to each section is further supplied to the segmentation unit 104 as a synopsis for that section, the synopsis for each section is further segmented into synopsis segments for smaller sections, Boxed text is selected for each synopsis segment after the segment. Therefore, by supplying a synopsis of the work, it is possible to obtain a script including boxed text for each segment of the work. Therefore, it is possible to easily acquire a script for a long work.

また、脚本の分量が基準量を超えるまで処理が繰り返し行われるので、任意の分量の脚本を取得することができる。 In addition, since the process is repeated until the amount of script exceeds the reference amount, it is possible to obtain an arbitrary amount of script.

また、複数の脚本データから箱書き用のランダムな複数のテキストが生成されてテキスト群として記憶部102に記憶されるので、箱書き用の多様なテキストをテキスト群に含めることができる。また、脚本データから自然言語でのテキストが生成されるので、脚本データとして品質の高いものを用意する手間を省くことができる。 Also, since a plurality of random texts for box writing are generated from a plurality of script data and stored as a text group in the storage unit 102, various texts for box writing can be included in the text group. In addition, since text in natural language is generated from script data, it is possible to save the trouble of preparing high-quality script data.

また、各テキストには柱書き、台詞およびト書きが含まれるので、テキストを並べることで確実に脚本を生成することができる。 In addition, since each text includes a headline, lines, and a story line, it is possible to reliably generate a script by arranging the texts.

[2.動作]
図2は、装置1の動作を示す。装置1は、ステップS11~S27の処理を実行することにより脚本を生成する。なお、本実施形態では一例として、動作開始時には記憶部102にテキストと、そのセンチメントスコアとが対応付けられて複数記憶されていることとして説明する。
[2. motion]
FIG. 2 shows the operation of device 1 . The device 1 generates a screenplay by executing the processes of steps S11 to S27. In this embodiment, as an example, it is assumed that a plurality of texts and their sentiment scores are associated and stored in the storage unit 102 at the start of operation.

ステップS11においてあらすじ取得部103、および、センチメントスコア取得部106は、それぞれ作品のあらすじ、および、プロットラインをオペレータ等から取得する。 In step S11, the synopsis acquisition unit 103 and the sentiment score acquisition unit 106 respectively acquire the synopsis and plotline of the work from the operator or the like.

ステップS13において分節部104は、作品を分割した区間ごとにあらすじ分節を取得する。繰り返し制御部124により後述のステップS23を介してステップS13の処理が繰り返し行われる場合には、分節部104は作品を再帰的に分割した区間ごとにあらすじ分節を取得してよい。本実施形態では一例として、ステップS13の処理ごとに作品が起承転結の4区間に再帰的に等分されてよく、分節部104は、1回目のステップS13の処理では、作品を4等分した区間ごとにあらすじ分節を取得し、2回目以降のステップS13の処理では、前回のステップS13の処理であらすじ分節を取得した各区間をさらに4等分した区間ごとにあらすじ分節を取得してよい。なお、分節部104は、分割後の区間数を取得できる限りにおいて、必ずしも作品を分割する演算を行わなくてよく、作品を分割した場合に得られる複数の区間のそれぞれについてあらすじ分節を生成すればよい。 In step S13, the segmentation unit 104 acquires a synopsis segment for each section obtained by dividing the work. When the repetition control unit 124 repeats the process of step S13 via step S23, which will be described later, the segmentation unit 104 may obtain a synopsis segment for each segment into which the work is recursively segmented. In the present embodiment, as an example, the work may be recursively divided into four equal sections for each process of step S13. In the process of step S13 from the second time onward, a synopsis segment may be obtained for each section obtained by further dividing each section obtained by the previous process of step S13 into four equal parts. Note that the segmentation unit 104 does not necessarily have to perform calculations for dividing the work as long as the number of segments after division can be obtained, and if synopsis segments are generated for each of a plurality of segments obtained when the work is segmented. good.

分節部104は、あらすじを分節することであらすじ分節を生成してよい。一例として、分節部104は、あらすじを文字数で分節してもよいし、形態素解析により検出される意味的な区切りで分節してもよい。あらすじを文字数で分節する場合には、分節部104は、あらすじを互いに等しい文字数に等分してもよいし、予め設定された割合の文字数で分節してもよい。 The segmentation unit 104 may generate a synopsis segment by segmenting the synopsis. As an example, the segmentation unit 104 may segment the synopsis by the number of characters, or segment it by semantic breaks detected by morphological analysis. When segmenting the synopsis by the number of characters, the segmentation unit 104 may equally divide the synopsis into equal numbers of characters, or may segment the synopsis by the number of characters of a preset ratio.

ステップS15において選択部110は、4つの区間の何れか1つを選択区間として選択する。選択部110は、未選択の区間のうち最も早い(先頭側の)区間を選択してよい。 In step S15, the selection unit 110 selects one of the four sections as the selection section. The selection unit 110 may select the earliest (leading) section from among the unselected sections.

ステップS17においてセンチメントスコア取得部106は、選択区間のセンチメントスコアを取得する。本実施形態では一例として、センチメントスコア取得部106は、各区間にセンチメントスコアが設定されたプロットラインをステップS1で取得しているため、選択区間のセンチメントスコアを当該プロットラインから取得してよい。 In step S17, the sentiment score acquisition unit 106 acquires the sentiment score of the selected section. In the present embodiment, as an example, since the sentiment score acquisition unit 106 acquires the plot line in which the sentiment score is set for each section in step S1, the sentiment score of the selected section is acquired from the plot line. you can

ステップS19において選択部110は、選択区間のあらすじ分節の内容に対応し、かつ、選択区間のセンチメントスコアに対応するテキストを箱書きテキストとして記憶部102のテキスト群から選択する。例えば、選択部110のセンチメントスコア適合度算出部110が各テキストの第1適合度を算出し、選択部110の内容適合度算出部112が各テキストの第2適合度を算出する。そして、選択部110の評価部113がテキストごとに、当該テキストの第1適合度および第2適合度に基づいて適合評価値を算出して、最も適合評価値の高い何れか1つのテキストを箱書きテキストとして選択する。 In step S19, the selection unit 110 selects from the text group of the storage unit 102 text corresponding to the content of the synopsis segment of the selected section and corresponding to the sentiment score of the selected section as boxed text. For example, the sentiment score matching calculation unit 110 of the selecting unit 110 calculates the first matching of each text, and the content matching calculating unit 112 of the selecting unit 110 calculates the second matching of each text. Then, the evaluation unit 113 of the selection unit 110 calculates a matching evaluation value for each text based on the first matching degree and the second matching degree of the text, and selects one of the texts with the highest matching evaluation value in a box. Select as text.

ステップS21において繰り返し制御部124は、ステップS13であらすじ分節を対応付けた全ての区間を選択したか否か、つまり全ての区間に対して箱書きテキストを選択したか否かを判定する。繰り返し制御部124は、ステップS13であらすじ分節を対応付けた全ての区間の数を、ステップS19の処理ごとにカウントダウンし、カウント値が0に達したことに応じて、全ての区間が選択されたと判定してよい。 In step S21, the repetition control unit 124 determines whether or not all sections associated with synopsis segments have been selected in step S13, that is, whether or not boxed text has been selected for all sections. The repetition control unit 124 counts down the number of all sections associated with the synopsis segment in step S13 for each process in step S19, and when the count value reaches 0, it is determined that all sections have been selected. You can judge.

ステップS21において全ての区間を選択していないと判定した場合(ステップS21;No)には、繰り返し制御部124は、ステップS15に処理を移行する。これによりステップS15~S19の処理が繰り返されて全ての区間が選択されて箱書きテキストが選択された状態となる。ステップS21において全ての区間を選択したと判定した場合(ステップS21;Yes)には、繰り返し制御部124はステップS23に処理を移行する。 When it is determined in step S21 that all sections have not been selected (step S21; No), the repetition control unit 124 proceeds to step S15. As a result, the processing of steps S15 to S19 is repeated to select all the sections and select the boxed text. When it is determined in step S21 that all sections have been selected (step S21; Yes), the repetition control unit 124 shifts the process to step S23.

ステップS23において繰り返し制御部124は、生成部122により生成される脚本の分量が基準量を超えるか否かを判定する。本実施形態においては一例として、繰り返し制御部124は、供給部121から供給された箱書きテキストの分量の総和が基準量を超えるか否かを判定する。ステップS23において脚本の分量が基準量を超えると判定した場合(ステップS23;Yes)には、繰り返し制御部124は処理をステップS27に移行する。ステップS23において脚本の分量が基準量を超えないと判定した場合(ステップS23;No)には、繰り返し制御部124は処理をステップS25に移行する。これにより、後述のようにステップS25の処理の後にステップS13の処理が改めて行われ、作品を再帰的にさらに分割した区間ごとにあらすじ分節が生成される。 In step S23, the repetition control unit 124 determines whether or not the amount of script generated by the generation unit 122 exceeds a reference amount. As an example in this embodiment, the repetition control unit 124 determines whether or not the total amount of boxed text supplied from the supply unit 121 exceeds a reference amount. When it is determined in step S23 that the script amount exceeds the reference amount (step S23; Yes), the repeat control unit 124 shifts the process to step S27. If it is determined in step S23 that the script amount does not exceed the reference amount (step S23; No), the repeat control unit 124 shifts the process to step S25. As a result, as will be described later, the process of step S13 is performed again after the process of step S25, and synopsis segments are generated for each section into which the work is recursively further divided.

ここで、ステップS23の処理が行われる場合には、これまでにステップS13の処理が行われた回数だけ作品を再帰的に分割した各区間に対し、箱書きテキストが既に選択されている。従って、繰り返し制御部124は、これまでにステップS13の処理が行われた回数に基づいて、箱書きテキストの分量の総和が基準量を超えるか否かの判定を行ってよい。 Here, when the process of step S23 is performed, the boxed text has already been selected for each section obtained by recursively dividing the work by the number of times the process of step S13 has been performed. Therefore, the repetition control unit 124 may determine whether or not the total amount of boxed text exceeds the reference amount based on the number of times the process of step S13 has been performed.

なお、これまでにステップS13の処理が行われた回数は、これまでにステップS23の処理が行われた回数に1を加えた数と等しい。従って、繰り返し制御部124は、これまでにステップS13の処理が行われた回数に代えて、自身がステップS23の処理を行った回数に1を加えた数を用いても良い。 The number of times the process of step S13 has been performed so far is equal to the number of times the process of step S23 has been performed so far plus one. Therefore, the repetition control unit 124 may use a number obtained by adding 1 to the number of times the process of step S23 has been performed by itself instead of the number of times the process of step S13 has been performed.

ステップS25においてあらすじ取得部103は、各区間に選択された箱書きテキストを、当該区間のあらすじとして供給部121から取得し、分節部104に供給する。これにより、上述のステップS13に処理が移行する。 In step S<b>25 , the synopsis acquisition unit 103 acquires the boxed text selected for each section from the supply unit 121 as a synopsis of the section, and supplies it to the segmentation unit 104 . As a result, the process proceeds to step S13 described above.

但し、ステップS25の処理後にステップS13の処理が行われる場合には、分節部104は、分節前の複数の区間それぞれのあらすじを4分節してあらすじ分節を生成し、当該区間を4等分した各区間に対応付けてよい。例えば、ステップS25の処理によって4つの区間(第1~第4の区間とも称する)それぞれのあらすじが分節部104に供給されている場合には、分節部104は、第1の区間のあらすじを4分節してあらすじ分節を生成して、第1の区間を4等分した各区間に対応付けてよく、第2の区間のあらすじを4分節してあらすじ分節を生成し、第2の区間を4等分した各区間に対応付けてよく、第3,第4の区間についても同様の処理を行ってよい。 However, when the process of step S13 is performed after the process of step S25, the segmentation unit 104 generates a synopsis segment by segmenting the synopsis of each of the plurality of segments before the segmentation into four segments, and divides the segment into four equal parts. can be associated with each section. For example, when synopses of four segments (also referred to as first to fourth segments) have been supplied to the segmentation unit 104 by the process of step S25, the segmentation unit 104 divides the synopsis of the first segment into four segments. A synopsis segment may be segmented to generate a synopsis segment and associated with each quadrant of the first segment, the synopsis of the second segment may be segmented to generate a synopsis segment, and the second segment may be divided into four Each equally divided section may be associated, and the same processing may be performed for the third and fourth sections.

そして、ステップS27において生成部122は、各区間に対して選択された各箱書きテキストを区間の順に並べて脚本を生成する。 Then, in step S27, the generating unit 122 generates a screenplay by arranging the boxed texts selected for each section in the order of the sections.

[3.動作例]
図3は、動作結果の一例を示す。なお、図中の「あらすじ」は作品のあらすじを示す。「大箱」や「小箱」は作品内の区間に対応しており、それらの内容が箱書きテキストを示す。右端の数値は各区間に設定されたセンチメントスコアを示す。
[3. Operation example]
FIG. 3 shows an example of operation results. "Synopsis" in the figure indicates the synopsis of the work. "Large box" and "small box" correspond to sections within the work, and their contents indicate boxed text. The numbers on the right end indicate the sentiment score set for each section.

この図に示されるように、本実施形態に係る装置1によれば、図中に示されるあらすじや、区間ごとのセンチメントスコアを入力することで、各区間で該当のあらすじ分節の内容に沿い、かつ、該当のセンチメントスコアに応じた感情を引き起こす脚本を取得することができる。 As shown in this figure, according to the apparatus 1 according to the present embodiment, by inputting the synopsis shown in the figure and the sentiment score for each section, the content of the synopsis segment corresponding to each section is displayed. , and a script that evokes emotion according to the corresponding sentiment score can be obtained.

[4.変形例]
本変形例においては、柱書きの内容(一例としてシーンの場所や時間帯など)が箱書きテキストに含まれず、箱書きテキストの付加的な属性として用いられる。
[4. Modification]
In this modified example, the content of the headline (for example, the location of the scene, the time period, etc.) is not included in the box-written text, but is used as an additional attribute of the box-written text.

この場合にテキスト生成部101は、複数の脚本データから少なくともト書きを示すテキスト(箱書き本文のテキストとも称する)と、シーンの場所や時間帯などを示す属性データとを生成して、それぞれ記憶部102に記憶させてよい。また、テキスト生成部101は、生成した箱書き本文の各テキストのセンチメントスコアを取得して、該当の箱書き本文のテキストに対応付けて記憶部102に記憶させてよい。同様にして、テキスト生成部101は、生成した各属性データのセンチメントスコアを取得して、該当の属性データに対応付けて記憶部102に記憶させてよい。 In this case, the text generation unit 101 generates at least a text indicating the storyline (also referred to as text of boxed text) from a plurality of script data, and attribute data indicating the location and time of the scene, etc., and the storage unit 102 can be stored in Further, the text generation unit 101 may acquire the sentiment score of each text of the generated boxed text, and store it in the storage unit 102 in association with the corresponding boxed text. Similarly, the text generation unit 101 may acquire the sentiment score of each generated attribute data and store it in the storage unit 102 in association with the corresponding attribute data.

また、選択部110は、複数のあらすじ分節のそれぞれに対し、当該あらすじ分節の内容に対応し、かつ、当該あらすじ分節のセンチメントスコアに対応する箱書き本文のテキストを記憶部102内のテキスト群から選択してよい。同様にして、選択部110は、複数のあらすじ分節のそれぞれに対し、当該あらすじ分節の内容に対応し、かつ、当該あらすじ分節のセンチメントスコアに対応する属性データを記憶部102内の複数の属性データから選択してよい。 Further, for each of the plurality of synopsis segments, the selection unit 110 selects, from the text group in the storage unit 102, the boxed body text corresponding to the contents of the synopsis segment and corresponding to the sentiment score of the synopsis segment. You may choose. Similarly, for each of a plurality of synopsis segments, the selection unit 110 stores attribute data corresponding to the content of the synopsis segment and corresponding to the sentiment score of the synopsis segment. You can choose from the data.

一例として、選択部110は、一のあらすじ分節に対応する属性データを選択する場合に、センチメントスコア適合度算出部111により各属性データのセンチメントスコアと、一のあらすじ分節に設定されたセンチメントスコアとに基づいて、当該一のあらすじ分節に対する各属性データの第3適合度を算出してよい。また、選択部110は、内容適合度算出部112により各属性データと、当該一のあらすじ分節との内容の類似度に基づいて、当該一のあらすじ分節に対する各属性データの第4適合度を算出してよい。そして、選択部110は、評価部113により属性データごとに第3適合度および第4適合度に基づいて一のあらすじ分節に対する適合評価値を算出して、一のあらすじ分節に対応する属性データを選択してよい。 As an example, when selecting attribute data corresponding to one synopsis segment, the selection unit 110 selects the sentiment score of each attribute data by the sentiment score matching calculation unit 111 and the sentiment score set for the one synopsis segment. A third relevance of each attribute data to the one synopsis segment may be calculated based on the comment score. Further, the selection unit 110 calculates a fourth degree of conformity of each attribute data to the one synopsis segment based on the degree of similarity between the contents of each attribute data and the one synopsis segment by the content adaptability calculation unit 112. You can Then, the selecting unit 110 calculates the matching evaluation value for one synopsis segment based on the third matching degree and the fourth matching degree for each attribute data by the evaluating unit 113, and selects the attribute data corresponding to the one synopsis segment. You may choose.

さらに、生成部122は、選択部110によって各あらすじ分節に対して選択された箱書き本文のテキストと、属性データとの組を、あらすじ分節の順に並べて脚本を生成してよい。 Furthermore, the generation unit 122 may generate a script by arranging pairs of boxed body text and attribute data selected for each synopsis segment by the selection unit 110 in the order of the synopsis segment.

[5.その他の変形例]
なお、上記の実施形態および変形例においては、装置1がテキスト生成部101、記憶部102、あらすじ取得部103、分節部104、供給部121、および、繰り返し制御部124を備えることとして説明したが、これらのいずれかを備えないこととしても良い。例えば、装置1はテキスト生成部101を備えない場合に、外部からテキスト群を取得して記憶部102に記憶させてよい。また、装置1は記憶部102を備えない場合に、テキスト群を記憶する記憶装置と外部接続されてもよい。また、装置1はあらすじ取得部103や分節部104を備えない場合に、あらすじ分節取得部105によって装置1の外部から取得したあらすじ分節を用いて脚本を生成してもよい。また、装置1は供給部121や繰り返し制御部124を備えない場合に、当初のあらすじ分節に対して選択された箱書きテキストをそのまま並べて脚本を生成してよい。
[5. Other Modifications]
It should be noted that in the above-described embodiment and modification, the device 1 is provided with the text generation unit 101, the storage unit 102, the synopsis acquisition unit 103, the segmentation unit 104, the supply unit 121, and the repetition control unit 124. , it is also possible not to provide any of these. For example, when the device 1 does not include the text generation unit 101 , the text group may be acquired from the outside and stored in the storage unit 102 . Also, when the device 1 does not include the storage unit 102, it may be externally connected to a storage device that stores text groups. Further, when the apparatus 1 does not include the synopsis acquisition unit 103 or the segmentation unit 104, the synopsis segment acquisition unit 105 may acquire a synopsis segment from outside the apparatus 1 to generate a script. Also, when the device 1 does not include the supply unit 121 or the repetition control unit 124, the boxed text selected for the initial synopsis segment may be arranged as is to generate a script.

また、繰り返し制御部124は供給部121から供給された箱書きテキストの分量の総和に基づいて、脚本の分量が基準量を超えるか否かを判定することとして説明したが、他の手法によって判定を行ってもよい。例えば、繰り返し制御部124は、分節部104やあらすじ分節取得部105、供給部121、選択部110などの何れかが処理を行った回数に基づいて判定を行ってもよいし、生成部122において生成されている脚本の分量に基づいて判定を行ってもよい。 Further, although the repetition control unit 124 has been described as determining whether or not the amount of the script exceeds the reference amount based on the total amount of boxed text supplied from the supply unit 121, the determination can be made by other methods. you can go For example, the repetition control unit 124 may make a determination based on the number of times any one of the segmentation unit 104, the synopsis segment acquisition unit 105, the supply unit 121, the selection unit 110, etc. performs processing. The determination may be made based on the amount of script being generated.

また、脚本の分量が基準量を超えるまで繰り返し制御部124が処理の繰り返しを行わせることとして説明したが、固定の回数だけ繰り返しを行わせてもよい。これに代えて、繰り返し制御部124は、区間の粒度が基準粒度未満となるまで繰り返しを行わせてもよい。この場合に、繰り返し制御部124は作品を再帰的に分割して得られる基準粒度未満の各区間に対応するあらすじ分節に対して箱書きテキストが選択されるまで、処理の繰り返しを行わせてよい。区間の粒度は区間の時間長を示してもよいし、区間の個数の逆数(つまり、作品の全体に対する一区間の割合)であってもよい。区間の粒度が区間の時間長を示す場合には、作品の時間長をオペレータ等から取得して繰り返し制御部124に供給する時間長取得部が装置1に具備されてよい。 Further, although the repetition control unit 124 repeats the process until the amount of script exceeds the reference amount, it may be repeated a fixed number of times. Alternatively, the repetition control unit 124 may repeat until the granularity of the section is less than the reference granularity. In this case, the repetition control unit 124 may repeat the process until boxed text is selected for the synopsis segment corresponding to each section smaller than the reference granularity obtained by recursively dividing the work. The granularity of the section may indicate the time length of the section, or may be the reciprocal of the number of sections (that is, the ratio of one section to the entire work). When the granularity of the section indicates the time length of the section, the device 1 may be provided with a time length acquisition unit that acquires the time length of the work from the operator or the like and supplies it to the repeat control unit 124 .

また、テキスト生成部101が脚本データからテキストを生成して当該テキストのセンチメントスコアを取得することとして説明したが、センチメントスコアの取得をテキスト生成部101が行わなくてもよい。この場合には、選択部110のセンチメントスコア適合度算出部111がテキストの第1適合度を算出する場合に、当該テキストのセンチメントスコアを取得してよい。 Also, although the text generation unit 101 has been described as generating text from script data and acquiring the sentiment score of the text, the text generation unit 101 does not have to acquire the sentiment score. In this case, when the sentiment score matching calculation unit 111 of the selecting unit 110 calculates the first matching of the text, the sentiment score of the text may be acquired.

また、作品を分割した区間に対してセンチメントスコアが設定されることとして説明したが、作品内の各時点に対して設定されてもよい。一例として、センチメントスコアは、区間内の複数の時点に対して設定されてよい。この場合、センチメントスコア取得部106は、区間内に設定された複数のセンチメントスコアの代表値を区間のセンチメントスコアとして取得してよい。代表値は、区間内の複数のセンチメントスコアの平均値や中央値でも良いし、区間の先頭や末尾、中央の時点に設定されたセンチメントスコアでもよい。また、代表値は任意の関数から導出される値でもよい。代表値の導出機能はモジュール化されていてもよい。 Also, although it has been described that the sentiment score is set for each section into which the work is divided, it may be set for each point in the work. As an example, sentiment scores may be set for multiple time points within the interval. In this case, the sentiment score acquisition unit 106 may acquire a representative value of a plurality of sentiment scores set within the section as the sentiment score of the section. The representative value may be the average value or median value of a plurality of sentiment scores within the interval, or may be the sentiment score set at the beginning, end, or center of the interval. Also, the representative value may be a value derived from an arbitrary function. The representative value derivation function may be modularized.

また、内容適合度算出部112はテキストとあらすじ分節との内容の類似度から第2適合度を算出することとして説明したが、これに加えて/代えて、テキストとあらすじ全体との内容の類似度から第2適合度を算出してもよい。 In addition, although the content matching calculation unit 112 has been described as calculating the second matching from the content similarity between the text and the synopsis segment, in addition/instead of this, the content similarity between the text and the entire synopsis can be calculated. A second goodness of fit may be calculated from the degree.

また、再帰的に分割された区間に対して箱書きテキストが選択される場合に、最も細かい区間のそれぞれに対応する箱書きテキストが区間順に並べられて脚本が生成されることとして説明したが、区間の長さに関わらず各区間に対応する箱書きテキストが区間順に並べられて脚本が生成されてもよい。 In addition, it was explained that when boxed text is selected for a recursively divided section, the script is generated by arranging the boxed text corresponding to each of the smallest sections in the order of the section. A screenplay may be generated by arranging boxed text corresponding to each section in order of section regardless of length.

また、本発明の様々な実施形態は、フローチャートおよびブロック図を参照して記載されてよく、ここにおいてブロックは、(1)操作が実行されるプロセスの段階または(2)操作を実行する役割を持つ装置のセクションを表わしてよい。特定の段階およびセクションが、専用回路、コンピュータ可読媒体上に格納されるコンピュータ可読命令と共に供給されるプログラマブル回路、および/またはコンピュータ可読媒体上に格納されるコンピュータ可読命令と共に供給されるプロセッサによって実装されてよい。専用回路は、デジタルおよび/またはアナログハードウェア回路を含んでよく、集積回路(IC)および/またはディスクリート回路を含んでよい。プログラマブル回路は、論理AND、論理OR、論理XOR、論理NAND、論理NOR、および他の論理操作、フリップフロップ、レジスタ、フィールドプログラマブルゲートアレイ(FPGA)、プログラマブルロジックアレイ(PLA)等のようなメモリ要素等を含む、再構成可能なハードウェア回路を含んでよい。 Additionally, various embodiments of the invention may be described with reference to flowchart illustrations and block diagrams, where blocks represent (1) steps in a process in which operations are performed or (2) roles that perform operations. may represent a section of equipment that has Certain steps and sections may be implemented by dedicated circuitry, programmable circuitry provided with computer readable instructions stored on a computer readable medium, and/or processor provided with computer readable instructions stored on a computer readable medium. you can Dedicated circuitry may include digital and/or analog hardware circuitry, and may include integrated circuits (ICs) and/or discrete circuitry. Programmable circuits include logic AND, logic OR, logic XOR, logic NAND, logic NOR, and other logic operations, memory elements such as flip-flops, registers, field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), etc. and the like.

コンピュータ可読媒体は、適切なデバイスによって実行される命令を格納可能な任意の有形なデバイスを含んでよく、その結果、そこに格納される命令を有するコンピュータ可読媒体は、フローチャートまたはブロック図で指定された操作を実行するための手段を作成すべく実行され得る命令を含む、製品を備えることになる。コンピュータ可読媒体の例としては、電子記憶媒体、磁気記憶媒体、光記憶媒体、電磁記憶媒体、半導体記憶媒体等が含まれてよい。コンピュータ可読媒体のより具体的な例としては、フロッピー(登録商標)ディスク、ディスケット、ハードディスク、ランダムアクセスメモリ(RAM)、リードオンリメモリ(ROM)、消去可能プログラマブルリードオンリメモリ(EPROMまたはフラッシュメモリ)、電気的消去可能プログラマブルリードオンリメモリ(EEPROM)、静的ランダムアクセスメモリ(SRAM)、コンパクトディスクリードオンリメモリ(CD-ROM)、デジタル多用途ディスク(DVD)、ブルーレイ(RTM)ディスク、メモリスティック、集積回路カード等が含まれてよい。 Computer-readable media may include any tangible device capable of storing instructions to be executed by a suitable device, such that computer-readable media having instructions stored thereon may be designated in flowcharts or block diagrams. It will comprise an article of manufacture containing instructions that can be executed to create means for performing the operations described above. Examples of computer-readable media may include electronic storage media, magnetic storage media, optical storage media, electromagnetic storage media, semiconductor storage media, and the like. More specific examples of computer readable media include floppy disks, diskettes, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), Electrically Erasable Programmable Read Only Memory (EEPROM), Static Random Access Memory (SRAM), Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD), Blu-ray (RTM) Disc, Memory Stick, Integration Circuit cards and the like may be included.

コンピュータ可読命令は、アセンブラ命令、命令セットアーキテクチャ(ISA)命令、マシン命令、マシン依存命令、マイクロコード、ファームウェア命令、状態設定データ、またはSmalltalk、JAVA(登録商標)、C++等のようなオブジェクト指向プログラミング言語、および「C」プログラミング言語または同様のプログラミング言語のような従来の手続型プログラミング言語を含む、1または複数のプログラミング言語の任意の組み合わせで記述されたソースコードまたはオブジェクトコードのいずれかを含んでよい。 The computer readable instructions may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state setting data, or object oriented programming such as Smalltalk, JAVA, C++, etc. language, and any combination of one or more programming languages, including conventional procedural programming languages, such as the "C" programming language or similar programming languages. good.

コンピュータ可読命令は、汎用コンピュータ、特殊目的のコンピュータ、若しくは他のプログラム可能なデータ処理装置のプロセッサまたはプログラマブル回路に対し、ローカルにまたはローカルエリアネットワーク(LAN)、インターネット等のようなワイドエリアネットワーク(WAN)を介して提供され、フローチャートまたはブロック図で指定された操作を実行するための手段を作成すべく、コンピュータ可読命令を実行してよい。プロセッサの例としては、コンピュータプロセッサ、処理ユニット、マイクロプロセッサ、デジタル信号プロセッサ、コントローラ、マイクロコントローラ等を含む。 Computer readable instructions may be transferred to a processor or programmable circuitry of a general purpose computer, special purpose computer, or other programmable data processing apparatus, either locally or over a wide area network (WAN), such as a local area network (LAN), the Internet, or the like. ) and may be executed to create means for performing the operations specified in the flowcharts or block diagrams. Examples of processors include computer processors, processing units, microprocessors, digital signal processors, controllers, microcontrollers, and the like.

図4は、本発明の複数の態様が全体的または部分的に具現化されてよいコンピュータ2200の例を示す。コンピュータ2200にインストールされたプログラムは、コンピュータ2200に、本発明の実施形態に係る装置に関連付けられる操作または当該装置の1または複数のセクションとして機能させることができ、または当該操作または当該1または複数のセクションを実行させることができ、および/またはコンピュータ2200に、本発明の実施形態に係るプロセスまたは当該プロセスの段階を実行させることができる。そのようなプログラムは、コンピュータ2200に、本明細書に記載のフローチャートおよびブロック図のブロックのうちのいくつかまたはすべてに関連付けられた特定の操作を実行させるべく、CPU2212によって実行されてよい。 FIG. 4 illustrates an example computer 2200 upon which aspects of the invention may be implemented in whole or in part. Programs installed on the computer 2200 may cause the computer 2200 to function as one or more sections of an operation or apparatus associated with an apparatus according to embodiments of the invention, or may Sections may be executed and/or computer 2200 may be caused to execute processes or steps of such processes according to embodiments of the present invention. Such programs may be executed by CPU 2212 to cause computer 2200 to perform certain operations associated with some or all of the blocks in the flowcharts and block diagrams described herein.

本実施形態によるコンピュータ2200は、CPU2212、RAM2214、グラフィックコントローラ2216、およびディスプレイデバイス2218を含み、それらはホストコントローラ2210によって相互に接続されている。コンピュータ2200はまた、通信インタフェース2222、ハードディスクドライブ2224、DVD-ROMドライブ2226、およびICカードドライブのような入/出力ユニットを含み、それらは入/出力コントローラ2220を介してホストコントローラ2210に接続されている。コンピュータはまた、ROM2230およびキーボード2242のようなレガシの入/出力ユニットを含み、それらは入/出力チップ2240を介して入/出力コントローラ2220に接続されている。 Computer 2200 according to this embodiment includes CPU 2212 , RAM 2214 , graphics controller 2216 , and display device 2218 , which are interconnected by host controller 2210 . Computer 2200 also includes input/output units such as communication interface 2222, hard disk drive 2224, DVD-ROM drive 2226, and IC card drive, which are connected to host controller 2210 via input/output controller 2220. there is The computer also includes legacy input/output units such as ROM 2230 and keyboard 2242 , which are connected to input/output controller 2220 through input/output chip 2240 .

CPU2212は、ROM2230およびRAM2214内に格納されたプログラムに従い動作し、それにより各ユニットを制御する。グラフィックコントローラ2216は、RAM2214内に提供されるフレームバッファ等またはそれ自体の中にCPU2212によって生成されたイメージデータを取得し、イメージデータがディスプレイデバイス2218上に表示されるようにする。 CPU 2212 operates according to programs stored in ROM 2230 and RAM 2214, thereby controlling each unit. Graphics controller 2216 retrieves image data generated by CPU 2212 into itself, such as a frame buffer provided in RAM 2214 , and causes the image data to be displayed on display device 2218 .

通信インタフェース2222は、ネットワークを介して他の電子デバイスと通信する。ハードディスクドライブ2224は、コンピュータ2200内のCPU2212によって使用されるプログラムおよびデータを格納する。DVD-ROMドライブ2226は、プログラムまたはデータをDVD-ROM2201から読み取り、ハードディスクドライブ2224にRAM2214を介してプログラムまたはデータを提供する。ICカードドライブは、プログラムおよびデータをICカードから読み取り、および/またはプログラムおよびデータをICカードに書き込む。 Communication interface 2222 communicates with other electronic devices over a network. Hard disk drive 2224 stores programs and data used by CPU 2212 within computer 2200 . DVD-ROM drive 2226 reads programs or data from DVD-ROM 2201 and provides programs or data to hard disk drive 2224 via RAM 2214 . The IC card drive reads programs and data from IC cards and/or writes programs and data to IC cards.

ROM2230はその中に、アクティブ化時にコンピュータ2200によって実行されるブートプログラム等、および/またはコンピュータ2200のハードウェアに依存するプログラムを格納する。入/出力チップ2240はまた、様々な入/出力ユニットをパラレルポート、シリアルポート、キーボードポート、マウスポート等を介して、入/出力コントローラ2220に接続してよい。 ROM 2230 stores therein programs that are dependent on the hardware of computer 2200, such as a boot program that is executed by computer 2200 upon activation. Input/output chip 2240 may also connect various input/output units to input/output controller 2220 via parallel ports, serial ports, keyboard ports, mouse ports, and the like.

プログラムが、DVD-ROM2201またはICカードのようなコンピュータ可読媒体によって提供される。プログラムは、コンピュータ可読媒体から読み取られ、コンピュータ可読媒体の例でもあるハードディスクドライブ2224、RAM2214、またはROM2230にインストールされ、CPU2212によって実行される。これらのプログラム内に記述される情報処理は、コンピュータ2200に読み取られ、プログラムと、上記様々なタイプのハードウェアリソースとの間の連携をもたらす。装置または方法が、コンピュータ2200の使用に従い情報の操作または処理を実現することによって構成されてよい。 A program is provided by a computer-readable medium such as a DVD-ROM 2201 or an IC card. The program is read from a computer-readable medium, installed in hard disk drive 2224 , RAM 2214 , or ROM 2230 , which are also examples of computer-readable medium, and executed by CPU 2212 . The information processing described within these programs is read by computer 2200 to provide coordination between the programs and the various types of hardware resources described above. An apparatus or method may be configured by implementing the manipulation or processing of information in accordance with the use of computer 2200 .

例えば、通信がコンピュータ2200および外部デバイス間で実行される場合、CPU2212は、RAM2214にロードされた通信プログラムを実行し、通信プログラムに記述された処理に基づいて、通信インタフェース2222に対し、通信処理を命令してよい。通信インタフェース2222は、CPU2212の制御下、RAM2214、ハードディスクドライブ2224、DVD-ROM2201、またはICカードのような記録媒体内に提供される送信バッファ処理領域に格納された送信データを読み取り、読み取られた送信データをネットワークに送信し、またはネットワークから受信された受信データを記録媒体上に提供される受信バッファ処理領域等に書き込む。 For example, when communication is performed between the computer 2200 and an external device, the CPU 2212 executes a communication program loaded in the RAM 2214 and sends communication processing to the communication interface 2222 based on the processing described in the communication program. you can command. The communication interface 2222 reads transmission data stored in a transmission buffer processing area provided in a recording medium such as the RAM 2214, the hard disk drive 2224, the DVD-ROM 2201, or an IC card under the control of the CPU 2212, and transmits the read transmission data. Data is transmitted to the network, or received data received from the network is written to a receive buffer processing area or the like provided on the recording medium.

また、CPU2212は、ハードディスクドライブ2224、DVD-ROMドライブ2226(DVD-ROM2201)、ICカード等のような外部記録媒体に格納されたファイルまたはデータベースの全部または必要な部分がRAM2214に読み取られるようにし、RAM2214上のデータに対し様々なタイプの処理を実行してよい。CPU2212は次に、処理されたデータを外部記録媒体にライトバックする。 In addition, the CPU 2212 causes the RAM 2214 to read all or necessary portions of files or databases stored in external recording media such as a hard disk drive 2224, a DVD-ROM drive 2226 (DVD-ROM 2201), an IC card, etc. Various types of processing may be performed on the data in RAM 2214 . CPU 2212 then writes back the processed data to the external recording medium.

様々なタイプのプログラム、データ、テーブル、およびデータベースのような様々なタイプの情報が記録媒体に格納され、情報処理を受けてよい。CPU2212は、RAM2214から読み取られたデータに対し、本開示の随所に記載され、プログラムの命令シーケンスによって指定される様々なタイプの操作、情報処理、条件判断、条件分岐、無条件分岐、情報の検索/置換等を含む、様々なタイプの処理を実行してよく、結果をRAM2214に対しライトバックする。また、CPU2212は、記録媒体内のファイル、データベース等における情報を検索してよい。例えば、各々が第2の属性の属性値に関連付けられた第1の属性の属性値を有する複数のエントリが記録媒体内に格納される場合、CPU2212は、第1の属性の属性値が指定される、条件に一致するエントリを当該複数のエントリの中から検索し、当該エントリ内に格納された第2の属性の属性値を読み取り、それにより予め定められた条件を満たす第1の属性に関連付けられた第2の属性の属性値を取得してよい。 Various types of information, such as various types of programs, data, tables, and databases, may be stored on recording media and subjected to information processing. CPU 2212 performs various types of operations on data read from RAM 2214, information processing, conditional decision making, conditional branching, unconditional branching, and information retrieval, as specified throughout this disclosure and by instruction sequences of programs. Various types of processing may be performed, including /replace, etc., and the results written back to RAM 2214 . In addition, the CPU 2212 may search for information in a file in a recording medium, a database, or the like. For example, if a plurality of entries each having an attribute value of a first attribute associated with an attribute value of a second attribute are stored in the recording medium, the CPU 2212 determines that the attribute value of the first attribute is specified. search the plurality of entries for an entry that matches the condition, read the attribute value of the second attribute stored in the entry, and thereby associate it with the first attribute that satisfies the predetermined condition. an attribute value of the second attribute obtained.

上で説明したプログラムまたはソフトウェアモジュールは、コンピュータ2200上またはコンピュータ2200近傍のコンピュータ可読媒体に格納されてよい。また、専用通信ネットワークまたはインターネットに接続されたサーバーシステム内に提供されるハードディスクまたはRAMのような記録媒体が、コンピュータ可読媒体として使用可能であり、それによりプログラムを、ネットワークを介してコンピュータ2200に提供する。 The programs or software modules described above may be stored in a computer readable medium on or near computer 2200 . Also, a recording medium such as a hard disk or RAM provided in a server system connected to a dedicated communication network or the Internet can be used as a computer-readable medium, thereby providing the program to the computer 2200 via the network. do.

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更または改良を加えることが可能であることが当業者に明らかである。その様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。 Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments. It is obvious to those skilled in the art that various modifications and improvements can be made to the above embodiments. It is clear from the description of the scope of claims that forms with such modifications or improvements can also be included in the technical scope of the present invention.

特許請求の範囲、明細書、および図面中において示した装置、システム、プログラム、および方法における動作、手順、ステップ、および段階等の各処理の実行順序は、特段「より前に」、「先立って」等と明示しておらず、また、前の処理の出力を後の処理で用いるのでない限り、任意の順序で実現しうることに留意すべきである。特許請求の範囲、明細書、および図面中の動作フローに関して、便宜上「まず、」、「次に、」等を用いて説明したとしても、この順で実施することが必須であることを意味するものではない。 The execution order of each process such as actions, procedures, steps, and stages in the devices, systems, programs, and methods shown in the claims, the specification, and the drawings is particularly "before", "before etc., and it should be noted that they can be implemented in any order unless the output of the previous process is used in the subsequent process. Regarding the operation flow in the claims, the specification, and the drawings, even if the description is made using "first," "next," etc. for the sake of convenience, it means that it is essential to carry out in this order. not a thing

1 装置
101 テキスト生成部
102 記憶部
103 あらすじ取得部
104 分節部
105 あらすじ分節取得部
106 センチメントスコア取得部
110 選択部
111 センチメントスコア適合度算出部
112 内容適合度算出部
113 評価部
121 供給部
122 生成部
124 繰り返し制御部
2200 コンピュータ
2201 DVD-ROM
2210 ホストコントローラ
2212 CPU
2214 RAM
2216 グラフィックコントローラ
2218 ディスプレイデバイス
2220 入/出力コントローラ
2222 通信インタフェース
2224 ハードディスクドライブ
2226 DVD-ROMドライブ
2230 ROM
2240 入/出力チップ
2242 キーボード
1 device
101 text generator
102 storage unit
103 Synopsis Acquisition Unit
104 segments
105 Synopsis Segment Acquisition Unit
106 Sentiment Score Acquisition Unit
110 selection unit
111 Sentiment score matching calculation unit
112 content relevance calculator
113 Evaluation Department
121 supply unit
122 Generator
124 repeat control unit
2200 computer
2201 DVD-ROM
2210 host controller
2212 CPUs
2214 RAM
2216 graphics controller
2218 display device
2220 Input/Output Controller
2222 communication interface
2224 hard disk drive
2226 DVD-ROM drive
2230 ROMs
2240 input/output chip
2242 keyboard

Claims (10)

コンピュータを、
作成しようとする脚本に対して予め設定された区間の数にあらすじを分節した複数のあらすじ分節を取得する第1取得部と、
前記区間のそれぞれに設定されたセンチメントスコアを、その区間に対応するあらすじ分節のセンチメントスコアとして取得する第2取得部と、
前記複数のあらすじ分節のそれぞれに対し、当該あらすじ分節の内容に対応し、かつ、当該あらすじ分節のセンチメントスコアに対応するテキストをテキスト群から選択する選択部と、
各あらすじ分節に対して選択された各テキストを、当該あらすじ分節に対応する前記区間の順に並べて前記脚本を生成する生成部
として機能させるプログラム。
the computer,
a first acquiring unit for acquiring a plurality of synopsis segments obtained by segmenting a synopsis into a preset number of segments for a screenplay to be created ;
a second acquisition unit that acquires the sentiment score set for each of the sections as the sentiment score of the synopsis segment corresponding to the section ;
a selection unit for selecting, from a group of texts, text corresponding to the content of the synopsis segment and corresponding to the sentiment score of the synopsis segment for each of the plurality of synopsis segments;
A program that functions as a generating unit that generates the script by arranging each text selected for each synopsis segment in the order of the sections corresponding to the synopsis segment.
前記選択部は、
各テキストを分析して得られるセンチメントスコアと、一のあらすじ分節に設定されたセンチメントスコアとに基づいて、当該一のあらすじ分節に対する各テキストの第1適合度を算出する第1算出部と、
各テキストと、前記一のあらすじ分節との内容の類似度に基づいて、当該一のあらすじ分節に対する各テキストの第2適合度を算出する第2算出部と、
テキストごとに前記第1適合度および前記第2適合度に基づいて、前記一のあらすじ分節に対する適合評価値を算出する評価部と、
を有し、
前記適合評価値に基づいて前記一のあらすじ分節に対応するテキストを選択する、請求項1に記載のプログラム。
The selection unit
a first calculation unit that calculates a first degree of suitability of each text for one synopsis segment based on the sentiment score obtained by analyzing each text and the sentiment score set for the one synopsis segment; ,
a second calculation unit that calculates a second degree of conformity of each text to the one synopsis segment based on the degree of similarity between the content of each text and the one synopsis segment;
an evaluation unit that calculates a relevance evaluation value for the one synopsis segment based on the first relevance and the second relevance for each text;
has
2. The program of claim 1, wherein text corresponding to said one synopsis segment is selected based on said relevance score.
前記評価部は、前記第1適合度および前記第2適合度を重み付け加算して前記適合評価値を算出する、請求項2に記載のプログラム。 3. The program according to claim 2, wherein said evaluation unit performs weighted addition of said first degree of suitability and said second degree of suitability to calculate said suitability evaluation value. 前記コンピュータを、
あらすじを取得して前記複数のあらすじ分節に分節し前記第1取得部に供給する分節部
としてさらに機能させ
前記分節部は、
前記区間の数に、取得したあらすじを文字数で分割するか、形態素解析により検出される意味の区切りで分節して、前記あらすじから前記あらすじ分節を生成し、
前記第2取得部は、各あらすじ分節に設定されたセンチメントスコアとして、当該あらすじ分節に対応する区間に設定されたセンチメントスコアを取得する、請求項1から3の何れか一項に記載のプログラム。
said computer,
Further functions as a segmentation unit that acquires a synopsis, segments it into the plurality of synopsis segments, and supplies the synopsis to the first acquisition unit.
The segmented part is
dividing the obtained synopsis by the number of characters in the number of the sections, or segmenting the synopsis at semantic breaks detected by morphological analysis to generate the synopsis segments from the synopsis;
The second acquisition unit according to any one of claims 1 to 3, wherein the sentiment score set for each synopsis segment is the sentiment score set for the section corresponding to the synopsis segment. program.
前記コンピュータを、
前記選択部によって各区間に対応するあらすじ分節に対して選択されたテキストを、当該区間についての前記あらすじとして前記分節部に供給して前記分節部、前記第1取得部、前記第2取得部および前記選択部により、当該あらすじを分節した各あらすじ分節に対してテキストを選択させることと、前記選択部により選択された各テキストを前記生成部に供給して前記脚本を生成させることとの少なくとも一方を行わせる供給部
としてさらに機能させる、請求項に記載のプログラム。
said computer,
The text selected by the selection unit for the synopsis segment corresponding to each section is supplied to the segmentation section as the synopsis for the section, and the segmentation section, the first acquisition section, the second acquisition section, and At least one of causing the selection unit to select text for each synopsis segment obtained by segmenting the synopsis, and supplying each text selected by the selection unit to the generation unit to generate the script. 5. The program according to claim 4 , further functioning as a supply unit for performing
前記コンピュータを、
前記脚本の分量が基準量を超えるまで前記第1取得部、前記分節部、前記第2取得部、前記選択部および前記供給部に処理を繰り返し行わせる繰り返し制御部
としてさらに機能させる、請求項に記載のプログラム。
said computer,
6. The method further functions as a repeat control unit that causes the first acquisition unit, the segmentation unit, the second acquisition unit, the selection unit, and the supply unit to repeatedly perform processing until the amount of the script exceeds a reference amount. program described in .
前記コンピュータを、
複数の脚本データから自然言語でのランダムな複数のテキストを生成するテキスト生成部と、
前記テキスト生成部により生成された複数のテキストを前記テキスト群として記憶する記憶部
としてさらに機能させる、請求項1からの何れか一項に記載のプログラム。
said computer,
a text generation unit that generates a plurality of random texts in natural language from a plurality of script data;
7. The program according to any one of claims 1 to 6 , further functioning as a storage unit that stores a plurality of texts generated by said text generation unit as said text group.
前記テキスト群の各テキストは、柱書き、台詞およびト書きを含む、請求項1からの何れか一項に記載のプログラム。 8. The program according to any one of claims 1 to 7 , wherein each text in said group of texts includes a headline, dialogue and topic. 作成しようとする脚本に対して予め設定された区間の数にあらすじを分節した複数のあらすじ分節を取得する第1取得部と、
前記区間のそれぞれに設定されたセンチメントスコアを、その区間に対応するあらすじ分節のセンチメントスコアとして取得する第2取得部と、
前記複数のあらすじ分節のそれぞれに対し、当該あらすじ分節の内容に対応し、かつ、当該あらすじ分節のセンチメントスコアに対応するテキストをテキスト群から選択する選択部と、
各あらすじ分節に対して選択された各テキストを、当該あらすじ分節に対応する前記区間の順に並べて前記脚本を生成する生成部と、
を備える装置。
a first acquiring unit for acquiring a plurality of synopsis segments obtained by segmenting a synopsis into a preset number of segments for a screenplay to be created ;
a second acquisition unit that acquires the sentiment score set for each of the sections as the sentiment score of the synopsis segment corresponding to the section ;
a selection unit for selecting, from a group of texts, text corresponding to the content of the synopsis segment and corresponding to the sentiment score of the synopsis segment for each of the plurality of synopsis segments;
a generating unit that generates the script by arranging each text selected for each synopsis segment in the order of the section corresponding to the synopsis segment ;
A device comprising
コンピュータが、作成しようとする脚本に対して予め設定された区間の数にあらすじを分節した複数のあらすじ分節を取得する第1取得段階と、
コンピュータが、前記区間のそれぞれに設定されたセンチメントスコアを、その区間に対応するあらすじ分節のセンチメントスコアとして取得する第2取得段階と、
コンピュータが、前記複数のあらすじ分節のそれぞれに対し、当該あらすじ分節の内容に対応し、かつ、当該あらすじ分節のセンチメントスコアに対応するテキストをテキスト群から選択する選択段階と、
コンピュータが、各あらすじ分節に対して選択された各テキストを、当該あらすじ分節に対応する前記区間の順に並べて前記脚本を生成する生成段階と、
を備える、脚本の製造方法。
a first obtaining step in which a computer obtains a plurality of synopsis segments that segment the synopsis into a preset number of intervals for the screenplay to be created ;
a second obtaining step in which the computer obtains the sentiment score set for each of the intervals as the sentiment score of the synopsis segment corresponding to the interval ;
a selection step in which , for each of the plurality of synopsis segments, a computer selects text from a group of texts corresponding to the content of the synopsis segment and corresponding to the sentiment score of the synopsis segment;
a generating step in which a computer arranges each text selected for each synopsis segment in order of the interval corresponding to that synopsis segment to generate the script;
A method for producing a screenplay, comprising:
JP2020099655A 2020-06-08 2020-06-08 Programs, devices, and methods of producing scripts Active JP7254359B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020099655A JP7254359B2 (en) 2020-06-08 2020-06-08 Programs, devices, and methods of producing scripts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020099655A JP7254359B2 (en) 2020-06-08 2020-06-08 Programs, devices, and methods of producing scripts

Publications (2)

Publication Number Publication Date
JP2021193522A JP2021193522A (en) 2021-12-23
JP7254359B2 true JP7254359B2 (en) 2023-04-10

Family

ID=79168768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020099655A Active JP7254359B2 (en) 2020-06-08 2020-06-08 Programs, devices, and methods of producing scripts

Country Status (1)

Country Link
JP (1) JP7254359B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016212499A (en) 2015-04-30 2016-12-15 Kddi株式会社 Dialogue pattern automatic creation device, method and program
US20170372203A1 (en) 2016-06-28 2017-12-28 International Business Machines Corporation Automated filtering of story content based on emotions
JP2018525675A (en) 2015-08-18 2018-09-06 アリババ・グループ・ホールディング・リミテッドAlibaba Group Holding Limited Method and device for generating live text broadcast content using past broadcast text

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02297124A (en) * 1989-03-09 1990-12-07 Nippon Telegr & Teleph Corp <Ntt> Method and device for supporting document generation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016212499A (en) 2015-04-30 2016-12-15 Kddi株式会社 Dialogue pattern automatic creation device, method and program
JP2018525675A (en) 2015-08-18 2018-09-06 アリババ・グループ・ホールディング・リミテッドAlibaba Group Holding Limited Method and device for generating live text broadcast content using past broadcast text
US20170372203A1 (en) 2016-06-28 2017-12-28 International Business Machines Corporation Automated filtering of story content based on emotions

Also Published As

Publication number Publication date
JP2021193522A (en) 2021-12-23

Similar Documents

Publication Publication Date Title
List et al. Sequence comparison in computational historical linguistics
JP4876511B2 (en) Logic extraction support device
US20200097531A1 (en) Dynamic facet tree generation
JP6902945B2 (en) Text summarization system
CN105556569A (en) Animation editing
Gorman et al. Improving homograph disambiguation with supervised machine learning
CN110889412B (en) Medical long text positioning and classifying method and device in physical examination report
US10108879B2 (en) Aggregate training data set generation for OCR processing
JP7254359B2 (en) Programs, devices, and methods of producing scripts
WO2023093372A1 (en) Text generation method and apparatus
US20150082278A1 (en) Clone detection method and clone function commonalizing method
JP2012141679A (en) Training data acquiring device, training data acquiring method, and program thereof
JP6402637B2 (en) Analysis program, analysis method, and analysis apparatus
US10353987B2 (en) Identification of a breakpoint based on a correlation measurement
US20160124743A1 (en) Compatibility and optimization of web applications across independent application stores
US12014276B2 (en) Deterministic training of machine learning models
US20090299997A1 (en) Grouping work support processing method and apparatus
US20230274567A1 (en) Information processing apparatus and non-transitory computer readable recording medium recording information processing program
WO2021149368A1 (en) Processing unit and processing system
US20230205997A1 (en) Information processing apparatus, operation method of information processing apparatus, and operation program of information processing apparatus
US20220092260A1 (en) Information output apparatus, question generation apparatus, and non-transitory computer readable medium
US20240185623A1 (en) Method and apparatus for providing text information including text extracted from content including image
JP7357030B2 (en) Communication terminal, program, and display method
WO2023000728A1 (en) Word segmentation method and related device
JP7327468B2 (en) Document analysis device and document analysis method

Legal Events

Date Code Title Description
A80 Written request to apply exceptions to lack of novelty of invention

Free format text: JAPANESE INTERMEDIATE CODE: A80

Effective date: 20200708

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210729

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220705

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220719

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20220913

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221026

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230221

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230322

R150 Certificate of patent or registration of utility model

Ref document number: 7254359

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150