WO2012015492A1 - Using linguistically-aware variables in computer-generated text - Google Patents
Using linguistically-aware variables in computer-generated text Download PDFInfo
- Publication number
- WO2012015492A1 WO2012015492A1 PCT/US2011/029139 US2011029139W WO2012015492A1 WO 2012015492 A1 WO2012015492 A1 WO 2012015492A1 US 2011029139 W US2011029139 W US 2011029139W WO 2012015492 A1 WO2012015492 A1 WO 2012015492A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- word
- gender
- sentence
- dependent
- spelling
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/253—Grammatical analysis; Style critique
Definitions
- One embodiment of the present invention provides a system for placing linguistically-aware variables in computer-generated text.
- the system receives a sentence at a computer system, wherein the sentence comprises two or more words.
- the system analyzes the sentence to identify a first variable, wherein the first variable is a placeholder for a first word.
- the system receives the first word.
- the system automatically determines a gender of the first word.
- the system analyzes the sentence to identify a first dependent word that is dependent on the first word, wherein a spelling of the first dependent word is dependent on the gender of the first word.
- the system determines the spelling of the first dependent word that corresponds to the gender of the first word.
- the system replaces the first variable in the sentence with the first word. If necessary, the system modifies the spelling of the first dependent word in the sentence to match the gender of the first word.
- the system outputs the sentence.
- the system automatically determines the gender of the first word by determining a spelling of the first word and by analyzing the spelling of the first word using a pre-determined list of rules to determine the gender.
- receiving the first word additionally includes receiving a grammatical article for the first word.
- automatically determining the gender of the first word involves analyzing the article.
- automatically determining the gender of the first word involves performing a lookup in a dictionary.
- the system analyzes the sentence to identify a grammatical article that is associated with the first word. Finally, the system modifies a spelling of the grammatical article to match the gender of the first word.
- a language of the sentence can include: French, German, Spanish, Italian, Polish, Russian, Hindi, Hebrew, and any other languages that support grammatical genders.
- FIG. 1 illustrates a computing environment in accordance with an embodiment of the present invention.
- FIG. 2 illustrates a system in accordance with an embodiment of the present invention.
- FIG. 3 presents a flow chart illustrating the process of placing linguistically-aware variables in computer-generated text in accordance with an embodiment of the present invention.
- TABLE 1 presents an exemplary function to determine gender in accordance with an embodiment of the present invention.
- the data structures and code described in this detailed description are typically stored on a computer-readable storage medium, which may be any device or medium that can store code and/or data for use by a computer system.
- the computer-readable storage medium includes, but is not limited to, volatile memory, non-volatile memory, magnetic and optical storage devices such as disk drives, magnetic tape, CDs (compact discs), DVDs (digital versatile discs or digital video discs), or other media capable of storing code and/or data now known or later developed.
- the methods and processes described in the detailed description section can be embodied as code and/or data, which can be stored on a non-transitory computer-readable storage medium as described above.
- a computer system reads and executes the code and/or data stored on the non-transitory computer-readable storage medium, the computer system performs the methods and processes embodied as data structures and code and stored within the non-transitory computer-readable storage medium.
- the methods and processes described below can be included in hardware modules.
- the hardware modules can include, but are not limited to, application-specific integrated circuit (ASIC) chips, field-programmable gate arrays (FPGAs), and other programmable-logic devices now known or later developed.
- ASIC application-specific integrated circuit
- FPGA field-programmable gate arrays
- the hardware modules When the hardware modules are activated, the hardware modules perform the methods and processes included within the hardware modules.
- One embodiment of the present invention provides a system for placing linguistically-aware variables in computer-generated text.
- the system receives a sentence at a computer system, wherein the sentence comprises two or more words.
- the system analyzes the sentence to identify a first variable, wherein the first variable is a placeholder for a first word.
- the system then receives the first word.
- the first word can come from virtually any source, such as a database, an online service, input from a user, etc.
- the system automatically determines a gender of the first word. After that, the system analyzes the sentence to identify a first dependent word that is dependent on the first word, wherein a spelling of the first dependent word is dependent on the gender of the first word. The system then determines the spelling of the first dependent word that corresponds to the gender of the first word. Next, the system replaces the first variable in the sentence with the first word. If necessary, the system modifies the spelling of the first dependent word in the sentence to match the gender of the first word.
- the system outputs the sentence. Note that this can include any normal means of output for a computer system, including printing, faxing, emailing, texting, sending to a display, etc.
- the system automatically determines the gender of the first word by determining a spelling of the first word and by analyzing the spelling of the first word using a pre-determined list of rules to determine the gender.
- the gender of a vast majority of nouns simply by analyzing their spelling. For example, in French, the phrase “la date selectionnee” means “the selected date,” and the phrase “leth selectionne” means “the selected price.” In this example, the noun “date” is feminine and the noun "prix" is masculine.
- receiving the first word additionally includes receiving a grammatical article for the first word.
- a grammatical article for the first word there are a number of nouns that can mean two entirely different things depending on their gender. These nouns should always be supplied with an article, otherwise it is nearly impossible without context to determine their gender.
- the noun “voile” can mean two entirely different things depending on the gender.
- the masculine form “la voile” means the sail on a boat, while “le voile” is a veil. Without the grammatical article “la” or "le,” it is impossible to determine the meaning of "voile” without context.
- automatically determining the gender of the first word involves analyzing the article. As with the case of "voile,” the best way to determine the gender of a noun is to analyze the spelling of the article if it was supplied with the noun.
- automatically determining the gender of the first word involves performing a lookup in a dictionary. For example, with the numerous exceptions to the various rules, in one embodiment of the present invention, the system could first check a dictionary of exceptions to determine the gender of a noun. If the noun in question does not exist in the dictionary, the system could then apply the rules to determine the gender.
- the system analyzes the sentence to identify a grammatical article that is associated with the first word. Finally, the system modifies a spelling of the grammatical article to match the gender of the first word. For example, the pre-determined sentence might include the article "le” as a placeholder before the first word. If the first word turns out to be feminine, the system would then modify the spelling of the article "le” to "la” to agree with the feminine gender of the first word.
- a language of the sentence can include: French, Spanish, Italian, Polish, Russian, Hindi, Hebrew, and any other languages that support grammatical genders. Note that, while examples herein are described in French, embodiments of the present invention are not meant to be limited to French.
- FIG. 1 illustrates a computing environment 100 in accordance with an
- Computing environment 100 includes a number of computer systems, which can generally include any type of computer system based on a microprocessor, a mainframe computer, a digital signal processor, a portable computing device, a personal organizer, a device controller, or a computational engine within an appliance. More specifically, referring to FIG. 1, computing environment 100 includes clients 110-112, users 120 and 121, servers 130-150, network 160, database 170, devices 180, and appliance 190.
- Clients 110-112 can include any node on a network including computational capability and including a mechanism for communicating across the network. Additionally, clients 110-112 may comprise a tier in an n-tier application architecture, wherein clients 110-112 perform as servers (servicing requests from lower tiers or users), and wherein clients 110-112 perform as clients (forwarding the requests to a higher tier).
- servers 130-150 can generally include any node on a network including a mechanism for servicing requests from a client for computational and/or data storage resources.
- Servers 130-150 can participate in an advanced computing cluster, or can act as stand-alone servers.
- server 140 is an online "hot spare" of server 150.
- Users 120 and 121 can include: an individual; a group of individuals; an organization; a group of organizations; a computing system; a group of computing systems; or any other entity that can interact with computing environment 100.
- Network 160 can include any type of wired or wireless communication channel capable of coupling together computing nodes. This includes, but is not limited to, a local area network, a wide area network, or a combination of networks. In one embodiment of the present invention, network 160 includes the Internet. In some embodiments of the present invention, network 160 includes phone and cellular phone networks.
- Database 170 can include any type of system for storing data in non- volatile storage. This includes, but is not limited to, systems based upon magnetic, optical, or magneto- optical storage devices, as well as storage devices based on flash memory and/or battery-backed up memory. Note that database 170 can be coupled: to a server (such as server 150), to a client, or directly to a network.
- server such as server 150
- Devices 180 can include any type of electronic device that can be coupled to a client, such as client 112. This includes, but is not limited to, cell phones, personal digital assistants (PDAs), smartphones, personal music players (such as MP3 players), gaming systems, digital cameras, video cameras, portable storage media, or any other device that can be coupled to the client. Note that, in some embodiments of the present invention, devices 180 can be coupled directly to network 160 and can function in the same manner as clients 110-112.
- PDAs personal digital assistants
- devices 180 can be coupled directly to network 160 and can function in the same manner as clients 110-112.
- Appliance 190 can include any type of appliance that can be coupled to network 160. This includes, but is not limited to, routers, switches, load balancers, network accelerators, and specialty processors. Appliance 190 may act as a gateway, a proxy, or a translator between server 140 and network 160.
- FIG. 2 illustrates a system 200 in accordance with an embodiment of the present invention.
- system 200 can comprise server 150, database 170, appliance 190, client 110, devices 180, or any combination thereof.
- System 200 can also include receiving mechanism 202, analysis mechanism 204, determination mechanism 206, replacement mechanism 208, modification mechanism 210, output mechanism 212, processor 220, and memory 222.
- FIG. 3 presents a flow chart illustrating the process of placing linguistically-aware variables in computer-generated text in accordance with an embodiment of the present invention.
- receiving mechanism 202 receives a sentence at system 200 (operation 302).
- the sentence comprises two or more words.
- analysis mechanism 204 analyzes the sentence to identify a first variable (operation 304), wherein the first variable is a placeholder for a first word.
- Receiving mechanism 202 then receives the first word (operation 306).
- the first word can be received from a variety of sources, including databases, services, input from a user, financial data, a third party, etc.
- determination mechanism 206 determines whether the first word has been received.
- analysis mechanism 204 analyzes the sentence to identify a first dependent word that is dependent on the first word (operation 310), wherein a spelling of the first dependent word is dependent on the gender of the first word. Determination mechanism 206 then determines the spelling of the first dependent word that corresponds to the gender of the first word (operation 312). Additionally, replacement mechanism 208 replaces the first variable in the sentence with the first word (operation 314).
- modification mechanism 210 modifies the spelling of the first dependent word in the sentence to match the gender of the first word (operation 316).
- output mechanism 212 outputs the sentence in a pre-determined manner (operation 318). Note that this can include any normal means of output for a computer system, including printing, faxing, emailing, texting, sending to a display, etc.
- This exemplary sentence comprises two variables that will be populated with nouns, "$item” and "$doc.” These variables are also identified by numbers in order to tie these variables to their dependent words. For example, variable word “ ⁇ $item
- TABLE 1 presents an exemplary function to determine gender in accordance with an embodiment of the present invention.
- noun noun . replace (/ A ⁇ s* (le I un I ce I du) ⁇ s+/i, ""); ⁇ else if ( noun . match (/ A ⁇ s* ( la
- de ⁇ s+la) ⁇ s+/i ) ) ⁇ gender "F";
- noun noun . replace (/ A ⁇ s* (la I une I cette I de ⁇ s+la) ⁇ s+/i,
- noun noun . replace (/ A ⁇ s*(le
- noun noun . replace ( / ⁇ s+ .*$/ , "");
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Machine Translation (AREA)
Abstract
Description
Claims
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CA2782457A CA2782457C (en) | 2010-07-29 | 2011-03-21 | Using linguistically-aware variables in computer-generated text |
| DE112011102530T DE112011102530T5 (en) | 2010-07-29 | 2011-03-21 | Use of language-aware variables in computer-generated text |
| GB1212468.1A GB2489858A (en) | 2010-07-29 | 2011-03-21 | Using linguistically-aware variables in computer-generated text |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US12/845,997 | 2010-07-29 | ||
| US12/845,997 US8543377B2 (en) | 2010-07-29 | 2010-07-29 | Using linguistically-aware variables in computer-generated text |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2012015492A1 true WO2012015492A1 (en) | 2012-02-02 |
Family
ID=45527628
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/US2011/029139 Ceased WO2012015492A1 (en) | 2010-07-29 | 2011-03-21 | Using linguistically-aware variables in computer-generated text |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US8543377B2 (en) |
| CA (1) | CA2782457C (en) |
| DE (1) | DE112011102530T5 (en) |
| GB (1) | GB2489858A (en) |
| WO (1) | WO2012015492A1 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR102860496B1 (en) | 2023-05-15 | 2025-09-15 | 고려대학교 산학협력단 | Robot gripper |
| US12614036B2 (en) | 2024-01-24 | 2026-04-28 | U.S. Bank | Intelligent detection of bias within an artificial intelligence model |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060100858A1 (en) * | 2004-11-09 | 2006-05-11 | Mcentee Robert A | System and method for generating markup language text templates |
| US20060136352A1 (en) * | 2004-12-17 | 2006-06-22 | Xerox Corporation | Smart string replacement |
| US7475344B1 (en) * | 2008-05-04 | 2009-01-06 | International Business Machines Corporation | Genders-usage assistant for composition of electronic documents, emails, or letters |
| US20100009321A1 (en) * | 2008-07-11 | 2010-01-14 | Ravi Purushotma | Language learning assistant |
-
2010
- 2010-07-29 US US12/845,997 patent/US8543377B2/en not_active Expired - Fee Related
-
2011
- 2011-03-21 WO PCT/US2011/029139 patent/WO2012015492A1/en not_active Ceased
- 2011-03-21 DE DE112011102530T patent/DE112011102530T5/en active Pending
- 2011-03-21 GB GB1212468.1A patent/GB2489858A/en not_active Withdrawn
- 2011-03-21 CA CA2782457A patent/CA2782457C/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060100858A1 (en) * | 2004-11-09 | 2006-05-11 | Mcentee Robert A | System and method for generating markup language text templates |
| US20060136352A1 (en) * | 2004-12-17 | 2006-06-22 | Xerox Corporation | Smart string replacement |
| US7475344B1 (en) * | 2008-05-04 | 2009-01-06 | International Business Machines Corporation | Genders-usage assistant for composition of electronic documents, emails, or letters |
| US20100009321A1 (en) * | 2008-07-11 | 2010-01-14 | Ravi Purushotma | Language learning assistant |
Also Published As
| Publication number | Publication date |
|---|---|
| US20120029919A1 (en) | 2012-02-02 |
| GB201212468D0 (en) | 2012-08-29 |
| CA2782457A1 (en) | 2012-02-02 |
| GB2489858A (en) | 2012-10-10 |
| DE112011102530T5 (en) | 2013-06-20 |
| CA2782457C (en) | 2017-12-05 |
| US8543377B2 (en) | 2013-09-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Li et al. | Comparison of the Impact of Word Segmentation on Name Tagging for Chinese and Japanese. | |
| KR102268875B1 (en) | System and method for inputting text into electronic devices | |
| US9965458B2 (en) | Intelligent system that dynamically improves its knowledge and code-base for natural language understanding | |
| US20140074816A1 (en) | Method and apparatus for generating a query candidate set | |
| US10417335B2 (en) | Automated quantitative assessment of text complexity | |
| US20150178268A1 (en) | Semantic disambiguation using a statistical analysis | |
| CN110569494B (en) | Method and device for generating information, electronic equipment and readable medium | |
| US9336186B1 (en) | Methods and apparatus related to sentence compression | |
| CN113553806B (en) | Text data enhancement method, apparatus, device and medium | |
| RU2579873C2 (en) | Resolution of semantic ambiguity using semantic classifier | |
| Srinivasan et al. | Segmenting web-domains and hashtags using length specific models | |
| Noraset et al. | Adding high-precision links to Wikipedia | |
| US9092444B2 (en) | Caching of deep structures for efficient parsing | |
| Attia et al. | Gwu-hasp: Hybrid arabic spelling and punctuation corrector | |
| US8543377B2 (en) | Using linguistically-aware variables in computer-generated text | |
| CN104699662B (en) | The method and apparatus for identifying overall symbol string | |
| Dastgheib et al. | Perspell: a new Persian semantic-based spelling correction system | |
| US20190057146A1 (en) | Non-linguistic content analysis system | |
| Mars | Toward a robust spell checker for Arabic text | |
| Mekonnen | Development of an Amharic spelling corrector for tolerant-retrieval | |
| Dhore et al. | Transliteration by orthography or phonology for hindi and marathi to english: case study | |
| Xu et al. | Extracting Chinese polarity shifting patterns from massive text corpora | |
| Shatnawi et al. | Parse trees of Arabic sentences using the natural language toolkit | |
| Yi et al. | A Chinese named entity recognition system with neural networks | |
| Shi | Automatic construction of a dictionary of variant forms of Chinese characters |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11812877 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 2782457 Country of ref document: CA |
|
| ENP | Entry into the national phase |
Ref document number: 1212468 Country of ref document: GB Kind code of ref document: A Free format text: PCT FILING DATE = 20110321 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 1212468.1 Country of ref document: GB |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 1120111025300 Country of ref document: DE Ref document number: 112011102530 Country of ref document: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 11812877 Country of ref document: EP Kind code of ref document: A1 |