pycharm 自动更正_如何在Android的自动更正词典中添加单词或短语

pycharm 自动更正

pycharm 自动更正

00_lead_image_add_to_dictionary

If you type a lot of complex names, acronyms, or made-up words on your Android device, you know how utterly annoying it is for Android to “correct” them to something else. Next time, add your custom words and phrases to the dictionary so they don’t get changed.

如果您在Android设备上键入很多复杂的名称,首字母缩写词或虚构词,您就会知道Android将它们“更正”为其他内容是多么令人讨厌。 下次,将自定义单词和短语添加到词典中,以使它们不会被更改。

从键盘添加单词 (Add a Word from the Keyboard)

The easiest way to add a word to your dictionary is right from the keyboard. Say you’re writing an email in the Gmail app. You type a word that isn’t in the dictionary and, after typing a space, it will get underlined in red, as shown below.

在字典中添加单词的最简单方法是直接从键盘上输入。 假设您正在Gmail应用程序中编写电子邮件。 您输入词典中没有的单词,在输入空格后,该单词将以红色下划线显示,如下所示。

00a_underlined_word_in_gmail

Double-tap on the word you want to add to the dictionary. A toolbar displays with several options. Tap “Replace”.

双击要添加到词典中的单词。 工具栏显示了几个选项。 点击“替换”。

00b_tapping_replace

On the popup menu that displays, tap “Add to dictionary”.

在显示的弹出菜单上,点击“添加到字典”。

00c_tapping_add_to_dictionary

The “Add to dictionary” dialog box will appear. You can make changes to the word if desired. Tap “OK” when you’re done.

出现“添加到字典”对话框。 如果需要,您可以更改单词。 完成后,点击“确定”。

00d_add_to_dictionary_dialog

NOTE: Adding a word to the dictionary directly from the keyboard doesn’t work in every app. It depends on the text box’s properties (for example, it didn’t work in Google Docs or Microsoft Word in our tests). No worries, though. There is another method.

注意:并非在每个应用程序中都直接从键盘将单词添加到词典中。 它取决于文本框的属性(例如,在我们的测试中,它不适用于Google Docs或Microsoft Word)。 不用担心。 还有另一种方法。

通过Android的设置添加单词 (Add a Word from Android’s Settings)

If you’re in an app where the above method of adding a word to the dictionary doesn’t work, or you just want to add a bunch of words at once, you can use the “Settings” app to add it manually.

如果您使用的上述字典中添加单词的方法不起作用,或者只想一次添加一堆单词,则可以使用“设置”应用手动添加它。

Swipe down from the top of the screen to access the notification center.

从屏幕顶部向下滑动以访问通知中心。

01_swipe_down_from_top_of_screen

Then, swipe down again on the notification center to access the “Quick Settings” screen. Tap the “Settings” icon in the upper-right corner.

然后,在通知中心再次向下滑动以访问“快速设置”屏幕。 点击右上角的“设置”图标。

02_tapping_settings_button

Tap “Language & input” in the “Personal” section of the “Settings” screen.

在“设置”屏幕的“个人”部分中点击“语言和输入”。

03_tapping_language_and_input

Note the language listed under “Language & input” screen. In our case, it’s “English (United States)”. Tap “Personal dictionary”.

请注意“语言和输入”屏幕下列出的语言。 在我们的案例中,它是“英语(美国)”。 点击“个人词典”。

04_tapping_personal_dictionary

On the “Personal dictionary” screen, tap the language you noted on the “Language & input” screen.

在“个人词典”屏幕上,点击您在“语言和输入法”屏幕上记下的语言。

05_tapping_english_us

If you haven’t added any words to the “Personal dictionary” yet, the following message displays.

如果尚未将任何单词添加到“个人词典”,则会显示以下消息。

06_no_words_in_dict

However, in our case we already have one word in our dictionary. To add another custom term or phrase to the “Personal dictionary”, tap “+ Add” in the upper-right corner.

但是,在我们的情况下,我们的词典中已经有一个单词。 要将另一个自定义术语或短语添加到“个人词典”,请点击右上角的“ +添加”。

07_tapping_add

Tap on the first line where it says “Type a word” and type the word or phrase you want to add to the dictionary.

点击第一行上的“输入单词”,然后输入要添加到词典中的单词或短语。

08_typing_word

If all you want is an uncommon or made-up word in your dictionary (e.g., “hangry”), click the back button and you’re finished. That word will no longer get auto-corrected when you type.

如果您想要的只是字典中的不常见或虚构的单词(例如“ hangry”),请单击“后退”按钮,您就完成了。 键入时,该词将不再自动更正。

If you want to delete a word or phrase from the “Personal dictionary”, tap on the word or phrase in this list and tap “Delete” in the upper-right corner of the screen, as pictured above. Even if you delete a word or phrase from the “Personal dictionary”, Google has still learned the word and will suggest it in the autocorrect bar at the top of the Google Keyboard when you start typing it. There doesn’t seem to be any way of preventing words from being suggested once Google learns them.

如果要从“个人词典”中删除单词或短语,请点击此列表中的单词或短语,然后点击屏幕右上角的“删除”,如上图所示。 即使您从“个人词典”中删除了某个单词或词组,Google仍然会学习该单词,并在您开始输入时会在Google键盘顶部的自动更正栏中提出建议。 一旦Google学习到单词,似乎没有任何方法可以防止建议单词。

额外提示:添加快捷方式以加快打字速度 (Bonus Tip: Add Shortcuts for Quicker Typing)

The personal dictionary has another handy use: the optional “shortcut” allows you to type a shorter word each time you want to type the longer word or phrase. For example, let’s create a shortcut for typing “How-To Geek”. Tap on the “Optional shortcut” line.

个人词典还有另一种方便的用法:可选的“快捷方式”使您每次想键入较长的单词或短语时都可以键入较短的单词。 例如,让我们为输入“ How-To Geek”创建一个快捷方式。 点击“可选快捷方式”行。

09_tapping_shortcut

Type in your shortcut. For example, we want to be able to type “htg” each time we want to enter “How-To Geek”, so we entered “htg” as the shortcut. Tap the back arrow to accept your changes and return to the previous screen.

输入您的快捷方式。 例如,我们希望每次想要输入“ How-To Geek”时都键入“ htg”,因此我们输入“ htg”作为快捷方式。 点击后退箭头以接受您的更改并返回上一屏幕。

11_tapping_back_arrow

The custom word or phrase is added to the list and the shortcut you specified is listed under the word or phrase.

自定义单词或短语将添加到列表中,并且您指定的快捷方式将列在单词或短语下。

12_word_added

Now, we can type “htg” in any app that accepts text…

现在,我们可以在任何接受文本的应用程序中键入“ htg”…

13_typing_shortcut_in_app

…and the autocorrect bar suggests “How-To Geek”, the custom phrase we added to the Personal Dictionary. Tap on the suggested word or phrase.

…并且自动更正栏显示“ How-To Geek”,这是我们添加到“个人词典”中的自定义短语。 点击建议的单词或短语。

14_tapping_htg_autocorrect

The custom word or phrase is inserted into your document, replacing the shortcut.

自定义单词或短语将插入到您的文档中,以代替快捷方式。

15_htg_inserted


If you use a third-party keyboard, like Swype or SwiftKey, it may have a different method for adding and removing words from the dictionary. For example, SwiftKey has no dictionary in the settings–you can only add words by long-pressing them in the text box. You can also remove words from SwiftKey by long-pressing them on the autocorrect bar. So your mileage may vary depending on what keyboard you use. But hopefully this will stop some of those autocorrect mishaps!

如果您使用第三方键盘(如SwypeSwiftKey) ,则可能有不同的方法来添加和删除字典中的单词。 例如,SwiftKey的设置中没有字典-您只能通过在文本框中长按单词来添加单词。 您还可以通过在自动更正栏上长按从SwiftKey中删除单词。 因此,您的里程可能会因使用的键盘而异。 但是希望这将阻止一些自动更正的事故!

翻译自: https://www.howtogeek.com/238852/how-to-add-a-word-or-phrase-to-the-dictionary-on-your-android-device/

pycharm 自动更正

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值