github.com/weaviate/weaviate@v1.24.6/adapters/repos/db/inverted/stopwords/presets.go (about)

     1  //                           _       _
     2  // __      _____  __ ___   ___  __ _| |_ ___
     3  // \ \ /\ / / _ \/ _` \ \ / / |/ _` | __/ _ \
     4  //  \ V  V /  __/ (_| |\ V /| | (_| | ||  __/
     5  //   \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
     6  //
     7  //  Copyright © 2016 - 2024 Weaviate B.V. All rights reserved.
     8  //
     9  //  CONTACT: hello@weaviate.io
    10  //
    11  
    12  package stopwords
    13  
    14  const (
    15  	EnglishPreset = "en"
    16  	NoPreset      = "none"
    17  )
    18  
    19  var Presets = map[string][]string{
    20  	EnglishPreset: {
    21  		"a", "an", "and", "are", "as", "at", "be", "but", "by", "for",
    22  		"if", "in", "into", "is", "it", "no", "not", "of", "on", "or", "such", "that",
    23  		"the", "their", "then", "there", "these", "they", "this", "to", "was", "will",
    24  		"with",
    25  	},
    26  	NoPreset: {},
    27  }