Language driven automated text formatting
By generating cascaded text formats through linguistic component analysis and dependency parsing techniques, the problem of existing text formatting methods failing to highlight linguistic relationships is solved, thereby improving the accuracy and efficiency of reading comprehension.
Patent Information
- Application Number
- CN202280034092.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-04-16
- Filing Date
- 2022-04-08
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2042-04-08
AI Technical Summary
Existing text formatting methods fail to effectively highlight linguistic relationships, resulting in low accuracy and efficiency in reading comprehension, especially in complex syntactic structures.
By employing linguistic component analysis and dependency parsing techniques, and through visual cues such as line breaks, indentation, and color highlighting, syntactic boundaries and dependency relationships are clearly defined to generate cascading text formats.
It improves the accuracy and efficiency of reading comprehension, especially the understanding of complex syntactic structures, and reduces the cognitive burden on readers.
Smart Images

Figure CN117561516B_ABST
Abstract
Description
[0001] Priority requirements
[0002] This patent application claims priority to U.S. Application Serial No. 17 / 233,339, filed April 16, 2021, which claims priority to U.S. Provisional Patent Application Serial No. 63 / 173,298, filed April 9, 2021, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The implementations described herein generally involve machine-automated text processing driven by large-scale natural language processing (NLP) techniques derived from theoretical linguistics. In some implementations, more specifically, they involve the generation of constituent and dependency parsing of cascaded texts for the purpose of improving reading comprehension. Background Technology
[0004] Standard text formatting requires presenting language in blocks, with little formatting beyond basic punctuation and line breaks or indentation to indicate paragraphs. The alternative text formats described in this paper present text in a way that highlights linguistic relationships, thereby supporting the comprehension process and potentially improving accuracy or reducing reading time.
[0005] Cascading text formatting transforms traditional block-like text into a cascading pattern to help readers identify grammatical structures and related content. Text cascading makes the syntax of sentences explicit. Syntactic units are the building blocks of a sentence. When parsing natural language, the reader's brain must do more than simply "chunk" sentences into a series of smaller units. Instead, the reader's brain needs to determine dependencies between phrases and identify how each phrase relates to the larger phrases that contain it. Cascading text formatting helps readers identify these relationships within sentences. The human brain's ability to construct sentences by embedding language units into other units allows language to express an infinite number of meanings. Therefore, cascading parsing patterns aim to enable readers to immediately perceive how a particular phrase relates to the phrases preceding or following it when reading it. Attached Figure Description
[0006] In drawings that are not necessarily drawn to scale, the same reference numerals may describe similar parts in different views. The same reference numerals with different letter suffixes may indicate different instances of similar parts. The drawings illustrate, by way of example rather than limitation, the various embodiments discussed in this document.
[0007] Figure 1 An example of a parse tree of components defined according to an implementation method for language-driven automated text formatting is shown.
[0008] Figure 2A block diagram illustrating an example of dependency parsing and cascading text output for language-driven automated text formatting according to an embodiment is shown.
[0009] Figure 3 A block diagram illustrating an example of dependency parsing and cascading text output for language-driven automated text formatting according to an embodiment is shown.
[0010] Figure 4 An example of cascading text output for language-driven automated text formatting, according to an embodiment, is shown.
[0011] Figure 5 An example of cascaded text output for language-driven automated text formatting, according to an embodiment, is shown, which is enhanced to recognize phrases with reference association.
[0012] Figure 6A The text portion is shown as segmented into multiple dependency segments based on grammatical information determined by the constituent and dependency parser, according to an implementation method.
[0013] Figure 6B This illustrates a text portion displayed at a hierarchical position specified for each segment using language-driven automated text formatting according to an embodiment.
[0014] Figure 7 A block diagram illustrating an example of an environment and system for language-driven automated text formatting according to an embodiment is shown.
[0015] Figure 8 An example of an environment for receiving linguistic modifications to cascading formats is shown according to an embodiment of language-driven automated text formatting.
[0016] Figure 9 An example of a system for cross-sentence coreference tracking for language-driven automated text formatting, according to an embodiment, is shown.
[0017] Figure 10 A data flow diagram is shown as an example of a system for language-driven automated text formatting according to an embodiment.
[0018] Figure 11 An example of a method for language-driven automated text formatting according to an implementation is shown.
[0019] Figure 12 An example of a method for language-driven automated text formatting according to an implementation is shown.
[0020] Figure 13An example of a method for language-driven automated text formatting according to an implementation is shown.
[0021] Figure 14 An example of a method for cascading text using a machine learning classifier for language-driven automated text formatting, according to an embodiment, is shown.
[0022] Figure 15 An example of a method for training a machine learning classifier to cascade text for language-driven automated text formatting, according to an embodiment, is shown.
[0023] Figure 16 An example of text transformation for language-driven automated text formatting, displaying sentences in a cascading format, is shown according to an embodiment.
[0024] Figure 17 An example of a parsing structure of Hypertext Markup Language (HTML) code annotated for cascading text using natural language processing is shown according to an embodiment for language-driven automated text formatting.
[0025] Figure 18 An example of generating cascaded text from a captured image using natural language processing for language-driven automated text formatting, according to an embodiment, is shown.
[0026] Figure 19 An example of a method for generating cascaded text from a captured image using natural language processing for language-driven automated text formatting, according to an embodiment, is shown.
[0027] Figure 20 An example is shown of using natural language processing in an eyewear device to convert text from a first display format to a second display format for language-driven automated text formatting, according to an embodiment.
[0028] Figure 21 An example of a method for converting text from a first display format to a second display format in an eyewear device using natural language processing, according to an embodiment, for language-driven automated text formatting.
[0029] Figure 22 An example of generating cascading text using natural language processing during text composition is shown according to an embodiment of language-driven automated text formatting.
[0030] Figure 23 An example of an architecture for managing user and publisher preferences for cascaded text using natural language processing based on feedback input for language-driven automated text formatting, according to an implementation, is shown.
[0031] Figure 24 An example of a method for personalizing cascaded text using natural language processing based on feedback input for language-driven automated text formatting, according to an embodiment, is shown.
[0032] Figure 25 An example of dual-display cascading text using natural language processing based on feedback input for language-driven automated text formatting, according to an embodiment, is shown.
[0033] Figure 26 An example of a system for language-driven automated text formatting, according to an embodiment, is shown, which translates input text in a first language into a cascaded output in a second language.
[0034] Figure 27 An example of a method for language-driven automated text formatting according to an implementation is shown.
[0035] Figure 28 This is a block diagram illustrating an example of a machine on which one or more implementation methods can be carried out. Detailed Implementation
[0036] The systems and methods discussed in this paper utilize linguistic analysis derived from linguistic theory to determine cascades. This analysis is a state-of-the-art technique in automated natural language processing (NLP), enabling the systems and methods discussed in this paper to utilize inputs provided from NLP technologies (hereinafter, NLP services).
[0037] The systems and methods discussed in this paper use NLP services (e.g., constituent parsers, dependency parsers, coreference parsers, etc.) to parse incoming text into a representation that highlights its fundamental linguistic features. Explicit rules, including cascading rules, are then applied to these representations to make linguistic relations more apparent to the reader.
[0038] A linguistic component is a word or phrase that performs a specific function in a sentence. For example, in the sentence “John believed X,” X can be replaced by a single word (“Mary”) or (“facts”) or a phrase (“the girl”) or (“the girl with curls”) or (“the girl who shouted loudly”) or the entire clause (“the story was true”). In this case, all of these are components that function as the direct object of “John believed.” It is important to note that components have integrity—“the story was” is not a component because it cannot stand alone as a grammatical unit. Similarly, “the girl who” or “the” is not a component. Furthermore, components can be embedded within other components. For example, the phrase “the girl with curls” is a component, but “the girl” and “with curls” are also components. However, the phrase "girl with" is not a constituent because it cannot function as a standalone grammatical unit. Therefore, "girl with" cannot serve any grammatical function, while constituent phrases such as "the girls" or "with curls" are eligible to perform the necessary grammatical functions in a sentence. Parts of speech are categories of a word's syntactic function (such as noun, verb, preposition, etc.). Unlike parts of speech, which describe the function of a single word, constituents depict a group of words used as units to perform specific grammatical roles (e.g., subject, direct object, etc.) in a sentence. Therefore, the concept of "constituent" provides more information about how phrases relate to each other in a sentence.
[0039] The systems and methods discussed in this paper implement constituent cascading, in which constituents are displayed following a set of rules that determine different levels of indentation. These rules are collectively based on information from both a constituent parser and a dependency parser. The constituent parser is an NLP service that uses phrase structure theory (e.g., X-bar theory) to identify the constituents just described. The dependency parser is an NLP service that provides syntactic dependencies labeled for each word in a sentence to describe the syntactic function held by that word (and the constituent it represents). The set of syntactic dependencies is enumerated by the Universal Dependencies Initiative (UD, http: / / universaldependencies.org), which aims to provide a consistent standard for syntactic annotation across languages. Syntactic parsing can support a variety of other languages besides English, including, but not limited to: Simplified Chinese, Traditional Chinese, French, German, Italian, Japanese, Korean, Portuguese, Russian, and Spanish.
[0040] By implementing a text cascading process, the systems and methods discussed in this paper provide visual cues to fundamental linguistic structures within texts. These cues offer instructional functions, and numerous implementations are proposed that utilize these cues to facilitate more accurate and efficient reading comprehension, more easily teach grammatical structures, and provide tools for remedying reading-related obstacles.
[0041] In the example, line breaks and indentation are used to form cascades based on the constituent and dependency data obtained from the parsing operation. Cascade rules are applied such that constituents that remain intact in a single line or those indicated as consecutive units where device display limitations might prevent them from being displayed in a single line are given priority. This helps to easily identify which phrases work together in linguistic function, thus making constituent identification easier. Accurate language comprehension requires the ability to recognize relationships between entities or concepts presented in text. A prerequisite for this is the ability to parse constituents (i.e., textual units that provide discrete grammatical functions). Evidence suggests that readers with poor comprehension have difficulty identifying the syntactic boundaries that define constituents during both reading and spoken production (e.g., Breen et al., 2006; Miller and Schwanenflugel, 2008). Furthermore, boundary recognition is particularly important for the complex syntactic constructions of categories found in illustrative texts (i.e., textbooks, newspapers, etc.). These facts suggest that the ability to identify syntactic boundaries in text is particularly important for reading comprehension, and methods that highlight these boundaries can serve as significant assistance to readers with difficulties. However, standard text presentation methods (i.e., presenting text in left-aligned blocks) do not explicitly identify linguistic components, nor do they provide any means to support this process. The systems and methods discussed in this paper provide a means of explicitly indicating syntactic boundaries and dependencies through visual cues such as line breaks (e.g., carriage returns, hyphens, etc.), indentation, color highlighting, italics, and underlines.
[0042] Figure 1 An example of a parse tree 100 according to an implementation is shown, which defines the components to be used for language-driven automated text formatting. Linguistic theory provides established diagnostic tests for linguistic components (also known as phrases) and provides formalism for representing the relationships between them. These tests, by way of example rather than restriction, include: i) do-so / one substitution; ii) coordination; iii) thematization; iv) ellipsis; v) splitting / pseudo-splitting; vi) passiveization; vii) wh-preposition; and viiii) right node promotion; ix) pronoun substitution; and x) question answering; xi) omission; and xii) adverb intrusion.
[0043] A mainstream theory known as X' theory (read as "X-bar theory") describes how phrases are generated (Chomsky, 1970; Jackendoff, 1977). This theory abstracts away specific parts of speech (such as nouns, verbs, etc.) and asserts that all types of phrases described as XP or X phrases (e.g., if X = noun, then it is a noun phrase; if X = verb, then it is a verb phrase, etc.) are generated through three general binary branch rewriting rules. First, a phrase ("XP") consists of an optional "signature" and a necessary "X-bar" in any order. Second, the X-bar can optionally consist of an X-bar and a particle, and any type of particle is permitted to modify the X-bar. Third, the "X-bar" consists of the phrase's mandatory headword (such as a word of any part of speech) and, optionally, any number of complement phrases permitted by the headword, appearing in any linear order.
[0044] These rules can be used to create parse tree 100 such that the marker phrase and X-bar, as well as the headword and complement, are sister phrases, and XP occupies the highest position in the hierarchy, governing X', which in turn governs X. For example, the verb phrase "saw the girl" can be represented as VP with a V headword and NP complement, which is further represented as N' where "the" is in the marker position, and N' is the projection of the N headword, as shown in parse tree 105. Note that other auxiliary phrases (such as prepositional phrases) can be further appended to the N' phrase of NP, as in sentence 110 "saw the girl with the curls." Similarly, marker phrases can be appended to V', as in the adverb "recently" in parse tree 110. Figure 1 The examples of the simplified sign language are presented, but these examples can also be understood as XP phrases.
[0045] The system and method discussed in this paper utilize these phrase structure rules to specify Part 1 of the two-part "component prompting process." Part 1 specifies how the sentence is segmented into smaller pieces for display. That is, the sentence is divided into component pieces such that no word is separated from its main XP phrase (e.g., ...). Figure 6A As shown, Figure 11 Element 1110, Figure 12 (e.g., elements 1205, etc.). For example, there will be no break between "with" and "curls" because "curls" is governed by a PP centered on "with". Similarly, "the" will not appear on a separate line from "girl" because they are both governed by an NP centered on "girl". Therefore, for the purposes of the cascade generator, segments are limited to phrases governed by XP, and XP will appear together on the presentation line. A break may occur between "saw" and "the" because "the" and "saw" are governed by different XP phrases (i.e., "saw" is governed by a VP, while "the" is governed by an NP). Similarly, a break may occur between "girl" and "with" because "with" is governed by a PP, while "girl" is governed by an NP. A line break will occur when an XP appears because this represents a new component. If the line length is too short to allow line breaks between XPs, then the line break will appear at the X' level, accompanied by visual formatting indicating the continuation of the component (including but not limited to brackets, level indentation, color coding, italic style matching, etc.).
[0046] The example implementations in Part 1 can utilize other phrase structure theories (e.g., naked phrase structures, etc.) as representative languages for component segmentation. Some aspects of the systems and methods discussed herein are that line breaks occur at component boundaries, and these boundaries are established based on pre-existing language diagnostic tests (e.g., substitution, movement, punctuation, questioning, etc.). Component boundaries remain constant regardless of the specific phrase structure representation.
[0047] In the example implementation, an automated ingredient parser is used to provide ingredients for the cascade generator, but the cascade generator is not dependent on the use of the automated parser or any particular automated parser. The parser is represented as an NLP service (e.g., such as...). Figure 10 The NLP service 1020 and component parser 1025 discussed in the text. It is understood that various parsing techniques and services can be used to identify components and then process them by the cascade generator.
[0048] Part 2 of the component cascade operation specifies the indentation scheme to provide hints about the linguistic structure (e.g., Figure 6B (as shown in the image). These hints are based on the output of an automated dependency parser that specifies the particular linguistic function of each word relative to each other word (e.g., as shown in the image). Figure 11 Element 1115 Figure 12 (e.g., elements 1210 are shown). This function is used to determine the horizontal displacement (indentation) of a cascade. Hints can be expressed by the horizontal displacement (indentation) of the constituent phrases in the cascade, thus the phrase on the given line is indented. A cascade refers to the overall result including phrase boundaries, line breaks, and horizontal displacement.
[0049] Dependency parsers alone cannot identify linguistic components. This is because dependency parsers assign linguistic features to words, not components. Systems used for language-driven automated text formatting create language models (…). Figure 10 (1050 in the model) This model associates complete components with specific dependencies that are associated with the headword of that component (e.g., Figure 6A For example, the headword of a constituent XP is X; that is, the headword of a noun phrase (NP) is a noun (N), and the headword of a prepositional phrase (PP) is a preposition (P). Dependencies associated with the headwords of non-core dependents and core arguments are used to trigger line breaks and horizontal shifts. Dependency parser 625 (e.g.) Figure 10 The dependency parser 1035, etc., generates dependency output 635 that provides dependencies for words in the text (e.g., Figure 10 The dependency data 1040, etc.). The core argument and non-core dependency selector 640 receives data from the component parser 620 (e.g., such as...). Figure 10 The component output 630 (e.g., such as the component parser 1025, etc.) Figure 10 The component data 1030, etc.) and dependency output 635 are used to select component-related dependencies to generate linguistic structures 615 (e.g., such as...). Figure 10 (e.g., Model 1050). Therefore, language-driven automated text formatting systems require both component information and dependency information.
[0050] Alternative implementations may include only a dependency parser, but also require the definition of additional rules for linguistic components (such as phrase structure rules). Such rules do not necessarily include a computationally implemented parser, but may include any set of rules based on linguistic theories describing components. This includes, but is not limited to, heuristics that identify components based on keywords (such as prepositions, subordinate clause markers (i.e., that, which, who), clause conjunctions (i.e., either, but, and), and other single-word indicators of phrase structure).
[0051] Example implementations of constituent cascading operations are based on representations of constituents and dependencies in a sentence, as well as any other linguistic features provided by the NLP service used, such as, but not limited to, coreference, sentiment analysis, named entity recognition, and topic tracking. In addition to cascading, the output from these parsers can be used to modify the text through highlighting, color coding, underlining, accompanying audio information, etc., to provide cognitive cues and reduce the user's cognitive burden.
[0052] When using cascading as an example, the systems and methods discussed herein are applicable to a variety of visual, auditory, and tactile outputs that alleviate the cognitive load on users while reading text. In another example implementation, additional formats can be used to provide cues to users to reduce cognitive load. In this example implementation, cues can be provided by modifying text formatting and / or emphasizing elements such as color or italics using parsed outputs of component data and dependency data, providing video output, vibration output, audio output (such as tone), etc.
[0053] Figure 2 A block diagram illustrating an example of dependency resolution 205 and cascading text output 210 for language-driven automated text formatting according to an embodiment is shown.
[0054] Dependency resolvers can employ various labeling conventions or dependency sets used to specify linguistic functions. The systems and methods discussed in this paper incorporate the use of any dependency set to specify word-to-word linguistic functions, including those based on grammar, semantics, or onomatopoeia. In the example implementation, a dependency set from the Universal Dependencies (UD) project is employed, a collaborative open-source international project aimed at developing efficient dependency sets across languages. This dependency set is available at https: / / universaldependencies.org / u / dep / index.html.
[0055] The UD dependency set is divided into core arguments for nouns and clauses, and other types of dependencies, including non-core dependencies (i.e., oblique arguments, adverbial clauses, and relative clauses) and noun modifiers (i.e., adjectives, noun attributes, and clause modifiers). The process of component cascading mandates that core arguments and non-core dependencies be indented below their headwords. This indentation provides a visual cue for the core relation in the sentence. Thus, as shown in cascading output 210, direct or indirect objects (labeled "obj" or "iobj" in dependency parsing 205) will be indented below the verbs they modify (usually labeled "root"). In the example, noun dependencies can also be indented below their headwords. This includes a different set of noun and adjective modifiers (i.e., possessives, simplified relative clauses, numerical modifiers, and appositive phrases). Cascading text output 210 includes indentation based on dependency parsing 205. The amount of indentation can be specified in system preferences, as described below. In the example implementation, dependent nouns are processed case by case, based on line length or component type, with the aim of minimizing line breaks as much as possible. Alternatively, different indentation levels can be applied to different dependent noun types to visually distinguish them.
[0056] Figure 3 A block diagram illustrating an example of dependency parsing 305 and cascading text output 305 for language-driven automated text formatting according to an embodiment is shown.
[0057] Indentation rules are applied to components. When a component is embedded in other components (such as a relative clause or complement clause), an un-indent rule is applied to indicate the completion of the component, as shown in cascade output 310. Un-indent causes the horizontal displacement to return to the position of the headword of the embedded phrase. This creates a cascade pattern that provides clear cues for the embedded structure and the relationship between each verb and its arguments. Cascade text output 310 includes indentation based on dependency parsing 305 according to the cascade rules specified in the cascade generator. Additional processing can be used to provide additional cues for the cascade output displayed on devices with display limitations. For example, extra characters or other signals can be inserted to indicate that a component has moved to another line, etc. In these cases, the horizontal displacement remains consistent for components that have broken lines (e.g., if a component starts at position 40, then the line break segment will also start at position 40 and will be visually marked (e.g., parentheses, shading, etc. to indicate that it is a continuation).
[0058] Figure 4An example of cascaded text output 400 for language-driven automated text formatting according to an embodiment is shown. Horizontal positions indicate components that should be associated together. For example, as shown in cascade 405, the positioning of the verb "left" indicates that its subject is "janitor" (e.g., not "principal"). Similarly, the positioning of the phrase "every night" indicates that it is paired with the verb "cleaned" (e.g., not "noticed"). Note that... Figure 4 The vertical lines shown are for illustrative purposes; they are not part of the text output.
[0059] As shown in cascade 410, the initial clause is indented relative to the matrix clause, and horizontal displacement is similarly used to indicate pre-posed subordinate clauses. This technique provides a clear indication of the central information in the sentence and the subordinate status of the initial clause.
[0060] In another example implementation, the cascading process uses marker and complement positions from X-bar theory analysis to determine indentation, without referencing specific syntactic dependencies given by the dependency parser. This leverages the fact that marker and complement positions themselves do indeed indicate general dependencies between elements in a sentence. However, in implementations limited to two types of dependencies (e.g., markers and complements), the information available to indicate linguistic structure within the sentence is more limited.
[0061] In another example implementation, the cascading process determines indentation based on a specific list of dependencies with associated indentation amounts, which can be provided by the user. For example, a user might want direct objects indented by 4 spaces, but indirect objects by only 2 spaces. In one implementation, these user specifications are developed by teachers or tutors who may want to emphasize specific grammatical relationships as part of a comprehensive curriculum plan. Such specifications can be done on a case-by-case basis or for categories of dependency types. For example, a user might specify that core arguments should be indented more than non-core modifiers. Note that the constituent cascading operation determines whether a constituent is indented based on its dependency type; user preferences determine the degree of indentation reflected in the formatting. User preferences can also influence the display attributes of the cascading, such as font type, font size, font color, line length, etc.
[0062] In the example implementation, cascading automatically adjusts to fit the constraints of the display device. For example, a computer screen may allow for longer line lengths compared to a monitor on a tablet or mobile phone. If the line length is too short to allow line breaks between XP layers, then the line break will occur at layer X' without additional horizontal displacement. Therefore, visual cues associated with horizontal displacement are preserved to indicate the start of a new linguistic dependency. Other cues (such as brackets, font styles, colors) can be added to maintain easy identification of the components.
[0063] Figure 5 Example 500 of cascaded text output for language-driven automated text formatting according to an embodiment is shown, which is enhanced to recognize phrases with referential associations. Component cascading operations define a cascade regarding syntactic and semantic relationships between components. In the example embodiment, a separate NLP service parsing the text into referents and antecedents is used to extend language-driven automated text formatting to include reference cues, thereby enabling visual cues (such as colors, etc.) to identify reference relationships between words or components (e.g., such as...). Figure 8 (As shown). This requires presenting the antecedent with the same font features as its pronoun referent (in... Figure 8 (Used as an underscore). Citation tips help prevent errors such as... Figure 5 and Figure 8 The sentence-by-sentence confusion, as shown in cascade 505, concerns whether the person "occupied herself" is the "performer" or the "soloist." Cascade 510 shows an example of reference hints at the constituent level (e.g., the entire phrase "measure the room" is the antecedent of "it"). As an example, and not a limitation, reference hinting is implemented based on the output of an automated coreference resolution parser (NLP service)—such as those available in Stanford CoreNLP or AllenNLP. Coreference resolution finds expressions in the text that point to the same entity. This information is incorporated into the language model used as input to the cascade generator. Coreference information can also be indicated by hand-coded rules or formats, such as those created by trained linguistic technicians, or by automated processing by a non-rule-based probabilistic inference engine.
[0064] By using examples rather than limitations, cascades are expanded to demonstrate coreference cues, illustrating how linguistic features beyond constituent-based or dependency-based linguistic features can be represented within a cascade. For instance, an alternative NLP service that generates analyses indicating various linguistic relationships in the text can replace a coreference parser. Examples include, but are not limited to, named entity recognition, sentiment analysis, semantic role labeling, textual entailment, topic tracking, and prosodic analysis. These can be implemented as rule-based or probabilistic reasoning systems. The outputs of these NLP services provide information that can be used to modify the explicit features of the cascade in a way that emphasizes linguistic relationships. These modifications can occur within or between sentences and serve as cues to help readers or learners maintain coherence while reading.
[0065] As described herein, various implementations of systems and methods for generating cascading text displays are provided. Figure 6A In one embodiment 600, the text portion 605 is segmented into multiple dependency segments based on grammatical information determined from the output of the NLP service 610. Each of these segments is a complete component, as defined by the component parser 620, and has a dependency role determined by the dependency parser 625 associated with the component's headword. In one embodiment, a component is identified by its maximum projection (XP) and assigned a dependency relation associated with the headword (X) of that projection. For example, the component "principal" has two associated dependencies (det and nsubj), but the complete NP component is assigned nsubj for interpretation by the cascade generator.
[0066] Figure 6B A text portion 605 according to an embodiment is shown, the text portion including indentation in a cascade 630 of hierarchical positions specified for each segment according to language-driven automated text formatting provided by a cascade generator 635.
[0067] Figure 7 This is a block diagram of an example of an environment 700 and system 705 for language-driven automated text formatting according to an implementation. Figure 7 It can provide, for example Figures 1 to 5 , Figure 6A and Figure 6BThe described features. The environment may include system 705, which may be a cloud-based delivery system (or other computing platform, such as virtualized computing infrastructure, Software as a Service (SaaS), Internet of Things (IoT) networks, etc.). The system may be distributed across various back-end systems 710, which provide infrastructure services such as computing and storage capabilities to the cloud service provider hosting system 705. System 705 may be communicatively coupled (e.g., via wired networks, wireless networks, cellular networks, shared buses, etc.) to network 720 (e.g., the Internet, private networks, public networks, etc.). End-user computing devices 715 may be communicatively connected to the network and may establish a connection with system 705. End-user devices may communicate with system 705 via web browsers, downloaded applications, on-demand applications, etc. In the example, components of the system may be ready to be delivered to end-user computing devices 715 via installed applications that provide offline access to the features of system 705.
[0068] System 705 can provide direct online connectivity via end-user computing device 715, distributing a packaged service to end-user applications on end-user computing device 715 that can operate offline without an internet connection, and as a hybrid with end-user applications connected via the internet to cloud services (or other computing platforms) via plug-ins, etc. This hybrid mode allows users to read in cascading formats regardless of connectivity, while still providing data to improve system 705. End-user applications can be deployed in various forms. For example, browser plug-ins and extensions allow users to change the formatting of text they read using cascading formats on the web and in applications. In another example, an end-user application can be integrated into a menu bar, clipboard, or text editor, so that when a user highlights text using a mouse or hotkey, a window with selected text rendered using cascading formats is presented. In yet another example, an end-user application can be a portable document file (PDF) reader that can take PDF files as input sources and output cascading formats for display to the user. In yet another example, the end-user application could be an enhanced image enhancer that transforms the real-time view from a camera device and can apply optical character recognition (OCR) to convert the image into text and render the layout in a cascading format in real time. Version control service 755 can track application versions and provide periodic updates to a portable component, which is provided to the application running on end-user computing device 715 when connected to the Internet.
[0069] According to an example implementation, the end-user computing device 715 includes OCR capabilities that enable a user to capture text images via a camera device (e.g., on their mobile phone) and immediately convert them into concatenated text formats (e.g., such as...). Figure 18 (As shown). According to one embodiment, the end-user computing device 715 includes a device worn by the user, such as smart glasses, smart contact lenses, or installed within a user-worn device, wherein text input seen by the user is converted into a cascaded format to enhance understanding. In this way, the user's personal viewing device can convert text in real time. According to another example embodiment, the end-user computing device 715 provides cascaded formatted augmented video (AV), augmented reality (AR), and virtual reality (VR) applications that can be performed within a user-worn visual display device (including AV and VR headsets, glasses, and contact lenses or implanted lenses) to enable the user to see cascaded formatted text.
[0070] The systems and methods discussed in this paper are applicable to various environments where text is processed and converted into a cascading format for rendering on a device. Displaying text on a screen requires instructions regarding rendering, and a set of cascading instructions can be inserted into a sequence of commands. This may be applicable to document types (such as PDFs) and systems with embedded rendering engines, where calls to the rendering engine can be intercepted and cascading formatting instructions can be inserted. In the examples, users can scan barcodes, quick-response (QR) codes, or other mechanisms used to provide access to content (e.g., on menus, product labels, etc.), and the content can be returned in a cascading format.
[0071] System 705 may include various service components that can be executed, wholly or partially, on various computing devices of backend system 710, including cascading generator 725, natural language processing (NLP) service 730, machine learning service 735, analytics service 740, user profile service 745, access control service 750, and version control service 755. Cascading generator 725, NLP service 730, machine learning service 735, analytics service 740, user profile service 745, access control service 750, and version control service 755 may include instructions containing application programming interface (API) instructions that can provide data input from and data output to external systems, as well as other services.
[0072] System 705 can operate in multiple modes: end users (such as readers) can use a local client to convert text on a local client that has a copy of the offline components for generating concatenated text; end users can send text to System 705 to convert standard text into concatenated text; publishers can send text to System 705 to convert text into concatenated format; publishers can use System 705's set of offline components to convert their text into concatenated format; and publishers can use System 705 to publish text in either traditional block format or concatenated format.
[0073] The cascade generator 725 can receive text input and pass the text to the NLP service 730 parser to generate linguistic data. Linguistic data, in an exemplary rather than restrictive manner, can include parts of speech, lexicons, constituent parse trees, discrete constituent graphs, named entity lists, dependency graphs, dependency relation lists, association coreference tables, associated topic lists, named entity lists, sentiment analysis output, semantic role labels, and implied reference confidence statistics. Therefore, for a given text, linguistic analysis can return lexicons, with each token possessing a rich set of linguistic information. This information can include a list of relationships between words or constituents appearing in a single sentence or paragraph.
[0074] The cascade generator 725 can apply cascade formatting rules and algorithms to the machine learning service 735 to create a language model using constituent data and dependency data to generate probabilistic cascade outputs.
[0075] Figure 8 An example of an environment 800 for receiving linguistic modifications to cascading formats for language-driven automated text formatting, according to an embodiment, is shown. User interface 805 and plugin 810 can provide, for example... Figure 1 A, Figure 1 B and Figures 2 to 7 The features described above. User interface 805 and plug-in 810 can be connected to, for example... Figure 7 The system 705 may include a coreference parser 810, which can parse text and identify related terms within it. For example, “The performer” in a cascading sentence displayed in the user interface 805 may be referred to by pronouns in other parts of the sentence. “The performer” and “herself” may be highlighted (e.g., underlined, colored, displayed in a contrasting color to other text, italicized, etc.) to indicate that they refer to the same entity. In an example, the coreference parser 810 may be replaced by an alternative NLP service that produces an analysis indicating linguistic relationships within the text. A mode selection button 815 may be provided, allowing the user to turn features on or off. For example, when cascading mode is enabled, the text may be displayed in a cascading format, and when coreference tracking is enabled, related terms may be highlighted, etc.
[0076] Figure 9 An example of a system 900 for cross-sentence coreference tracking for language-driven automated text formatting, according to an embodiment, is shown. Example 900 can provide... Figures 1 to 5 , Figure 6A , Figure 6B and Figures 7 to 8 The features described herein.
[0077] System 900 may include a cloud-based delivery system 705, which may include a coreference parser 910, a component parser 915, a dependency parser 920, and a topic tracker 925. The coreference parser 910, component parser 915, dependency parser 920, and topic tracker 925 can provide indications of relationships between specific text segments. These systems can be integrated with cascading generators (such as...) Figure 7 The cascading generator 725, as described in the text, works together to output cascading text to the user interface 905, where topics and pronoun references are indicated by visual cues (such as the use of colors).
[0078] Figure 10 A data flow diagram of a system 1000 for language-driven automated text formatting according to an embodiment is shown. System 1000 can provide, for example... Figures 1 to 5 , Figure 6A , Figure 6B and Figure 9 The aforementioned features.
[0079] The user can provide text input 1005. In the example, the text can be provided as input text, text captured using OCR processing, text captured via an application or browser plugin, Hypertext Markup Language (HTML), etc. The text can also include visual content (including numbers, tables, charts, and images) and visually enhanced text, including headwords with font size or style enhancements. Input can also come directly from the user, allowing, for example, the user to type the text string "The patient who the girl liked was coming today." The input processor 1010 can process the text content to remove formatting and special characters, and in the case of paragraphs, to segment the text into individual sentences.
[0080] Processed input 1015, including processed text, can be transmitted by input processor 1010 to a set of NLP services 1020. According to an implementation, two main NLP services are a component parser 1025 and a dependency parser 1035. Sentence components are linguistically defined parts of a sentence, which may correspond to words, phrases, or clauses. Components are hierarchically organized and defined by phrase structure rules (e.g., such as...). Figure 1 (As shown in the figure). The component parser 1025 can process the input text and generate component data 1030 and transmit it to the data processor 1045, which includes a parse tree (e.g., component parsing), a discrete component chart, parts of speech, terms, and metadata.
[0081] For example, component parser 1025 can generate component data 1030 for “The patient who the girl liked was coming today”, as shown in Table 1.
[0082]
[0083]
[0084] Table 1
[0085] Processed input 1015, including processed text, can be transferred by the input processor to dependency parser 1035 of NLP service 1020. Dependency parser 1035 can process the input text and can generate and transmit dependency data 1040, which provides data about dependency relationships between words to data processor 1045. Dependency data 1040 may include parse trees or directed graphs that describe the relationships using additional hierarchical embeddings (e.g., ...). Figure 3 The dependency sub-items, lexical units, dependency tags, and metadata embedded under the root annotation are also included. For example, dependency parser 1035 can generate dependency data 1040 for “The patient who the girl liked was coming today,” as shown in Table 3.
[0086]
[0087]
[0088] Table 2
[0089] In another example, dependency resolver 1035 can generate dependency data 1040 for “The patient who the girl liked was coming today”, as shown in Table 2.
[0090]
[0091]
[0092]
[0093]
[0094]
[0095] Table 3
[0096] Data processor 1045 can generate model 1050 using component data 1030, dependency data 1040, and information from any other NLP service. Model 1050 may include part-of-speech tags, terms, component parse trees, discrete component graphs, named entity lists, dependency graphs, dependency relation lists, association coreference lists, association topic lists, sentiment analysis outputs, semantic role labels, and implication citation confidence statistics.
[0097] In the example, data processor 1045 can generate model 1050 for "The patient the girl liked was coming today," as shown in Table 4.
[0098]
[0099]
[0100]
[0101] Table 4
[0102] Model 1050 can be processed by cascading generator 1055. Cascading generator 1055 can apply cascading rules to model 1050 to generate cascading output 1060. Cascading rules are operations triggered based on the detection of specific components or dependencies in the parsed output. The operations performed by cascading rules can include determining whether newlines should be inserted into the output, the indentation level of text lines, and other output generation operations to create prompts for the user. In the example, cascading rules can be used to generate a text model that includes data identifying the placement of indentation and newlines in the text output to be displayed on a display device. Cascading generator 1055 can return cascading text and metadata in cascading output 1060. For example, cascading generator 1055 can use the cascading rules shown in Table 5 to generate cascading output 1060 for “The patient who the girl liked was coming.”
[0103]
[0104]
[0105] Table 5
[0106] In another example, cascade generator 1055 can generate cascade output 1060 using the cascade rules shown in Table 6.
[0107]
[0108]
[0109] Table 6
[0110] Table 7 shows other examples of cascading text.
[0111]
[0112]
[0113] Table 7
[0114] Figure 11 An example of a language-driven automated text formatting method 1100 according to an implementation is shown. Method 1100 can provide... Figures 1 to 5 , Figure 6A , Figure 6B , Figure 7 and Figure 10 The aforementioned features.
[0115] At operation 1105, the text portion can be obtained from the interface. In the example, the interface can be a physical keyboard, a soft keyboard, a text-to-speech dictation interface, a network interface, or a disk controller interface. In the example, the text portion can be a text string in a common format selected from the following group: rich text, plain text, Hypertext Markup Language, Extensible Markup Language, or U.S. Standard Code for Information Interchange.
[0116] At operation 1110, the text portion can be segmented into multiple dependency segments. These segments can be based on evaluations of the text portion using a component parser and a dependency parser. In the example, the component parser identifies complete segments with specific dependency roles identified by the dependency parser.
[0117] At operation 1115, multiple dependency segments can be encoded based on cue rules describing the hierarchical position of each segment. In the example, the text model of the text portion can be built using the output of a constituent parser and a dependency parser, as well as other NLP services, and cascading rules can be applied to the text model to generate coded segments. In the example, the text model can be a data structure that includes parts of speech, terms, constituent graphs, parse trees, and a dependency list for each word in the text. Coded segments can include metadata and text that define the hierarchical position of dependency segments. In the example, dependency segments can be segments from a sentence. In the example, the hierarchical position can correspond to the offset of the coded segment relative to another dependency segment in the user interface. In the example, coded segments can include line break data and indentation data. In the example, segments of the text portion can include appending a text portion to another text portion, modifying the indentation of a text portion, or inserting a line break before a text portion.
[0118] At operation 1120, multiple encoded dependency segments can be displayed on the user interface according to user preferences. In the example, dependency segments can be encoded using JavaScript Object Notation, Extensible Markup Language, or the U.S. Standard Code for Information Interchange. Encoding dependency segments in the example can include connecting dependency segments of multiple sentences to create text combinations. In the example, the combined sentences can be written to a file, transmitted via a cloud protocol, or displayed directly on an output device.
[0119] In the example, encoded segments can be received. These encoded segments can be parsed to retrieve their respective text and hierarchical positions, and the text can be displayed based on these positions. In the example, displaying text based on position can include modifying the offsets of different parts of the text and adjusting the line heights of those parts. In the example, in left-to-right languages, the offset can start from the left, and in right-to-left languages, the offset can start from the right.
[0120] In the example, displaying text based on position can include adding, modifying indentation, and modifying line breaks without affecting the text's positional arrangement based on linguistic structure.
[0121] Figure 12 An example of a language-driven automated text formatting method 1200 according to an implementation is shown. Method 1200 can provide... Figures 1 to 5 , Figure 6A , Figure 6B and Figures 7 to 11 The aforementioned features.
[0122] At operation 1205, the component parser (e.g., ...) can be used. Figure 10 The component parser (e.g., 1025) described herein receives data representing one or more components of an input sentence. The data representing one or more components can be generated based on the evaluation of the input sentence using the component parser. In the example, the component parser can identify the components of the sentence. In the example, a component can be a word or a phrase, which functions as a single unit in a hierarchical structure.
[0123] At operation 1210, it is possible to obtain from the dependency resolver (e.g., Figure 10 The dependency parser 1035 (as described in the example) receives data representing relationships between words in an input sentence. These relationships can be based on sentence structure and can be derived from the evaluation of the input sentence using the dependency parser. In the example, a dependency can be a one-to-one correspondence such that for any element in the input sentence, there is exactly one node in the structure of the input sentence that corresponds to that element.
[0124] At operation 1215, components and dependencies can be used (e.g., Figure 6A(as shown in the example) (e.g., by such Figure 10 The text model is constructed using the input processor 1015, etc., described in the example. In the example, the text model can be further illustrated by linguistic features generated by additional NLP services, which include coreference information, sentiment tracking, named entity lists, topic tracking, probabilistic reasoning evaluation, prosodic profiling, and semantic analysis in an exemplary rather than restrictive manner.
[0125] At operation 1220, it is possible (for example, by...) Figure 10 The cascading generator (e.g., 1055) described in the example applies cascading rules to a text model to generate a cascading text data structure. In the example, the cascading text data structure includes metadata about the text and display parameters for the specified text. In the example, the cascading text data structure includes files (such as Extensible Markup Language (XML) files) organized according to a schema (such as an XML schema). In the example, the schema includes specifications for the components and their arrangement within the file. In the example, the text model can be a data structure describing the constituents and dependencies of the words contained in the input sentence. In the example, the text model can be a data structure including a parse tree, part-of-speech tags, lexical units, constituent graphs, and dependencies of the text. In the example, the cascading rules include formatting rules that create line breaks and indentation corresponding to the constituents and dependencies.
[0126] In the example, metadata associated with the cascading text can be generated. In another example, the cascading text comprises a set of formatted text sections containing line breaks and indentation for display on a display device. In some examples, the input text sentence can be received from a user-specified source.
[0127] In examples of paragraphs or sets of sentences, the text can be processed before being served to the component parser or dependency parser to break it down into a list of sentences. Each sentence can be processed individually by component parser 1205 and dependency parser 1210. In the examples, method 1200 is applied to each sentence in the text. For example, the sentences can be displayed sequentially, with each sentence concatenated individually, but according to user preferences. In some examples, sentences can be grouped into paragraphs using visual cues other than indentation (such as background shadows, special markers, etc.).
[0128] Figure 13 An example of a language-driven automated text formatting method 1300 according to an implementation is shown. Method 1300 can provide... Figures 1 to 5 , Figure 6A , Figure 6B and Figures 7 to 12 The aforementioned features.
[0129] Dependency and component data obtained through text parsing can be used (e.g., from...) Figure 10The input processor 1015, etc., constructs a model of the text (e.g., at operation 1305). This model can be based on (e.g., via...) Figure 10 The cascading generator (e.g., cascading generator 1055) described in the text model is applied to generate cascading data structures based on cascading rules (e.g., at operation 1310). Text sentences can be displayed in response to the cascading text data structures (e.g., at operation 1315). The data structures can specify the horizontal and vertical arrangement of the text for display.
[0130] Figure 14 An example of a method 1400 for language-driven automated text formatting, according to an embodiment, is shown, which uses a machine learning classifier to concatenate text. Method 1400 can provide... Figures 1 to 5 , Figure 6A , Figure 6B and Figures 7 to 13 The aforementioned features.
[0131] At operation 1405, the text portion is obtained from the interface. For example, the text can be entered by a user via an input device, or obtained from a local or remote text source (such as a file, publisher data source, etc.). At operation 1410, the text is obtained via an NLP service (e.g., Figure 7 The NLP service described in section 730 processes the text portion to obtain a linguistic encoding. For example, various parsers can be used to parse the text, including, by way of example and not limitation, constituent parsers, dependency parsers, coreference parsers, etc., to identify constituents, dependencies, coreferences, etc. At operation 1415, a machine learning (ML) classifier is applied to the linguistic encoding to (e.g., through...) Figure 7 The cascade generator 725, as described above, determines the cascade. For example, a machine learning classifier can use information recognized by the parser (e.g., parts of text encoded using linguistic information recognized by the parser) to classify parts of the text for formatting (e.g., line breaks, indentation, etc.). At operation 1420, the cascade is displayed on the user interface according to user preferences. For example, the cascade can be displayed on the screen of a computing device (such as a standalone computer, mobile device, tablet, etc.) in an application window, web browser, text editor, etc.
[0132] Figure 15 An example of a method 1500 for training a machine learning classifier to concatenate text for language-driven automated text formatting, according to an embodiment, is shown. Method 1500 can provide... Figures 1 to 5 , Figure 6A , Figure 6B and Figures 7 to 14 The aforementioned features.
[0133] Machine learning services (e.g., Figure 7 The machine learning service 735 shown is trained using cascaded examples to train the output (such as...). Figure 10 The outputs (e.g., 1060) are cascaded, either manually defined or generated via a cascade generator (e.g., ...). Figure 10 Alternatives to the logic and rules of the cascade generators (e.g., 1055) discussed.
[0134] At operation 1505, a corpus of cascaded texts is obtained. The corpus is divided into a training set and a test set. At operation 1510, the corpus can be divided into subsets. For example, a large portion of the corpus is designated for training, and the remainder for validation. At operation 1515, a stochastic machine learning method (e.g., a support vector machine with recursive feature elimination, etc.) can be applied to generate a set of pattern classifiers for a portion of the subset (e.g., the training set, etc.). A cross-validation procedure is performed to evaluate the set of pattern classifiers by applying them to uncascaded examples of sentences in the test set. At operation 1520, the set of pattern classifiers can be applied to non-cascaded versions of the corpus of cascaded texts in the remainder of the subset to generate a new set of cascaded texts. The effectiveness of the cascades generated by the classifier set can be evaluated with respect to known cascades. At operation 1525, the effectiveness of the new set of cascaded texts can be evaluated against known cascades in the test set based on accuracy, sensitivity, and specificity. For example, a corpus of concatenated texts labeled with components and dependencies can be used as a training set to generate classifier functions that can be used to generate appropriate concatenations for specific new sentences (not in the training set) based on their linguistic features. Classification can be performed using (linear kernel Support Vector Machines with Recursive Feature Elimination) (SVM-RFE; Guyon et al., 2002) by way of example rather than restriction. SVM classification algorithms (Vapnik, 1995, 1999) have been used in many applications and produce better accuracy than other methods (such as Asri et al., 2016; Huang et al., 2002; Black et al., 2015). SVMs partition data into classes (such as concatenated patterns) by identifying the optimal separating point (hyperplane) between two classes in a high-dimensional feature space, maximizing the margin around the hyperplane and minimizing misclassification errors. The instances closest to the hyperplane are called support vectors and are used as key identifiers for distinguishing between classes. Cross-validation (CV) methods are used to evaluate the generality of classification models (e.g., Arlot & Celisse, 2010; James, Witten, Hastie, and Tibshirani, 2013). This involves dividing the data into subsets or folded sets (conventionally, 10 subsets or folded sets are used, called 10-fold CV), with 9 used for classifier training and the remaining set used to validate the resulting classifier.
[0135] A multi-level cross-validation approach was employed to verify the classifier's generality across: i) instances (sentences); ii) features (such as syntactic categories or dependencies); and iii) parameter tuning (optimization). This approach prevents overfitting and avoids biased estimations of classification accuracy that might result from evaluating more than one aspect of the classifier using the same subset of cross-validations (CVs). The results of each CV procedure were evaluated using the following measures: specificity = TN / (TN+FP), sensitivity = TP / (TP+FN), and accuracy = (sensitivity+specificity) / 2, where TN is the number of true negatives, FP is the number of false positives, TP is the number of true positives, and FN is the number of false negatives.
[0136] It is understandable that various machine learning techniques can be used to train classifiers to identify cue insertion points and cue formatting using labeled or unlabeled data. Machine learning techniques consistent with observing and learning from labeled data or from inherent encoding based on the positional structure of the training cascade corpus can be used to facilitate classifier training. Therefore, SVM is used as an example to further illustrate the training process, but it is understood that alternative machine learning techniques with similar functionality can be used.
[0137] This process can be applied using a training set generated via an alternative method, without relying on a cascade generator. For example, a manually coded training data can be used to train an ML model to generate cascaded text.
[0138] In the example, the NLP service mentioned in this article can use a pre-trained AI model (e.g., Comprehend or Stanford Parser (https: / / nlp.stanford.edu / software / lex-parser.shtml), Natural Language or (TextAnalytics, AllenNLP, Stanza, etc.) This model can use RNNs for text analysis. With large datasets, RNNs can learn mappings from free text input to create outputs, such as predicted entities, key phrases, parts of speech, constituent charts, or dependencies that may exist in the free text. In the example, additional machine learning models can be trained using key phrase formatting rules, part-of-speech formatting rules, entity formatting rule pairs, constituent data, dependency data, etc., to learn to recognize various parts of speech, key phrases, entities, constituents, dependencies, etc., and then used for future parsing operations. In another example, a machine learning model can be trained using user preferences and parts of speech, key phrases, entity pairs, constituents, dependencies, etc., to identify user preferences based on various parts of speech, key phrases, and entities. Various machine learning models can provide outputs based on the statistical probability associated with a given input and a selected output. For example, recurrent neural networks including various threshold layers can be used to generate models to filter outputs, improving the accuracy of output selection.
[0139] Cascading output can be presented to users on various media. For example, the original text and cascading text can be displayed side by side on a display device, and cascading output can replace or modify the original text, etc.
[0140] In the example, machine learning can be used to evaluate a corpus of cascaded texts to learn a cascaded pattern classifier, thereby enabling language-driven automated text formatting. The pattern classifier specifies actual visual cues (such as cascading, indentation, line breaks, color, etc.) representing the linguistic attributes contained within text segments based on the patterns of the cascading rules. In the example, the classifier can evaluate words, parts of speech, component groups, or dependency tags of text segments and produce a formatted structure consistent with the visual cues present in the cascading training set. In the example, the classifier can directly evaluate the shape and display characteristics of cascades in the training set and produce a formatted structure consistent with the visual cues present in the training set.
[0141] Figure 16 An example of a text converter 1600 for displaying text sentences in a cascading format for language-driven automated text formatting according to an embodiment is shown. The text converter 1600 can provide, for example... Figures 1 to 5 , Figure 6A , Figure 6B and Figures 7 to 15 The browser window 1605 may include a plug-in 1610 connected to the system 1605 and a cascading mode button 1615. When cascading mode is off, standard text 1620 can be displayed when the user views text on the website. When cascading mode is on, the text can be formatted and displayed in cascading format 1625.
[0142] Figure 17 Example 1700 of Hypertext Markup Language (HTML) code for annotating cascading text for language-driven automated text formatting, according to an embodiment, is shown. Example 1700 can provide, for example... Figures 1 to 5 , Figure 6A , Figure 6B and Figures 7 to 16 The features described in [the text]. Source text 1705 can be derived from, for example... Figure 7 The NLP service 730 processes the data to produce a text model 1050 (e.g., part-of-speech tags, key phrases, component data, dependency data, etc.). While this example shows the source text 1705 as HTML code, the text can be in ASCII format, XML format, or various other machine-readable formats. Figure 7 The cascading generator 725 described herein can render instructions for inserting newline characters into text (e.g., as in HTML code) based on the text model 1050. The output text 1715 uses tags (such as labels) and indentation (e.g., using text indentation in HTML: tags, etc.).
[0143] The cascading generator 725 can make multiple calls to the NLP service 730 to achieve various functions, such as those described herein regarding constituents and dependencies or other linguistic data. In one implementation, each of these functions is a separate call / function, which, when combined, provides a set of tags for generating cascading text.
[0144] Other implementation methods
[0145] Back Figure 7 According to an example implementation, NLP service 730 can use computational linguistics to probabilistically determine key phrases, components, dependencies, etc. Cascading text generated by cascading generator 725 can improve reading comprehension. According to an example implementation, cascading text formatting is achieved by separating components describing who, when, where, and what information is presented in a sentence via line breaks and / or indentation. Cascading generator 725 uses components associated with dependencies, etc., to determine who, when, where, and what information is presented in a sentence. For example, the indentation inserted by cascading generator 725 is based on the sentence component hierarchy provided by NLP service 730.
[0146] Continuous improvement of cascaded formatting can be achieved through artificial intelligence, including machine learning techniques, via machine learning service 735. Inputs / outputs to and from machine learning service 735 can be processed actively and passively. For example, in an example, machine learning service 735 can operate under an active machine learning approach, where two users may be reading the same material, but the cascaded formatting between characters A and B is slightly different. User comprehension of the material can be tracked via assessment, and machine learning service 735 can generate output that cascade generator 725 can use to modify display characteristics over time. This approach allows system 705 to improve with scale and usage. Machine learning service 735 can also operate in passive mode to measure attributes such as reading behavior without explicit assessment. For example, analytics service 740 can collect data (alone or in combination) that can be used to generate output indicative of reader comprehension without user assessment. Some data that can be evaluated to improve cascaded formatting can be, for example, but not limited to, the time spent reading a given section of text (e.g., less time spent reading may indicate higher comprehension, etc.); eye tracking using camera devices (e.g., embedded cameras, external cameras, etc.) – evaluating the efficiency of eye movement between different cascaded formats of the same content to provide machine learning input; and user modifications – evaluating the degree of personal modifications made by user preferences (e.g., more spacing, sentence fragment length, font, color enhancement of key phrases or parts of speech, components, attachments, etc.).
[0147] The analytics service 740 can record and store user analytics, including metrics for reading comprehension, such as user preferences reflected in modifications to the system (e.g., scrolling speed, spacing, paragraph length, dark mode, key phrase highlighting, etc.). These modifications can be evaluated against various cascading formats to determine how they translate into comprehension performance and can be fed as input to the machine learning service 735 to improve the default display format. The user profile service 745 can store user profile data, including anonymous identifiers for privacy and privacy compliance (e.g., HIPPA compliance), and can track performance metrics and progress. For example, the machine learning service 735 can learn from user modifications to display parameters based on input from the analytics service 740 and can use these modifications to generate user-specific display characteristics. The access control service 750 can provide access to stored content, including metrics on frequency, usage time, and textual attributes (e.g., fiction, nonfiction, author, research, poetry, etc.). According to another form of personalization, users can personalize display parameters such as text color, font, font size, and other display parameters.
[0148] In the example, reading scores can be developed for users. A score matrix can be created, which could be based on a student's age and grade level, or it could be the result of their reading of specified content and their associated comprehension (e.g., Reading Comprehension Score (RCS)). The RCS method is similar to building a relative score metric, the average grade point average (GPA), among similar groups. This metric can be based on an assessment of the user's text consumption using cascading formatting. For example, assessments can be actively or passively tracked over time to determine the speed and efficiency with which users comprehend text. A user's score can be calculated, increasing with comprehension speed. Input received before the reading assessment can be used to generate the user's baseline quotient.
[0149] Cascading formatting can be used to develop cognitive training libraries. For example, cascading formatting can be used to transform various published content items such as books, magazines, and papers, and users can be allowed access to the library for the purpose of training their brains to improve comprehension and memory. Tests and quizzes can be used to assess users' comprehension abilities, providing them with real evidence of cognitive improvement.
[0150] Cascading formatting can be applied to process various languages. NLP services can be used to provide linguistic features of texts in other languages, and rules can be created and applied to NLP outputs (such as Spanish text) to concatenate foreign language texts accordingly. In addition to language tuning, tuning can also be based on the syntax of other languages; therefore, concatenated texts in different languages can be concatenated in different formats using different formatting rules to address language-specific syntactic variations. Constituent and dependency NLP services are available in multiple languages. Because concatenation rules are based on a common dependency set, they can be readily transferred to other languages, although the output may look different (e.g., some languages are read from right to left, not left to right, top to bottom, etc.). Some languages have different word lengths, which may require different types of line breaks (e.g., agglutinative languages add grammar by appending morphemes, resulting in very long words), and so on. Language-appropriate display features are applied, but the process of constituent hints discussed in this paper remains unchanged.
[0151] In the example, spoken words can be combined with the visual display of cascading formatted text. Sounds can be integrated so that as people read the cascading text, there is also background music playing at a controlled speed, matching the pace of each reader. For example, text-to-speech can be used to provide audio / speech output in real time, and reading speed and comprehension can be assessed. The speed of the text-to-speech output can be varied (e.g., sped up, slowed down, paused, resumed, etc.) to keep the audio synchronized with the user's reading. Cascading can accompany the speech in a way that allows the reader to visually perceive prosodic cues associated with line breaks. This teaching system can be used to guide users to mimic this prosodic rhythm in their own spoken reading. This, in turn, supports increased understanding of syntactic structures.
[0152] Figure 18 Example 1800 of generating cascading text from a captured image for language-driven automated text formatting according to an embodiment is shown. Example 1800 can provide... Figures 1 to 5 , Figure 6A , Figure 6B and Figures 7 to 17 The aforementioned features. Imaging device 1805 can capture an image including text 1810. The image can be processed (e.g., via optical character recognition, etc.) to extract text 1810 from the image. Text 1810 can be evaluated by system 1000 to determine a text model in the text (e.g., based on components, dependencies, etc.). Cascade formatting rules can be applied to text 1810 based on linguistic attributes assigned via system 1000. Text 1810 can be converted into cascaded output text via the cascade formatting rules and displayed for user consumption.
[0153] Figure 19 An example of a method 1900 for generating cascading text from a captured image, according to an embodiment of language-driven automated text formatting, is shown. Method 1900 can provide... Figures 1 to 5 , Figure 6A , Figure 6B and Figures 7 to 18 The aforementioned features. At operation 1905, a text image can be captured within the field of view of the imaging device. At operation 1910, text in the image can be identified to generate a machine-readable text string. At operation 1915, the machine-readable text string can be processed using an NLP service to identify linguistic attributes (e.g., part-of-speech, terms, constituent data, dependency data, coreference data, sentiment analysis, topic tracking, probabilistic inference, and prosodic structure, etc.), thereby generating a text model (e.g., such as...). Figure 10(e.g., element 1050 in the text). At operation 1920, a text concatenation including punctuation and indentation can be generated based on rules applied using the text model. In the example, the text string can contain text sentences, and punctuation and indentation can be applied to the sentences. In the example, the text string can include multiple sentences grouped into paragraphs via visual cues (such as background color, explicit markings, etc.).
[0154] Figure 20 Example 2000 illustrates an embodiment of language-driven automated text formatting in an eyewear device, using natural language processing to convert text from a first display format to a second display format. Example 2000 can provide, for example... Figures 1 to 5 , Figure 6A , Figure 6B and Figures 7 to 19 The user 2005 can wear smart glasses including imaging device 2010. Imaging device 2010 can capture an image including text 2015. The image can be processed (e.g., via optical character recognition, etc.) to extract text 2015 from the image. The text 2015 can be evaluated by system 705 to identify linguistic properties in the text (e.g., parts of speech, key phrases, component data, dependency data, etc.) (e.g., to form such as... Figure 10 The aforementioned model 1050, etc. Linguistic attributes (e.g., such as those recognized by the cloud-based delivery system 705) can be used. Figure 10 The model 1050 (etc.) applies cascading formatting rules to text 2015. Text 2015 can be converted into cascading output text 2020 and displayed on a display device of smart glasses, including imaging device 2010, for user consumption.
[0155] Figure 21 An example of a method 2100 for language-driven automated text formatting in an eyewear device, according to an embodiment, is shown, which converts text from a first display format to a second display format. Method 2100 can provide, for example... Figures 1 to 5 , Figure 6A , Figure 6B and Figures 7 to 20The features described above. At operation 2105, a text image can be captured within the field of view of the imaging component of the glasses device or from another text input source. In the example, the glasses device may have a memory for storing text or downloading text as a file, may have wireless capabilities to wirelessly acquire text, and then convert it, etc. At operation 2110, text in the image can be recognized to generate a machine-readable text string. At operation 2115, the machine-readable text string can be processed using NLP service 1020 to identify linguistic attributes (e.g., parts of speech, lexicon, constituent data, dependency data, coreference data, sentiment analysis, topic tracking, probabilistic inference, and prosodic structure, etc.) and generate a text model (e.g., Figure 10 (e.g., model 1050 described herein). At operation 2120, a text concatenation including sentence breaks and indentation can be generated based on the rules applied using text model 1050. In the example, the text string can contain text sentences, and sentence breaks and indentation can be applied to the sentences. In the example, the text string can contain multiple sentences grouped into paragraphs via visual cues (such as background color, explicit markings, etc.). At operation 2125, the text concatenation can be displayed to the user via the display component of the glasses device.
[0156] Figure 22 Example 2200 of generating cascading text for language-driven automated text formatting according to an embodiment is shown. Example 2200 can provide, for example... Figures 1 to 5 , Figure 6A , Figure 6B and Figures 7 to 21 The text authoring tool 2205 can receive text input 2210 from a user (e.g., via keyboard, voice command, etc.). When text input 2210 is received, system 705 (via online connection, locally available components, etc.) processes it to identify linguistic attributes (e.g., parts of speech, constituent data, dependency data, etc.) in the text input 2210. In the example, system 705 (or components of system 705) can be executed on a remote computing platform or on a device on which text authoring tool 2205 is executed. Cascading formatting rules can be applied to the input text 2210 using the linguistic attributes identified in the input text 2210. The displayed output text 2215 can be displayed as cascading output text as the user inputs text, providing the user with real-time cascading formatting while the text is being input.
[0157] Figure 23 An example of an architecture 2300 for user and publisher preference management of cascaded text using natural language processing based on feedback input for language-driven automated text formatting, according to an embodiment, is shown. Architecture 2300 can provide... Figures 1 to 5 , Figure 6A , Figure 6B and Figures 7 to 19 The features described above. User interface 2305 and plug-in 2310 can be connected to, for example... Figure 7 The system 705 described above may include a user registry 2310 that allows users and publishers to register to publish and consume text via the system. The user registry may maintain profiles for users and publishers, including display preferences applied when viewing cascading text. User preferences do not alter the formation of the cascading text but can provide user- or publisher-defined display modifications, such as text color, font size, line spacing, etc. A cascading mode button 2315 may be provided, allowing users to turn editing mode on or off. Text may be displayed in a cascading format, and when cascading editing mode is enabled, changes in cascading display characteristics can be tracked and evaluated to generate personalized cascading display characteristics for the user. The tracked changes can be used as feedback information stored in the profile, which can be used to understand user preferences over time. Feedback may also be direct input from users or publishers indicating their preferences for content display characteristics.
[0158] In the example, a publisher can register via user registry 2310 and provide published content for consumption by users of system 705. Publisher data 2320 can include content such as books, magazines, manuals, and exams that can be input into system 705. An NLP service can identify linguistic attributes (e.g., part-of-speech, component data, dependency data, coreference, etc.) for each sentence in publisher data 2320. The NLP service categorizes words or combinations of words into named entities, part-of-speech, component relationships, dependency relationships, coreference, and topic links. System 705 can receive publisher data 2320 including linguistic analysis.
[0159] The identified linguistic attributes of publisher data 2320 can be evaluated according to a set of cascading formatting rules, which may include rules for inserting line breaks, indentation, and other formatting elements. Cascading formatting rules can be triggered by categories or parts of speech, key phrases, component types, or dependency types identified in the text. The cascading publisher data can be provided back to the publisher to be included in publisher data 2320 and can be consumed by the user via user interface 2305.
[0160] Additional formatting can be used to provide users with further cues. For example, highlighting the structure of components can reduce the cognitive load of reading. This allows the systems and methods discussed in this paper to provide systems that simplify reading tasks. Various modifications—including using color, underlining, highlighting, etc.—can be applied to the text to help reduce the user's cognitive load.
[0161] Figure 24An example of a method 2400 for language-driven automated text formatting, based on feedback input and using natural language processing for cascading text personalization, is shown according to an embodiment. Method 2400 can provide... Figures 1 to 5 , Figure 6A , Figure 6B and Figures 7 to 23 The features described herein. The systems and methods discussed in this paper can be used to develop personalized algorithms unique to each individual. People process textual information differently, and it is possible to create Personalized Reading Algorithms (PRAs) optimized for each individual. Text can be displayed in a cascading format, and when cascading editing mode is enabled, changes in the display characteristics of the cascading output can be tracked and analyzed to identify medical conditions, cognitive function, learning disabilities, and / or generate personalized cascading formatting rules for the user. By adjusting various attributes and assessing comprehension and reading difficulty, personalized settings for customizing display characteristics can be developed. This can be created by user-made parameter changes to display characteristics to suit their reading preferences. Trackable user adjustments to display characteristics can include modifications to indentation, highlighting or coloring key components, scrolling speed, etc. While the cascading logic remains based on linguistic information, user profiles can be used to highlight, italicize, color, increase spacing, add line breaks, etc., in the display characteristics of cascading text.
[0162] Just as there is a difference between the prescriptions of two glasses, different eyes process information slightly differently, which can lead to different display characteristics between two users. Cognitive diversity (e.g., the different ways people face and process text) can also be addressed by optimizing display characteristics between individuals or groups sharing similar cognitive profiles (e.g., ADHD, dyslexia, autism, etc.).
[0163] For example, reading profiles (independent or combined) can be created based on reader attributes to modify presentation parameters. Contextual profiles can be informed through user input or automated computer assessment, such as specific medical and cognitive conditions (e.g., dyslexia, ADHD, ADD, etc.), autism, native language (e.g., a native Chinese speaker might benefit from a different format than a native Spanish speaker), the nature of the content being read (e.g., novels, nonfiction, news, poetry, etc.), or screen mode (e.g., mobile phone, tablet, laptop, monitor, AR / VR device, etc.). Cascaded output display feature optimization can also be used in a diagnostic and therapeutic manner to address injury and disability issues. A key symptom of concussion or traumatic brain injury (TBI) is changes in eye movement and tracking. As an example, athletes might be seen on the sidelines being asked to track a finger moving horizontally in front of them. Reading is a burden on the brain of a concussion patient. People who have experienced TBI need frequent rest to allow their brains to rest and recover. In the military and many sports, participants are required to undergo baseline cognitive tests to assess future injury. In the example, the systems and techniques discussed in this paper can be used in conjunction with augmented reality headsets / glasses to measure a baseline of comprehension levels by leveraging cascaded text and display characteristics adapted to the participant. This baseline can also include eye-tracking information in addition to comprehension ratings and user-reported comfort / stress levels.
[0164] Once this baseline is established, eye tracking and comprehension can be measured using cascading and variations in display characteristics relative to the baseline settings to assess the degree of relief provided. For example, if baseline measurements indicate that a participant reads with a three-character indentation and achieves a comprehension level score of X, then it can be determined how they perform these same measurements after TBI and how they can improve with a modified display featuring enhanced indentation, color, etc. Changes in display characteristics necessary to support injured participants can inform their diagnosis and treatment plan. In the example, users can set their own individual parameters and output format (e.g., length, spacing, highlighting, indentation, line breaks, etc.), font, color, size, and background color.
[0165] At operation 2405, content (such as text, images, etc.) can be obtained from a cloud connection source including text sentences. At operation 2410, a personal registry and personalized text formatting parameters can be maintained for an individual. In the example, the text formatting parameters may include rules for generating a personalized cascading text display format. At operation 2415, display control instructions can be generated, which cause the cascading to be displayed with user-specified attributes based on the personalized text formatting parameters. For example, a text sentence can be received from a publishing source associated with an individual in the registry, and display control instructions can be generated to control the display of the sentence on the client device. At operation 2420, the cascading can be displayed by applying user-specified attributes to modify the display characteristics of the cascading output on the display device. The display control instructions can use personalized text formatting parameters, and the instructions can cause the sentence to be displayed in a personalized cascading format. In the example, the cloud connection source may be a browser application, and the browser application may supply text sentences to the text processing engine.
[0166] Figure 25 Example 2500 illustrates a dual display of cascading text based on feedback input (e.g., user modifications to the displayed text) for language-driven automated text formatting, according to an embodiment. Example 2500 can provide... Figures 1 to 5 , Figure 6A , Figure 6B and Figures 7 to 24 The features described above. Text can be received via user interface 2505. Text 2510 can be processed by system 705 to identify parsing structures (e.g., part-of-speech, constituent data, dependency data, etc.). Text 2510 (e.g., non-cascaded, raw language, cascaded, etc.) or source text can be displayed in a first window of user interface 2505. Although block text is used as an example, the raw text may have HTML enhancements, including headings, keywords, chart captions, etc. Modified text 2515 can be displayed in a second window of user interface 2505. Modified text 2515 can be text that has undergone cascaded formatting, translation, or formatting in different cascaded formats, and may include user preferences, etc. In the example, modified text 2515 can be presented in a cascaded format using line breaks and indentation from cascaded formatting rules applied using the identified linguistic attributes. The modified text 2515 can be presented in a way that highlights parts of speech, component data, dependency data, etc. (e.g., underlined, bolded, colored, shaded, etc.) so that users can recognize the structure of the text 2510.
[0167] Therefore, the parallel display of source text and cascading formatted text can be presented in a parallel manner via two screens or split-screen. For example, the original source text can be displayed on one screen, and the cascading text can be displayed in parallel on a second screen, and they can be synchronized so that they remain synchronized as the user scrolls on either screen. This can be used for educational purposes to highlight syntax, key phrases, parts of speech, constituent data, dependency data, etc., or to present an "enhanced understanding view," much like a text X-ray that displays the underlying structure of the text. For example, constituents, coreference information, and key phrases can be bolded or unbolded, verbs can be colored or bolded, etc., to highlight underlying linguistic features.
[0168] Figure 26 An example of a system 2600 for language-driven automated text formatting, according to an embodiment, is shown for translating input text in a first language 2610 into a cascaded output in a second language 2615. A translation engine 2620 can receive input in the first language 2610 and can translate the input into the second language. The translation engine can be executed locally on a device for viewing the input and cascaded output displayed in the second language 2615 on a user interface 2605, or remotely from a web service, a cloud-based service, a remote server, etc. The translation engine 2620 may include translation logic that, when executed on input text, converts the text from the input language to the second language.
[0169] The output from translation engine 2620 can be processed by cloud-based system 705 to produce the cascaded output of the second language 2615 described above. For example, a cascaded paragraph can be displayed in one window of the screen, while a paragraph translation in another language can be presented in a cascaded format in a second window of the screen. In another example, block text can be displayed on one side of a dual-display setup, and cascaded text on the other side. In yet another example, split-screen scrolling is provided, where blocks and cascaded text and / or languages can be displayed on different sides of the screen or on different displays in a dual-display configuration. Dual screens allow users to refer to other views to help understand difficult paragraphs.
[0170] Figure 27 An example of a language-driven automated text formatting method 2700 according to an implementation is shown. Method 2700 can provide... Figures 1 to 5 , Figure 6A , Figure 6B and Figures 7 to 26 The aforementioned features.
[0171] At operation 2705, text input can be received from the input device. At operation 2710, the input text can be formatted using prompts that convey linguistic relations identified from the component and dependency parsing operations of the natural language processing service.
[0172] At operation 2715, cascading rules can be applied to prioritize the placement of text input components as consecutive units in the displayed output. Cascading rules can determine the horizontal displacement of each component based on information from the automatic dependency parser output, and can group components with other components based on horizontal positioning to highlight dependency relationships. Unindentation can indicate the completion of component grouping. In the example, cascading rules can use rules that associate dependencies with components to further identify core arguments and non-core dependencies in the input text. These rules can indent core arguments and non-core dependencies under the headwords of linguistic phrases in the input text.
[0173] At operation 2720, output including indentation and line breaks can be generated based on the application of cascading rules. In the example, the output can be enhanced using additional linguistic feature cues provided by natural language processing services, including coreference information, sentiment analysis, named entity recognition, semantic role labeling, textual entailment, topic tracking, or prosodic analysis.
[0174] At operation 2725, the output can be displayed on the monitor of the output device. In the example, anonymous usage data or user-specified preferences can be received, and a custom display profile including output display characteristics can be generated based on the anonymous usage data or user-specified preferences. In the example, the output display characteristics of the custom display profile can be used to adjust the output. Display characteristics can modify the display features of the output without altering its shape. In the example, the output can be generated for display on mobile phones, tablets, laptops, monitors, virtual reality devices, or augmented reality devices. In the example, the output can be generated for display in a dual-screen format, showing side-by-side text formatting, formatted simultaneous editing formatting, or cascading and translation formatting.
[0175] Figure 28A block diagram of an example machine 2800 is shown, on which any or more of the techniques (e.g., methodologies) discussed herein can be performed. In alternative implementations, machine 2800 may operate as a standalone device or may be connected (e.g., networked) to other machines. In a networked deployment, machine 2800 may operate as a server machine, a client machine, or both in a server-client network environment. In the example, machine 2800 may be used as a peer-to-peer (P2P) (or other distributed) network environment. Machine 2800 may be a personal computer (PC), tablet computer, set-top box (STB), personal digital assistant (PDA), mobile phone, web device, network router, switch, or bridge, or any machine capable of (sequentially or otherwise) executing instructions specifying actions to be taken by that machine. Furthermore, although only a single machine is shown, the term "machine" should also be considered to include any collection of machines that individually or jointly execute a set (or more sets) of instructions to perform any or more of the methods discussed herein, such as cloud computing, Software as a Service (SaaS), and other computer cluster configurations.
[0176] As described herein, examples may include logic or multiple components or mechanisms, or may be operated by logic or multiple components or mechanisms. A circuit group is a collection of circuits implemented in a tangible entity including hardware (e.g., simple circuits, gates, logic, etc.). Circuit group membership can be flexible with time and the variability of the underlying hardware. A circuit group includes components that can perform specific operations individually or in combination during operation. In the example, the hardware of the circuit group may be invariably designed to perform specific operations (e.g., hardwired). In the example, the hardware of the circuit group may include variable-connected physical components (e.g., execution units, transistors, simple circuits, etc.) to encode instructions for specific operations, the variable-connected physical components including computer-readable media with physical modifications (e.g., magnetically, electrically, movable placement of invariant aggregated particles, etc.). When the physical components are connected, the basic electrical characteristics of the hardware portion change (e.g., from an insulator to a conductor, or from a conductor to an insulator). Instructions enable embedded hardware (e.g., an execution unit or loading mechanism) to create components of the circuit group in the hardware via variable connections to perform portions of specific operations during operation. Therefore, when the device is operating, the computer-readable medium is communicatively coupled to other components of the circuit group assembly. In the example, any physical component can be used in more than one assembly of more than one circuit group. For example, during operation, an execution unit can be used at one point in time in a first circuit of a first circuit group and reused at different times by a second circuit in the first circuit group or by a third circuit in the second circuit group.
[0177] Machine (e.g., computer system) 2800 may include a hardware processor 2802 (e.g., a central processing unit (CPU), a graphics processing unit (GPU), a hardware processor core, or any combination thereof), main memory 2804, and static memory 2806, some or all of which may communicate with each other via interconnect (e.g., bus) 2808. Machine 2800 may also include a display unit 2810, an alphanumeric input device 2812 (e.g., a keyboard), and a user interface (UI) navigation device 2814 (e.g., a mouse). In the example, display unit 2810, input device 2812, and UI navigation device 2814 may be a touchscreen display. Machine 2800 may additionally include a storage device (e.g., a drive unit) 2816, a signal generation device 2818 (e.g., a speaker), a network interface device 2820, and one or more sensors 2821 such as a global positioning system (GPS) sensor, a compass, an accelerometer, or other sensors. Machine 2800 may include output controller 2828, which may be connected serially (e.g., Universal Serial Bus (USB)), in parallel, or otherwise wired or wireless (e.g., infrared (IR), near field communication (NFC), etc.) to communicate with or control one or more peripheral devices (e.g., printers, card readers, etc.).
[0178] Storage device 2816 may include machine-readable medium 2822 on which one or more sets of data structures or instructions 2824 (e.g., software) are stored, which implement or be utilized by any one or more of the techniques or functions described herein. Instructions 2824 may also reside wholly or at least partially within main memory 2804, static memory 2806, or hardware processor 2802 during execution by machine 2800. In this example, one or any combination of hardware processor 2802, main memory 2804, static memory 2806, or mass storage device 2816 may constitute the machine-readable medium.
[0179] Although machine-readable medium 2822 is shown as a single medium, the term "machine-readable medium" can include a single medium or multiple media (e.g., a centralized or distributed database, and / or associated cache and server) configured to store one or more instructions 2824.
[0180] The term "machine-readable medium" can include any medium capable of storing, encoding, or carrying instructions, or capable of storing, encoding, or carrying data structures used by or associated with such instructions, which are intended to be executed by machine 2800 and cause machine 2800 to perform any or more of the techniques of this disclosure. Examples of non-limiting machine-readable media can include solid-state memory, as well as optical and magnetic media. In examples, machine-readable media can exclude transient propagating signals (e.g., non-transitory machine-readable storage media). Specific examples of non-transitory machine-readable storage media can include: non-volatile memory, such as semiconductor memory devices (e.g., electrically programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM)) and flash memory devices; disks, such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks.
[0181] Commands 2824 can also be sent or received via the communication network 2826 using the transmission medium through the network interface device 2820, utilizing any of several transport protocols (e.g., Frame Relay, Internet Protocol (IP), Transmission Control Protocol (TCP), User Datagram Protocol (UDP), Hypertext Transfer Protocol (HTTP), etc.). Example communication networks may include local area networks (LANs), wide area networks (WANs), packet data networks (e.g., the Internet), mobile phone networks (e.g., cellular networks), conventional telephone (POTS) networks, and wireless data networks (e.g., those referred to as…). The IEEE 802.11 family of standards, IEEE 802.15.4 family of standards, peer-to-peer (P2P) networks, and 3GPP (3rd Generation Partnership Project) standards for 4G and 5G wireless communications, including the 3GPP Long Term Evolution (LTE) family of standards, the 3GPP LTE Advanced family of standards, the 3GPP LTE Advanced Specialty family of standards, and the 3GPP New Radio (NR) family of standards. In the example, network interface device 2820 may include one or more physical jacks (e.g., Ethernet, coaxial, or telephone jacks) or one or more antennas to connect to communication network 2826. In the example, network interface device 2820 may include multiple antennas to wirelessly communicate using at least one of Single-Input Multiple-Output (SIMO), Multiple-Input Multiple-Output (MIMO), or Multiple-Input Single-Output (MISO) technologies. The term "transmission medium" should be considered to include any intangible medium capable of storing, encoding, or carrying instructions for execution by the machine 2800, and includes digital or analog communication signals or other intangible media to facilitate communication of such software.
[0182] Additional notes
[0183] The above detailed description includes reference to the accompanying drawings, which form a part of this detailed description. The drawings illustrate specific embodiments that can be practiced by way of illustration. These embodiments are also referred to herein as “examples.” Such examples may include elements other than those shown or described. However, the inventors also contemplate examples in which only those elements shown or described are provided. Furthermore, the inventors contemplate examples using any combination or substitution of those elements (or one or more aspects of those elements) shown or described with respect to a particular example (or one or more aspects of that particular example) or with respect to other examples shown or described herein (or one or more aspects of those other examples).
[0184] All publications, patents, and patent documents mentioned in this document are incorporated herein by reference in their entirety, as if they were individually incorporated by reference. In the event of any inconsistency between the usage in this document and those incorporated by reference, the usage in the incorporated reference shall be considered supplementary to the usage in this document; in the case of irreconcilable inconsistencies, the usage in this document shall prevail.
[0185] In this document, as is common in patent literature, the terms "a" or "an" are used to include one or more, regardless of any other instance or use of "at least one" or "one or more." In this document, unless otherwise indicated, the term "or" is used to refer to a non-exclusive "or," such that "A or B" includes "A but not B," "B but not A," and "A and B." In the appended claims, the terms "comprising" and "in..." are used as concise English equivalents to the corresponding terms "comprising" and "wherein." Furthermore, in the appended claims, the terms "comprising" and "including" are open-ended, meaning that a system, apparatus, article of manufacture, or process that includes elements other than those listed after such terms in the claims is still considered to fall within the scope of the claims. Additionally, in the appended claims, the terms "first," "second," and "third," etc., are used only as designations and are not intended to impose numerical requirements on their objects.
[0186] The above description is intended to be illustrative and not restrictive. For example, the examples (or one or more aspects of the examples) described above can be used in combination with each other. Other embodiments can be used by those skilled in the art, for example, after reading the above description. The abstract is provided to enable the reader to quickly determine the nature of the technical disclosure and to understand that it will not be used to interpret or limit the scope or meaning of the claims. In addition, in the detailed embodiments above, various features may be combined to simplify the disclosure. This should not be construed as meaning that all unclaimed features are necessary for any claim. Rather, the subject matter of the invention may lie in fewer than all features of a particular disclosed embodiment. Therefore, the appended claims are incorporated herein by reference, wherein each claim exists independently as a separate embodiment. The scope of the embodiments should be determined by reference to the appended claims and the full scope of their authorized equivalents.
Claims
1. A system for generating and displaying text including linguistic prompts from input text, comprising: At least one processor; and The memory includes instructions that, when executed by the at least one processor, cause the at least one processor to perform the following operations: Receive the input text, which originates from the input device; The component data and dependency data of the input text are obtained from the component and dependency parsing operations of the natural language processing service, wherein the natural language processing service provides the component data as the output from the automated component parser and provides the dependency data as the output from the automated dependency parser. A language model is generated based on the component data and the dependency data, wherein the language model is a data structure that links each component of the input text to one or more dependencies associated with the head word of the component; The language model is used to apply cascading rules to the components of the input text, the cascading rules including instructions for the following operations: Determine the vertical arrangement of each component, wherein each component comprises a word or phrase that serves as a single grammatical unit in the hierarchical structure of the generated language model, and wherein the vertical arrangement places the components of the input text on one or more lines; and Determine the horizontal arrangement of each component. The language model identifies the head word of each component and one or more dependencies associated with the head word, and the horizontal arrangement indents core arguments and non-core dependencies under the head word of the component that contains them. Based on the application of the vertical and horizontal arrangements according to the cascading rules, an output including indentation and line breaks is generated; and The output is displayed on the monitor of the output device.
2. The system according to claim 1, wherein the cascading rule further includes instructions for the following operations: Core arguments and non-core dependencies in the components of the input text are identified using rules that associate dependencies with corresponding components containing said dependencies. in, The horizontal arrangement is configured to indent the core arguments and non-core dependencies of the corresponding components under the headword of the linguistic phrase in the input text. and The horizontal arrangement is configured to unindent to indicate the completion of the corresponding component, and the core arguments and non-core dependencies of the input text are indented under the headword of the corresponding component containing them.
3. The system according to claim 1, wherein, The output is enhanced by using additional linguistic feature cues provided by the natural language processing service, including coreference information, sentiment analysis, named entity recognition, semantic role labeling, textual entailment, topic tracking, or prosodic analysis.
4. The system of claim 1, wherein the memory further comprises instructions that, when executed by the at least one processor, cause the at least one processor to perform the following operations: Receive anonymous usage data or user-specified preferences; and Based on the anonymous usage data or the user-specified preferences, a custom display configuration file including output display characteristics is generated.
5. The system of claim 4, wherein the memory further comprises instructions that, when executed by the at least one processor, cause the at least one processor to perform the following operations: The output is adjusted using the output display characteristics of the custom display configuration file, wherein... The output display characteristics modify the display features of the output without altering its shape.
6. The system according to claim 1, wherein, The output is generated for display on a mobile phone, tablet, laptop, monitor, virtual reality device, or augmented reality device.
7. The system according to claim 1, wherein, The output is generated for display in a dual-screen format, which displays side-by-side text, formatted simultaneous editing, or cascading and translation formats.
8. The system according to claim 1, wherein, The component parsing operation of the natural language processing service satisfies one or more diagnostic tests to determine each component, said one or more diagnostic tests being provided from the following: i) doso / one substitution; ii) coordination; iii) topication; iv) omission; v) splitting / pseudo-splitting; vi) passiveing; vii) wh-preposition; viiii) right node promotion; ix) pronoun substitution; x) question answering; xi) omission; and xii) adverb intrusion.
9. The system according to claim 1, wherein, The components of the input text are presented in the output across multiple lines, wherein the horizontal displacement of the components remains consistent across the multiple lines.
10. At least one non-transitory machine-readable medium, comprising instructions for generating a display of text including linguistic prompts from input text, the instructions causing the at least one processor of a computing device to perform the following operations when executed: Receive the input text, which originates from the input device; The component data and dependency data of the input text are obtained from the component and dependency parsing operations of the natural language processing service, wherein, The natural language processing service provides the component data as output from the automated component parser and provides the dependency data as output from the automated dependency parser; A language model is generated based on the component data and the dependency data, wherein the language model is a data structure that links each component of the input text to one or more dependencies associated with the head word of the component; The language model is used to apply cascading rules to the components of the input text, the cascading rules including instructions for the following operations: Determine the vertical arrangement of each component, wherein each component comprises a word or phrase that serves as a single grammatical unit in the hierarchical structure of the generated language model, and wherein the vertical arrangement places the components of the input text on one or more lines; and Determine the horizontal arrangement of each component. The language model identifies the head word of each component and one or more dependencies associated with the head word, and the horizontal arrangement indents core arguments and non-core dependencies under the head word of the component that contains them. Based on the application of the vertical and horizontal arrangements according to the cascading rules, an output including indentation and line breaks is generated; and The output is displayed on the monitor of the output device.
11. The at least one non-transitory machine-readable medium according to claim 10, wherein the cascading rule further comprises instructions for the following operations: Core arguments and non-core dependencies in the components of the input text are identified using rules that associate dependencies with corresponding components containing said dependencies. in, The horizontal arrangement is configured to indent the core arguments and non-core dependencies of the corresponding components under the headword of the linguistic phrase in the input text. and The horizontal arrangement is configured to unindent to indicate the completion of the corresponding component, and the core arguments and non-core dependencies of the input text are indented under the headword of the corresponding component containing them.
12. The at least one non-transitory machine-readable medium according to claim 10, wherein, The output is enhanced by using additional linguistic feature cues provided by the natural language processing service, including coreference information, sentiment analysis, named entity recognition, semantic role labeling, textual entailment, topic tracking, or prosodic analysis.
13. The at least one non-transitory machine-readable medium of claim 10, further comprising instructions that, when executed by the at least one processor, cause the at least one processor to perform the following operations: Receive anonymous usage data or user-specified preferences; and Based on the anonymous usage data or the user-specified preferences, a custom display configuration file including output display characteristics is generated.
14. The at least one non-transitory machine-readable medium of claim 13, further comprising instructions that, when executed by the at least one processor, cause the at least one processor to perform the following operations: The output is adjusted using the output display characteristics of the custom display configuration file, wherein... The output display characteristics modify the display features of the output without altering its shape.
15. The at least one non-transitory machine-readable medium according to claim 10, wherein, The output is generated for display in a dual-screen format, which displays side-by-side text, formatted simultaneous editing, or cascading and translation formats.
16. The at least one non-transitory machine-readable medium according to claim 10, wherein, The component parsing operation of the natural language processing service satisfies one or more diagnostic tests to determine each component, said one or more diagnostic tests being provided from the following: i) do so / one substitution; ii) coordination; iii) topication; iv) omission; v) splitting / pseudo-splitting; vi) passiveing; vii) wh-preposition; viiii) right node promotion; ix) pronoun substitution; x) question answering; xi) omission; and xii) adverb intrusion.
17. The at least one non-transitory machine-readable medium according to claim 10, wherein, The components of the input text are presented in the output across multiple lines, wherein the horizontal displacement of the components remains consistent across the multiple lines.
18. A method for generating a display of text including linguistic prompts from input text, comprising: Receive the input text, which originates from the input device; The component data and dependency data of the input text are obtained from the component and dependency parsing operations of the natural language processing service, wherein the natural language processing service provides the component data as the output from the automated component parser and provides the dependency data as the output from the automated dependency parser. A language model is generated based on the component data and the dependency data, wherein the language model is a data structure that links each component of the input text to one or more dependencies associated with the head word of the component; The language model is used to apply cascading rules to the components of the input text, the cascading rules including instructions for the following operations: Determine the vertical arrangement of each component, wherein each component comprises a word or phrase that serves as a single grammatical unit in the hierarchical structure of the generated language model, and wherein the vertical arrangement places the components of the input text on one or more lines; and Determine the horizontal arrangement of each component. The language model identifies the head word of each component and one or more dependencies associated with the head word, and the horizontal arrangement indents core arguments and non-core dependencies under the head word of the component that contains them. Based on the application of the vertical and horizontal arrangements according to the cascading rules, an output including indentation and line breaks is generated; and The output is displayed on the monitor of the output device.
19. The method according to claim 18, wherein, The cascading rules also include: Core arguments and non-core dependencies in the components of the input text are identified using rules that associate dependencies with corresponding components containing said dependencies. The horizontal arrangement is configured to indent the core arguments and non-core dependencies of the corresponding components under the headwords of the linguistic phrases in the input text; and The horizontal arrangement is configured to unindent to indicate the completion of the corresponding component, and the core arguments and non-core dependencies of the input text are indented under the headword of the corresponding component containing them.
20. The method according to claim 18, wherein, The output is enhanced by using additional linguistic feature cues provided by the natural language processing service, including coreference information, sentiment analysis, named entity recognition, semantic role labeling, textual entailment, topic tracking, or prosodic analysis.
21. The method of claim 18, further comprising: Receive anonymous usage data or user-specified preferences; as well as Based on the anonymous usage data or the user-specified preferences, a custom display configuration file including output display characteristics is generated.
22. The method of claim 21, further comprising: The output is adjusted using the output display characteristics of the custom display configuration file, wherein the output display characteristics modify the display features of the output without altering the shape of the output.
23. The method according to claim 18, wherein, The output is generated for display on mobile phones, tablets, laptops, monitors, virtual reality devices, or augmented reality devices.
24. The method according to claim 18, wherein, The output is generated for display in a dual-screen format, which displays side-by-side text, formatted simultaneous editing, or cascading and translation formats.
25. The method according to claim 18, wherein, The component parsing operation of the natural language processing service satisfies one or more diagnostic tests to determine each component, said one or more diagnostic tests being provided from the following: i) doso / one substitution; ii) coordination; iii) topication; iv) omission; v) splitting / pseudo-splitting; vi) passiveing; vii) wh-preposition; viiii) right node promotion; ix) pronoun substitution; x) question answering; xi) omission; and xii) adverb intrusion.
26. The method according to claim 18, wherein, The components of the input text are presented in the output across multiple lines, wherein the horizontal displacement of the components remains consistent across the multiple lines.
Citation Information
Patent Citations
Joint many-task neural network model for multiple natural language processing (NLP) tasks
CN110192203A
Using communicative discourse trees to detect a request for an explanation
CN111670435A
