Why do search engines ignore symbols?
在编程中搜索符号是很常见的,特别是当您刚接触到一种语言时。例如,我有一个关于python中的
为什么搜索引擎似乎完全忽略了符号?他们和其他人一样都是人物。我明白为什么与单词相比,很难从符号中提取语义(例如:搜索引擎可以发现"find"、"finds"、"found"都是相关的,如果不是同一个单词的话)。但真的很难找到它们吗?
我也明白为什么在日常使用中你会希望忽略符号,但这有多难让它明确地寻找某些东西(例如:
看看这篇关于解释谷歌搜索查询的文章。
具体来说,第9节
1 Google ignores some punctuation and special characters, including ! ?, . ; [ ] @ / # < > .
Because punctuation is typically not
as important as the text around it,
Google ignores most punctuation in
your search terms. There are
exceptions, e.g., C++ and $99.
Mathematical symbols, such as /, <, and >, are not ignored by Google's
calculator.[ Dr. Ruth ] returns the same results
as [ Dr Ruth ]What if you're seeking information
that includes punctuation that Google
ignores, e.g., an email address? Just
enter the whole thing including the
punctuation.
1 * [ [email protected] ]Be aware that web pages sometimes
camouflage email addresses to make
collecting such information difficult
for spammers. For example, on some
sites you'll find the @ sign in an
email address replaced with the word
"at."Now we'll look at some special
characters that Google doesn't ignore.
号
最小化索引中的条目数。
但是搜索引擎不必忽略它们。例如,谷歌代码似乎没有。