Content generation method for electronic books and computer-readable medium
Abstract
A method is provided for placing a first content and a second content on a display screen at a distance D along a Y-axis in an orthogonal coordinate system formed by an X-axis and the Y-axis. The method includes identifying, in the first content, a first non-display-target region which is located on the second content side, identifying, in the second content, a second non-display-target region which is located on the first content side, calculating a plurality of total widths each of which is a sum of a width of the first non-display-target region in a direction of the Y-axis and a width of the second non-display-target region in the direction of the Y-axis, the widths being at a same X-coordinate, and determining the distance D based on the plurality of total widths and a predetermined reference.
Claims
exact text as granted — not AI-modified1 . A method for generating electronic book data in which a computer places a first content and a second content on a display screen at a distance D along a Y-axis in an orthogonal coordinate system formed by an X-axis and the Y-axis orthogonal to each other, the first content including a first display target, the second content including a second display target, the method comprising:
identifying a first non-display-target region which is part of a non-display-target region obtained by excluding a region of the first display target from a region of the first content and which is located on the second content side; identifying a second non-display-target region which is part of a non-display-target region obtained by excluding a region of the second display target from a region of the second content and which is located on the first content side; calculating a plurality of total widths each of which is a sum of a width of the first non-display-target region in a direction of the Y-axis and a width of the second non-display-target region in the direction of the Y-axis, the widths being at a same X-coordinate; determining the distance D based on the plurality of total widths and a reference value; and generating electronic book data including the first content and the second content that have said distance D, wherein the reference value is a reference serving as a target value of a distance between the region of the first display target and the region of the second display target and is one of values of a predetermined distribution function which is predetermined independent of the two display targets and is not a constant function, and in the determining of the distance D, the steeper is a slope of a function obtained by plotting the plurality of total widths arranged in ascending order at equal intervals in a direction of a horizontal axis with a vertical axis representing values of the total widths, the smaller is the reference value.
2 . A method for generating electronic book data in which a computer places a first content and a second content on a display screen at a distance D along a Y-axis in an orthogonal coordinate system formed by an X-axis and the Y-axis orthogonal to each other, the first content including a first display target, the second content including a second display target, the method comprising:
identifying a first non-display-target region which is part of a non-display-target region obtained by excluding a region of the first display target from a region of the first content and which is located on the second content side; identifying a second non-display-target region which is part of a non-display-target region obtained by excluding a region of the second display target from a region of the second content and which is located on the first content side; calculating a plurality of total widths each of which is a sum of a width of the first non-display-target region in a direction of the Y-axis and a width of the second non-display-target region in the direction of the Y-axis, the widths being at a same X-coordinate; determining the distance D based on the plurality of total widths and a reference value; and generating electronic book data including the first content and the second content that have said distance D, wherein the reference value is a reference serving as a target value of a distance between the region of the first display target and the region of the second display target and is one of values of a predetermined distribution function which is predetermined independent of the two display targets and is not a constant function, and in the determining of the distance D, the reference value is changed in accordance with a size of a region where a function obtained by plotting the plurality of total widths arranged in ascending order at equal intervals in a direction of a horizontal axis with a vertical axis representing values of the total widths has a steep slope.
3 . The method according to claim 1 or 2 , wherein
in the determining of the distance D, the distance D is determined preferentially using total widths with small values among the plurality of total widths.
4 . The method according to claim 1 or 2 , wherein
in the determining of the distance D, the distance D is determined based on a maximum value of a function obtained by subtracting, from values of the predetermined distribution function, values of the function obtained by plotting the plurality of total widths arranged in ascending order at equal intervals in a direction of a horizontal axis with a vertical axis representing values of the total widths.
5 . The method according to claim 1 or 2 , wherein
the predetermined distribution function has a predetermined value corresponding to a minimum value among the plurality of total widths.
6 . The method according to claim 1 or 2 , wherein
in the determining of the distance D, the distance D is defined by a limit set by a predetermined maximum value or a predetermined minimum value.
7 . A non-transitory computer-readable medium storing a program that causes a computer to execute the method according to claim 1 or 2 .Join the waitlist — get patent alerts
Track US2023410395A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.