Language identification using recurrent neural networks

  • US 10,474,753 B2
  • Filed: 09/27/2017
  • Issued: 11/12/2019
  • Est. Priority Date: 09/07/2016
  • Status: Active Grant
  • ×
    • Pin Icon | RPX Insight
    • Pin
First Claim
Patent Images

1. A non-transitory computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of an electronic device, cause the electronic device to:

  • receive a first typed character of a character sequence;

    provide the first typed character to a neural network;

    determine, using the neural network, a first character context of the first typed character based on the first typed character and a second typed character of the character sequence;

    determine, using the neural network, a first confidence level that the character sequence is associated with a language of a plurality of languages based on the first character context of the first typed character;

    determine whether the first confidence level exceeds a predetermined threshold;

    in accordance with a determination that the first confidence level exceeds the predetermined threshold, provide the language as a candidate language;

    in accordance with a determination that the first confidence level does not exceed the predetermined threshold, forgo providing the language as the candidate language;

    determine whether a third typed character has been provided to the electronic device;

    in accordance with a determination that a third typed character has been provided to the electronic device;

    provide the third typed character to the neural network;

    determine, using the neural network, a second character context of the first typed character based on the first typed character and the third typed character;

    determine, using the neural network, a second confidence level that the character sequence is associated with the language of the plurality of languages based on the second character context of the first typed character;

    determine whether the second confidence level exceeds the predetermined threshold; and

    in accordance with a determination that the second confidence level exceeds the predetermined threshold, provide the language as the candidate language.

View all claims