%PDF- %PDF-
Direktori : /usr/lib/python3/dist-packages/orca/__pycache__/ |
Current File : //usr/lib/python3/dist-packages/orca/__pycache__/pronunciation_dict.cpython-312.pyc |
� g fD � �0 � d Z dZdZdZdZdZd d�Zd d�Zi Zy) zRExposes a dictionary, pronunciation_dict, that maps words to what they sound like.z$Id$z $Revision$z$Date$z-Copyright (c) 2006-2008 Sun Microsystems Inc.�LGPLNc �h � | j � }|xs t }|j || | g� }|d S )aQ Given a word, return a string that represents what this word sounds like. Note: This code does not handle the pronunciation of character names. That should be handled at the speech provider or synthesizer level. For instance the symbols.dic files installed in /usr/share/speech-dispatcher. Arguments: - word: the word to get the "sounds like" representation for. - pronunciations: an optional dictionary used to get the pronunciation from. Returns a string that represents what this word sounds like, or the word if there is no representation. � )�lower�pronunciation_dict�get)�word�pronunciations� lowerWord� dictionary�entrys �9/usr/lib/python3/dist-packages/orca/pronunciation_dict.py�getPronunciationr s7 � � � � ��I��5�#5�J��N�N�9�t�T�l�3�E���8�O� c �N � | j � }|�| |g||<