Select Language

AI社区

公开数据集

28种语言中的停止词,自然语言处理中的文本预处理

28种语言中的停止词,自然语言处理中的文本预处理

0.09M
518 浏览
0 喜欢
0 次下载
0 条讨论
NLP,Computer Science,Text Data,Languages Classification

Stopwords are the words in any language which does not add much meaning to a sentence. They can safely be ignored withou......

数据结构 ? 0.09M

    Data Structure ?

    * 以上分析是由系统提取分析形成的结果,具体实际数据为准。

    README.md

    Stopwords are the words in any language which does not add much meaning to a sentence. They can safely be ignored without sacrificing the meaning of the sentence. For some search engines, these are some of the most common, short function words, such as the, is, at, which, and on. In this case, stop words can cause problems when searching for phrases that include them, particularly in names such as “The Who” or “Take That”.

    When to remove stop words?

    If we have a task of text classification or sentiment analysis then we should remove stop words as they do not provide any information to our model, i.e keeping out unwanted words out of our corpus, but if we have the task of language translation then stopwords are useful, as they have to be translated along with other words.

    There is no hard and fast rule on when to remove stop words. But I would suggest removing stop words if our task to be performed is one of Language Classification, Spam Filtering, Caption Generation, Auto-Tag Generation, Sentiment analysis, or something that is related to text classification.
    On the other hand, if our task is one of Machine Translation, Question-Answering problems, Text Summarization, Language Modeling, it’s better not to remove the stop words as they are a crucial part of these applications.

    Pros and Cons:

    One of the first things that we ask ourselves is what are the pros and cons of any task we perform. Let’s look at some of the pros and cons of stop word removal in NLP.

    pros:

    • Stop words are often removed from the text before training deep learning and machine learning models since stop words occur in abundance, hence providing little to no unique information that can be used for classification or clustering.

    • On removing stopwords, dataset size decreases, and the time to train the model also decreases without a huge impact on the accuracy of the model.

    • Stopword removal can potentially help in improving performance, as there are fewer and only significant tokens left. Thus, the classification accuracy could be improved

    cons:

    Improper selection and removal of stop words can change the meaning of our text. So we have to be careful in choosing our stop words.
    Ex: “ This movie is not good.”
    If we remove (not) in pre-processing step the sentence (this movie is good) indicates that it is positive which is wrongly interpreted.

    Available languages

    • Arabic

    • Bulgarian

    • Catalan

    • Czech

    • Danish

    • Dutch

    • English

    • Finnish

    • French

    • German

    • Gujarati

    • Hindi

    • Hebrew

    • Hungarian

    • Indonesian

    • Malaysian

    • Italian

    • Norwegian

    • Polish

    • Portuguese

    • Romanian

    • Russian

    • Slovak

    • Spanish

    • Swedish

    • Turkish

    • Ukrainian

    • Vietnamese


    ×

    帕依提提提温馨提示

    该数据集正在整理中,为您准备了其他渠道,请您使用

    注:部分数据正在处理中,未能直接提供下载,还请大家理解和支持。
    暂无相关内容。
    暂无相关内容。
    • 分享你的想法
    去分享你的想法~~

    全部内容

      欢迎交流分享
      开始分享您的观点和意见,和大家一起交流分享.
    所需积分:15 去赚积分?
    • 518浏览
    • 0下载
    • 0点赞
    • 收藏
    • 分享