Poetry recommendation method and device, electronic equipment and storage medium
By acquiring user profiles and matching word and content information of candidate poems, the system automatically recommends poems, solving the problem of poor adaptability in teacher experience selection, achieving objectivity and reliability in poem recommendation, and improving teaching effectiveness.
Patent Information
- Application Number
- CN202210648154.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-08
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2042-06-08
AI Technical Summary
Current methods for teaching poetry rely on teachers' experience, resulting in poor adaptability and impacting teaching effectiveness.
By acquiring user profiles of users to be recommended, and matching the word and content information of candidate poems based on age group and time period of poetry demand, the system automatically recommends target poems and constructs a recommended course schedule.
It achieves objectivity and reliability in poetry recommendations, avoids the subjectivity of manual selection, meets users' cognitive level and learning interests, and improves teaching effectiveness.
Smart Images

Figure CN115168552B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a method, apparatus, electronic device, and storage medium for recommending poems. Background Technology
[0002] Poetry is a literary work that uses rhythmic and vivid language to reflect life or express emotions. Studying poetry is very beneficial for improving students' literary cultivation.
[0003] Currently, students' learning of poetry mostly focuses on the poems arranged in textbooks. However, some teaching stages, such as kindergarten, do not have universally applicable textbooks. When teaching poetry in these stages, they rely more on the professional qualifications of the teachers themselves. As a result, the poems selected for teaching are highly subjective and may not be suitable for students of that age. Summary of the Invention
[0004] This invention provides a method, apparatus, electronic device, and storage medium for recommending poems, in order to solve the shortcomings of existing technologies that rely on teachers' experience to select poems for teaching, resulting in poor adaptability.
[0005] This invention provides a method for recommending poems, including:
[0006] Obtain the user profile of the user to be recommended, which is determined based on the age group and time period of the user's poetry needs;
[0007] Based on the word and content information of the candidate poems, target poems that match the user profile are determined from the candidate poems.
[0008] Based on the target poems, poems are recommended to the users to be recommended.
[0009] According to the poetry recommendation method provided by the present invention, the user profile includes learning ability information and learning tendency information;
[0010] The process of determining target poems that match the user profile from the candidate poems based on their word and content information includes:
[0011] Target poems are identified from the candidate poems whose word information matches the learning ability information and whose content information matches the learning tendency information.
[0012] According to the poetry recommendation method provided by the present invention, the word information includes at least one of word length information, sentence number information, and word difficulty information;
[0013] The word difficulty information is determined based on the writing difficulty and / or memorization difficulty of the words in the poem.
[0014] According to a poetry recommendation method provided by the present invention, the content information includes at least one of object-dimensional content information, scenery-dimensional content information, and emotion-dimensional content information.
[0015] According to a poetry recommendation method provided by the present invention, the step of determining target poems that match the user profile from the candidate poems based on the word and content information of the candidate poems further includes:
[0016] Candidate poems that match the age group and time period of the user's poetry needs are identified from the initial poems.
[0017] According to a poetry recommendation method provided by the present invention, the step of recommending poetry to the user to be recommended based on the target poetry includes:
[0018] Based on the time information of the users to be recommended, the target poems are sorted to obtain a recommended course schedule. The time information includes at least one of the following: planned study duration, study cycle, study season, study solar term, and study festival.
[0019] Based on the recommended course schedule, poetry recommendations are made to the users to be recommended.
[0020] According to a poetry recommendation method provided by the present invention, the step of sorting the target poems based on the time information of the user to be recommended to obtain a recommended course schedule includes:
[0021] Determine at least one of the following for each learning cycle in the planned learning duration: learning season, learning solar term, and learning festival;
[0022] Select target poems that match the content information with at least one of the learning season, solar term, and festival corresponding to each learning cycle, and construct the recommended course schedule.
[0023] The present invention also provides a poetry recommendation device, comprising:
[0024] A user profile unit is used to obtain a user profile of the user to be recommended, which is determined based on the age group and the time period of the user's poetry needs.
[0025] A matching unit is used to determine, based on the word and content information of the candidate poems, the target poems that match the user profile.
[0026] The recommendation unit is used to recommend poems to the user to be recommended based on the target poems.
[0027] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the poetry recommendation method as described above.
[0028] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the poetry recommendation method as described above.
[0029] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the poetry recommendation method as described above.
[0030] The poetry recommendation method, apparatus, electronic device, and storage medium provided by this invention select target poems based on the age group and time period of the user's poetry needs, as well as the word and content information of candidate poems, thereby achieving poetry recommendation that matches the user's needs. The automated process avoids the subjectivity of manual selection and ensures the objectivity and reliability of poetry recommendation. Attached Figure Description
[0031] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0032] Figure 1 This is a flowchart illustrating the poetry recommendation method provided by the present invention;
[0033] Figure 2 This is a schematic diagram of the structure of the poetry recommendation device provided by the present invention;
[0034] Figure 3 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0035] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0036] Given that there are no universally applicable textbooks for some teaching stages, the teaching of poetry relies entirely on the poems selected by teachers based on their professional qualifications. However, the poems chosen by teachers are highly subjective and may not be suitable for the students' cognitive level and learning interests at that stage, thus potentially affecting the effectiveness of poetry teaching.
[0037] To address this problem, the present invention provides a method for recommending poems. Figure 1 This is a flowchart illustrating the poetry recommendation method provided by the present invention, as follows: Figure 1 As shown, the method includes:
[0038] Step 110: Obtain the user profile of the user to be recommended. The user profile is determined based on the age group and time period of the user's poetry needs.
[0039] Specifically, the user to be recommended is the user who needs poetry recommendations. The user to be recommended can be a group of students in the teaching stage, or a user who wants to learn poetry on their own. This embodiment of the invention does not make specific limitations on this.
[0040] The age range of the user to be recommended can be the current age stage of the user, such as 3-6 years old, 6-8 years old, etc. The age range of the user to be recommended can reflect the current cognitive ability of the user to be recommended, and thus we can infer the appropriate level of difficulty for the user to learn poetry.
[0041] The time period for which the user's poetry needs are to be recommended refers to the time period during which the user intends to learn the recommended poems. This time period can be a specific time within a day, such as morning, afternoon, or evening, or it can be a specific month or quarter, such as spring or summer. The time period for poetry needs reflects the actual time context in which the user is learning, and from this, we can infer the time context in which the recommended poems fit the user's actual needs.
[0042] Based on the age group and poetry recommendation time period of the user to be recommended, a user profile can be obtained. The user profile reflects the user's needs for poetry recommendations. For example, the user may prefer simple descriptive poems or longer lyrical poems. The user profile can be obtained by determining the corresponding user profile based on a pre-defined correspondence between different age groups and poetry recommendation time periods, or by pre-training a user profile model that takes age group and poetry recommendation time period as input and user profile as output, and then obtaining the user profile of the user to be recommended through the user profile model. This embodiment of the invention does not specifically limit the method.
[0043] Step 120: Based on the word and content information of the candidate poems, determine the target poems that match the user profile from the candidate poems.
[0044] Specifically, after determining the user profile of the user to be recommended, target poems that match the user profile can be selected based on the word and content information of the candidate poems. The candidate poems can be any poems, or they can be obtained by coarsely screening a poetry library based on relevant information of the user to be recommended, such as age group or time period of poetry demand. This poetry library can include at least one of classical Chinese poetry, modern Chinese poetry, and foreign poetry; however, this embodiment of the invention does not specifically limit its scope.
[0045] For candidate poems, their characteristics can be reflected in terms of word choice and content. Word choice information reflects the poem's learning difficulty; for example, more characters make memorization easier, while more commonplace words and fewer obscure characters make comprehension easier. Content information reflects the poem's description, including objects, scenes, and emotions. Different content corresponds to different time periods. For example, the homesickness described in "Remembering My Brothers in Shandong on the Ninth Day of the Ninth Lunar Month" is suitable for the Double Ninth Festival, while the "peach blossoms" and "spring river" in "Two Poems on the Evening Scenery of the Spring River by Hui Chong" are springtime scenes suitable for March and April.
[0046] Therefore, when selecting target poems from candidate poems, we can consider whether the difficulty of the poems reflected in the word information of the candidate poems matches the difficulty of the poems needed by the users to be recommended, as reflected in the user profile, and whether the time context corresponding to the scenery, objects, and emotions reflected in the content information of the candidate poems matches the time context needed by the users to be recommended, as reflected in the user profile. This ensures that the selected target poems can meet the needs reflected in the user profile, that is, the selected target poems can be adapted to the cognitive level and learning interests of the users to be recommended.
[0047] Step 130: Based on the target poems, recommend poems to the users to be recommended.
[0048] Specifically, after obtaining the target poem, it can be recommended to the user to be recommended. For example, the target poem can be recommended during the time period when the user needs the poem, or the target poem can be sent to the user in the form of a list. This embodiment of the invention does not make specific limitations on this.
[0049] The method provided in this invention selects target poems based on the age group and time period of the user's poetry needs, as well as the word and content information of candidate poems, thereby achieving poetry recommendation that matches the user's needs. The automated process avoids the subjectivity of manual selection and ensures the objectivity and reliability of poetry recommendations.
[0050] Based on the above embodiments, the user profile includes learning ability information and learning tendency information.
[0051] Among them, the learning ability information is used to reflect the level of the ability of the recommended user to learn poetry. The learning ability information can be determined by the age group of the recommended user. That is, different learning ability information can be matched in advance for different age groups. For example, children aged 3-6 have a weaker ability to learn poetry than children aged 6-8.
[0052] Learning tendency information is used to reflect the tendencies and preferences of users to be recommended for learning poetry. Learning tendency information can be determined by the time period of poetry demand. That is, different learning tendency information can be matched in advance for different poetry demand periods. For example, the learning tendency information of users whose poetry demand period is at night can include poems describing "moon" and "night", and the learning tendency information of users whose poetry demand period is in winter can include poems describing "snow" and "firecrackers".
[0053] Based on any of the above embodiments, step 120 includes:
[0054] Target poems are identified from the candidate poems whose word information matches the learning ability information and whose content information matches the learning tendency information.
[0055] Specifically, when selecting target poems, the learning ability information in the user profile can be matched with the difficulty of learning the poems as reflected by the word information of the candidate poems, and the learning tendency information in the user profile can be matched with the scene, object or emotion reflected by the content information of the candidate poems. In this way, target poems that not only match the learning ability of the user to be recommended, but also meet the time scene in which the user to be recommended is learning, so as to stimulate the learning interest of the user to be recommended.
[0056] Based on any of the above embodiments, the word information includes at least one of word length information, sentence number information, and word difficulty information;
[0057] The word difficulty information is determined based on the writing difficulty and / or memorization difficulty of the words in the poem.
[0058] Specifically, for any given poem, the character length information reflects the length of the poem, which can also be understood as the number of characters it contains. Character length information can be expressed as the number of characters, such as 20 or 56, or as the poem's format, such as a five-character quatrain or a seven-character regulated verse. Understandably, the longer the poem, the greater the difficulty for users to learn, especially for memorizing.
[0059] The line count information reflects the number of lines contained in a poem. This information can be identified by the number of lines, such as 4 or 8 lines, or by the poem's format, such as quatrain or regulated verse. Similar to character length information, the more lines a poem has, the more difficult it is for users to learn, especially for memorizing.
[0060] The vocabulary difficulty information reflects the difficulty of the words used in the poems. Specifically, it can be the handwriting difficulty, the memorization difficulty, or a combination of both. Handwriting difficulty can be determined by the number of strokes in the word's handwriting; generally, more strokes mean greater handwriting difficulty. Memorization difficulty can be determined by whether the word is commonly used; generally, less common words are more difficult to memorize than commonly used words. Whether a word is considered common or uncommon can be determined by statistical analysis of its frequency of occurrence in daily use; this embodiment of the invention does not impose a specific limitation on this. For the user to be recommended to learn, the greater the vocabulary difficulty, the greater the difficulty of learning the poem.
[0061] The method provided in this invention uses at least one of three dimensions—character length, number of sentences, and word difficulty—to characterize the learning difficulty of poems, which helps to select poems that are more suitable for the learning abilities of the users to be recommended.
[0062] Based on any of the above embodiments, the content information includes at least one of object-dimensional content information, scene-dimensional content information, and emotion-dimensional content information.
[0063] Specifically, for any poem, its content information can be represented from at least one of the three dimensions: the object described, the scenery, and the emotion.
[0064] Among them, the object dimension content information is used to reflect the description of objects in the poem. The objects here can be people, animals, plants, and other specific items. For example, "Ode to the Goose" describes the animal "goose," and "Ode to the Willow" describes the plant "willow." The object dimension content information can be obtained by entity recognition from the text of the poem itself, or from the introduction and analysis text of the poem.
[0065] Scenery-dimensional content information is used to reflect the description of scenery in poetry. For example, "Viewing the Waterfall at Mount Lu" is a poem describing a "waterfall". Scenery-dimensional content information can also be obtained by entity recognition of the poem's text itself, or the poem's introduction and analysis text. Here, when performing entity recognition, the object-dimensional content information and scenery-dimensional content information can be divided according to whether the identified entity belongs to an object or scenery. This embodiment of the invention does not make specific limitations on this.
[0066] Emotional content information reflects the emotions expressed in poetry, such as the poem "Song of the Wanderer" which expresses "motherly love." Emotional content information can be obtained through sentiment analysis of the poem's text itself.
[0067] The method provided in this invention characterizes the content characteristics of poetry through at least one of three dimensions: objects, scenery, and emotions. This helps to select poems that are more relevant to the content that the user is interested in during the time period when they need poetry.
[0068] Based on any of the above embodiments, the method further includes the following steps before step 120:
[0069] Candidate poems that match the age group and time period of the user's poetry needs are identified from the initial poems.
[0070] The initial poems here can be stored in the form of a poetry library, which can include at least one of classical Chinese poetry, modern Chinese poetry, and foreign poetry. Given the large size of the initial poems, directly selecting target poems that match the user profile from this library would likely require significant computational resources.
[0071] To address this issue, in this embodiment of the invention, before selecting target poems that match the user profile, the age group and time period of the user's poetry needs are applied to match candidate poems that fit the age group and time period of poetry needs from the initial poems, which serve as the basis for selecting target poems.
[0072] That is, in this embodiment of the invention, the poems were initially screened by age group and time period of poetry demand, and then in step 120, the poems were screened again by user profile.
[0073] Here, when selecting candidate poems, for the initial poems, the age group and the time period required for the poems can be pre-marked for each initial poem, or the initial poems can be classified and stored according to age group and the time period required for the poems, so as to quickly determine the candidate poems from the initial poems. This embodiment of the invention does not make specific limitations on this.
[0074] The method provided in this invention reduces the scale of poems that need to be matched with user profiles by screening candidate poems, thereby improving the response efficiency of poem recommendation.
[0075] Based on any of the above embodiments, step 130 includes:
[0076] Based on the time information of the users to be recommended, the target poems are sorted to obtain a recommended course schedule. The time information includes at least one of the following: planned study duration, study cycle, study season, study solar term, and study festival.
[0077] Based on the recommended course schedule, poetry recommendations are made to the users to be recommended.
[0078] Specifically, the time information of the user to be recommended reflects the user's time arrangement when learning poetry. The time information may include at least one of the following: planned learning duration, learning cycle, learning season, learning solar term, and learning festival:
[0079] The planned learning time refers to the duration that the recommended user plans to study poetry, such as the second semester of kindergarten (February to June).
[0080] The learning cycle refers to the planned time to learn and complete a poem, such as a week or 5 days. The learning cycle can also be further refined into various dimensions of learning and completing a poem. Specifically, it can include the time required to master at least one dimension of {character and word writing, poem recitation, poem memorization, and understanding the meaning of the poem}. The specific dimensions included in the learning cycle and the time required to complete each dimension can be determined based on the age group of the users to be recommended and the teaching arrangements proposed in advance by the teachers.
[0081] The learning season refers to the local season spanned by the planned learning period. For example, the second semester of kindergarten (February-June) spans both spring and summer.
[0082] Learning about solar terms refers to the specific solar terms among the twenty-four solar terms that the planned learning period will span. For example, the second semester of kindergarten (February to June) spans the solar terms of Rain Water, Awakening of Insects, Spring Equinox, Pure Brightness, Grain Rain, Beginning of Summer, Grain Buds, Grain in Ear, and Summer Solstice.
[0083] Learning holidays refer to the holidays that the planned learning period covers. These holidays can include both traditional and modern holidays. For example, the holidays that cover the second semester of kindergarten (February to June) include Qingming Festival, Dragon Boat Festival, and Labor Day.
[0084] Based on one or more of the aforementioned time information, the learning order and course arrangement of the target poems can be realized, resulting in a recommended course schedule that matches both the learning ability of the user and their learning interests at the current time of learning. This recommended course schedule can be arranged according to the learning order from beginning to end, or it can be marked according to the planned learning duration, indicating the target poems to be learned within each learning cycle.
[0085] After obtaining the recommended course schedule, you can send it to the users to be recommended to recommend poems, or you can recommend the target poems to the users to be recommended at the corresponding times according to the order or time indicated in the recommended course schedule. For example, during the learning cycle of Qingming Festival, you can recommend Du Mu's "Qingming" to the users to be recommended.
[0086] The method provided in this invention matches the selected target poems with characteristics such as the season, solar term, and festival, so that the poetry learning of the recommended users can be combined with the season, solar term, and festival, triggering learning interest from the actual perspective of natural and cultural changes, which is more conducive to the mastery of the poems by the recommended users.
[0087] Based on any of the above embodiments, step 130, which involves sorting the target poems based on the time information of the user to be recommended to obtain a recommended course schedule, includes:
[0088] Determine at least one of the following for each learning cycle in the planned learning duration: learning season, learning solar term, and learning festival;
[0089] Select target poems that match the content information with at least one of the learning season, solar term, and festival corresponding to each learning cycle, and construct the recommended course schedule.
[0090] Specifically, in order to obtain a recommended course schedule, the planned learning time can be divided according to the learning cycle to obtain multiple learning cycles. For example, if the planned learning time is the second semester of kindergarten (February to June) and the learning cycle is 1 week, then the planned learning time can be divided into 20 learning cycles.
[0091] Each learning cycle is divided in this way and corresponds to at least one of the following: learning season, learning solar term, and learning festival. For example, May 16 to May 22 corresponds to summer and Xiaoman (Grain Buds), and May 30 to June 5 corresponds to summer and Dragon Boat Festival.
[0092] By identifying at least one of the learning season, solar term, and festival corresponding to each learning cycle, we can search for target poems in each learning cycle that match the content information of the learning season, solar term, or festival. This ensures that each learning cycle has poems that match it from at least one dimension of season, solar term, and festival. Based on this, the recommended curriculum table constructed will contain poems that fit the characteristics of natural and cultural changes in each learning cycle.
[0093] Based on any of the above embodiments, a poetry recommendation method includes the following steps:
[0094] First, a poetry database is acquired. From the initial poems in the database, candidate poems are selected that match the age group and time period of the user's poetry needs. Here, the age group of the user can be their current age, and the time period of poetry needs refers to the time period during which the user intends to learn the recommended poems.
[0095] After obtaining candidate poems, the user profile determined based on the age group and time period of the user's poetry needs can be matched with the word and content information of the candidate poems to obtain target poems that match the user profile. The target poems obtained here can meet the needs reflected in the user profile, that is, the target poems can match the cognitive level and learning interests of the user to be recommended to.
[0096] After the target poems are determined, they can be sorted based on at least one of the following factors: the user's planned learning duration, learning cycle, learning season, learning solar term, and learning festival, to obtain a recommended course schedule, and then poems can be recommended based on the recommended course schedule.
[0097] The method provided in this invention selects target poems based on the age group and time period of the user's poetry needs, as well as the word and content information of candidate poems. This achieves poetry recommendation that matches the user's needs. The automated process avoids the subjectivity of manual selection, ensuring the objectivity and reliability of the poetry recommendation. The selected target poems are matched with characteristics such as season, solar term, and festival, allowing the user's poetry learning to be combined with seasons, solar terms, and festivals, triggering learning interest from the practical perspective of natural and cultural changes, which is more conducive to the user's mastery.
[0098] Based on any of the above embodiments Figure 2 This is a schematic diagram of the structure of the poetry recommendation device provided by the present invention, as shown below. Figure 2 As shown, the device includes:
[0099] The profiling unit 210 is used to obtain a user profile of the user to be recommended, the user profile being determined based on the age group and the time period of the user's poetry needs;
[0100] The matching unit 220 is used to determine the target poems that match the user profile from the candidate poems based on the word information and content information of the candidate poems;
[0101] The recommendation unit 230 is used to recommend poems to the user to be recommended based on the target poems.
[0102] The device provided in this invention selects target poems based on the age group and time period of the user's poetry needs, as well as the word and content information of candidate poems, thereby achieving poetry recommendation that matches the user's needs. The automated process avoids the subjectivity of manual selection and ensures the objectivity and reliability of poetry recommendation.
[0103] Based on any of the above embodiments, the user profile includes learning ability information and learning tendency information;
[0104] The matching unit is used for:
[0105] Target poems are identified from the candidate poems whose word information matches the learning ability information and whose content information matches the learning tendency information.
[0106] Based on any of the above embodiments, the word information includes at least one of word length information, sentence number information, and word difficulty information;
[0107] The word difficulty information is determined based on the writing difficulty and / or memorization difficulty of the words in the poem.
[0108] Based on any of the above embodiments, the content information includes at least one of object-dimensional content information, scene-dimensional content information, and emotion-dimensional content information.
[0109] Based on any of the above embodiments, the device further includes an initial selection unit, used for:
[0110] Candidate poems that match the age group and time period of the user's poetry needs are identified from the initial poems.
[0111] Based on any of the above embodiments, the recommendation unit is used for:
[0112] Based on the time information of the users to be recommended, the target poems are sorted to obtain a recommended course schedule. The time information includes at least one of the following: planned study duration, study cycle, study season, study solar term, and study festival.
[0113] Based on the recommended course schedule, poetry recommendations are made to the users to be recommended.
[0114] Based on any of the above embodiments, the recommendation unit is specifically used for:
[0115] Determine at least one of the following for each learning cycle in the planned learning duration: learning season, learning solar term, and learning festival;
[0116] Select target poems that match the content information with at least one of the learning season, solar term, and festival corresponding to each learning cycle, and construct the recommended course schedule.
[0117] Figure 3 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 3 As shown, the electronic device may include a processor 310, a communications interface 320, a memory 330, and a communication bus 340, wherein the processor 310, communications interface 320, and memory 330 communicate with each other via the communication bus 340. The processor 310 can call logical instructions in the memory 330 to execute a poetry recommendation method. This method includes: obtaining a user profile of a user to be recommended, the user profile being determined based on the user's age group and the time period for poetry demand; determining target poems matching the user profile from the candidate poems based on their word and content information; and recommending poems to the user based on the target poems.
[0118] Furthermore, the logical instructions in the aforementioned memory 330 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0119] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the poetry recommendation method provided by the above methods. The method includes: obtaining a user profile of a user to be recommended, the user profile being determined based on the user's age group and the time period of poetry demand; determining target poems that match the user profile from the candidate poems based on the word information and content information of the candidate poems; and recommending poems to the user to be recommended based on the target poems.
[0120] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the poetry recommendation method provided by the above methods. The method includes: obtaining a user profile of a user to be recommended, the user profile being determined based on the user's age group and the time period for poetry demand; determining target poems that match the user profile from the candidate poems based on the word information and content information of the candidate poems; and recommending poems to the user to be recommended based on the target poems.
[0121] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0122] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0123] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for recommending poems, characterized in that, include: A user profile of the user to be recommended is obtained, which is determined based on the user's age group and the time period of their poetry needs; the user profile includes learning ability information and learning tendency information. Based on the word and content information of the candidate poems, target poems that match the user profile are determined from the candidate poems, including: From the candidate poems, target poems are identified whose word information matches the learning ability information and whose content information matches the learning tendency information. The word information includes at least one of word length information, sentence number information, and word difficulty information; the word difficulty information is determined based on the writing difficulty and / or memorization difficulty of the words in the poem. The content information includes at least one of object-dimensional content information, scene-dimensional content information, and emotion-dimensional content information; Based on the target poems, poetry recommendations are made to the users to be recommended, including: Based on the time information of the users to be recommended, the target poems are sorted to obtain a recommended course schedule. The time information includes at least one of the following: planned study duration, study cycle, study season, study solar term, and study festival. Based on the recommended course schedule, poetry recommendations are made to the users to be recommended.
2. The poetry recommendation method according to claim 1, characterized in that, The process of determining target poems that match the user profile from candidate poems based on their word and content information also includes: Candidate poems that match the age group and time period of the user's poetry needs are identified from the initial poems.
3. The poetry recommendation method according to claim 1, characterized in that, The step of sorting the target poems based on the time information of the users to be recommended, and obtaining the recommended course schedule, includes: Determine at least one of the following for each learning cycle in the planned learning duration: learning season, learning solar term, and learning festival; Select target poems that match the content information with at least one of the learning season, solar term, and festival corresponding to each learning cycle, and construct the recommended course schedule.
4. A poetry recommendation device, characterized in that, include: A user profile unit is used to obtain a user profile of the user to be recommended, which is determined based on the age group and the time period of the user's poetry needs. The user profile includes learning ability information and learning tendency information; A matching unit is configured to determine, based on the word and content information of candidate poems, target poems that match the user profile, including: determining target poems from the candidate poems whose word information matches the learning ability information and whose content information matches the learning tendency information; the word information includes at least one of word length information, number of sentences information, and word difficulty information; the word difficulty information is determined based on the writing difficulty and / or memorization difficulty of the words in the poem; the content information includes at least one of object-dimensional content information, scenery-dimensional content information, and emotional-dimensional content information; The recommendation unit is used to recommend poems to the user to be recommended based on the target poems, including: sorting the target poems based on the time information of the user to be recommended to obtain a recommended course schedule, wherein the time information includes at least one of planned study duration, study cycle, study season, study solar term, and study festival; and recommending poems to the user to be recommended based on the recommended course schedule.
5. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the poetry recommendation method as described in any one of claims 1 to 3.
6. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the poetry recommendation method as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Recommendation method for children autonomous reading, client and server
CN110990702A
Poem recommendation method, poem recommendation device, poem recommendation equipment and storage medium
CN112632386A
Big data technology-based farmer personalized course resource recommendation method
CN112650926A