Abstract:
Systems and processes are disclosed for predicting words using a categorical stem and suffix word n-gram language model. A word prediction includes determining a stem probability using a stem language model. The word prediction also includes determining a suffix probability using suffix language model decoupled from the stem model, in view of one or more stem categories. The word prediction also includes determine a probability of the stem belonging to the stem category. A joint probability is determined based on the foregoing, and one or more word predictions having sufficient likelihood. In this way, the categorical stem and suffix language model constraints predicted suffixes to those that would be grammatically valid with predicted stems, thereby producing word predictions with grammatically valid stem and suffix combinations.
Abstract:
In response to a word of a text sequence, a first part-of-speech (POS) tag is generated using a statistical part-of-speech (POS) tagger based on a corpus of trained text sequences, each representing a likely POS of a word for a given text sequence. A second POS tag is generated using a rule-based POS tagger based on a set of one or more rules associated with a type of an application associated with the text sequence. A final POS tag is assigned to the word of the text sequence for TTS synthesis based on the first POS tag and the second POS tag.
Abstract:
Systems and processes for multi-modal input interpretation are provided. For example, an input associated with a touch is received from a user. A first reconstruction based on the input is determined. A first simulated input is obtained based on a modification of the input. A second reconstruction is determined based on the first reconstruction and the first simulated input. Based on at least the first reconstruction and the second reconstruction, a probability representation is obtained. An output is determined, by a language model, based on the probability representation. The output is then provided to the user.
Abstract:
Systems and processes for word prediction using multiple contexts are provided. For example, a plurality of words are received. A first word context including a first plurality of received words, and a second word context corresponding to the first plurality of received words and a second plurality of received words, are obtained. A first current word probability is determined based on a first language model using the first word context. A second current word probability is determined based on a second language model using the second word context. A third current word probability is determined based on the second language model using the first word context. A fourth current word probability is determined based on the first current word probability, the second current word probability, and the third current word probability. An output is provided, to a user, including a current word prediction based on the fourth current word probability.
Abstract:
Methods, systems, and computer-readable media related to a technique for providing handwriting input functionality on a user device. A handwriting recognition module is trained to have a repertoire comprising multiple non-overlapping scripts and capable of recognizing tens of thousands of characters using a single handwriting recognition model. The handwriting input module provides real-time, stroke-order and stroke-direction independent handwriting recognition for multi-character handwriting input. In particular, real-time, stroke-order and stroke-direction independent handwriting recognition is provided for multi-character, or sentence level Chinese handwriting recognition. User interfaces for providing the handwriting input functionality are also disclosed.
Abstract:
Systems and methods for proactively identifying and surfacing relevant content on an electronic device with a touch-sensitive display are disclosed herein. In one aspect, a method includes presenting content in a first application. At least a portion of the content is presented without requiring input from a user. The method further includes receiving a request to open a second application. In response to receiving the request, the second application is presented with an input-receiving field. Before receiving any user input at the input-receiving field, a selectable user interface object is displayed with an indication that the portion of the content was viewed in the first application, allowing the user to paste at least the portion of the content into the input-receiving field. In response to detecting a selection of the selectable user interface object, the portion of the content is pasted into the input-receiving field.
Abstract:
An example process for recognizing handwritten input includes obtaining input data representing handwritten input, where the handwritten input is associated with a first dimension and a second dimension relative to the handwritten input; sampling the input data to obtain a plurality of coordinates representing the handwritten input; determining, based on the plurality of coordinates, a sequence of vectors representing a respective plurality of portions of the handwritten input, where: each portion of the respective plurality of portions is associated with a respective height and width corresponding respectively to the first and second dimensions, the respective height being greater than the respective width; and consecutive vectors of the sequence of vectors represent respective consecutive portions of the handwritten input; generating, using a handwriting recognition model, based on the sequence of vectors, one or more characters for the handwritten input; and causing the one or more characters to be displayed.
Abstract:
Systems and methods for proactively identifying and surfacing relevant content are disclosed herein. An example method includes: detecting, via the touch-sensitive display, a search activation gesture from a user of the electronic device. The method also includes: in response to detecting only the search activation gesture, displaying a search interface on substantially all of the touch-sensitive display, the search interface including: (i) a search entry portion; and (ii) a predictions portion with one or more user interface objects each associated with a respective locally-installed application. Each respective locally-installed application is selected from among a plurality of locally-installed applications for inclusion in the predictions portion based on an application usage history associated with the user of the electronic device.
Abstract:
Methods, systems, and computer-readable media related to a technique for providing handwriting input functionality on a user device. A handwriting recognition module is trained to have a repertoire comprising multiple non-overlapping scripts and capable of recognizing tens of thousands of characters using a single handwriting recognition model. The handwriting input module provides real-time, stroke-order and stroke-direction independent handwriting recognition for multi-character handwriting input. In particular, real-time, stroke-order and stroke-direction independent handwriting recognition is provided for multi-character, or sentence level Chinese handwriting recognition. User interfaces for providing the handwriting input functionality are also disclosed.
Abstract:
Systems and processes for operating a digital assistant are provided. In accordance with one or more examples, a method includes, at a user device with one or more processors and memory, receiving unstructured natural language information from at least one user. The method also includes, in response to receiving the unstructured natural language information, determining whether event information is present in the unstructured natural language information. The method further includes, in accordance with a determination that event information is present within the unstructured natural language information, determining whether an agreement on an event is present in the unstructured natural language information. The method further includes, in accordance with a determination that an agreement on an event is present, determining an event type of the event and providing an event description based on the event type.