1 2/* 3Tipue Search 7.1 4Copyright (c) 2019 Tipue 5Tipue Search is released under the MIT License 6http://www.tipue.com/search 7*/ 8 9 10/* 11Stop words 12Stop words list from http://www.ranks.nl/stopwords 13*/ 14 15var tipuesearch_stop_words = ["под", "a", "above", "after", "again", "against", "all", "am", "an", "and", "any", "are", "aren't", "as", "at", "be", "because", "been", "before", "being", "below", "between", "both", "but", "by", "can't", "cannot", "could", "couldn't", "did", "didn't", "do", "does", "doesn't", "doing", "don't", "down", "during", "each", "few", "for", "from", "further", "had", "hadn't", "has", "hasn't", "have", "haven't", "having", "he", "he'd", "he'll", "he's", "her", "here", "here's", "hers", "herself", "him", "himself", "his", "how", "how's", "i", "i'd", "i'll", "i'm", "i've", "if", "in", "into", "is", "isn't", "it", "it's", "its", "itself", "let's", "me", "more", "most", "mustn't", "my", "myself", "no", "nor", "not", "of", "off", "on", "once", "only", "or", "other", "ought", "our", "ours", "ourselves", "out", "over", "own", "same", "shan't", "she", "she'd", "she'll", "she's", "should", "shouldn't", "so", "some", "such", "than", "that", "that's", "the", "their", "theirs", "them", "themselves", "then", "there", "there's", "these", "they", "they'd", "they'll", "they're", "they've", "this", "those", "through", "to", "too", "under", "until", "up", "very", "was", "wasn't", "we", "we'd", "we'll", "we're", "we've", "were", "weren't", "what", "what's", "when", "when's", "where", "where's", "which", "while", "who", "who's", "whom", "why", "why's", "with", "won't", "would", "wouldn't", "you", "you'd", "you'll", "you're", "you've", "your", "yours", "yourself", "yourselves"]; 16 17 18// Word replace 19 20var tipuesearch_replace = {'words': [ 21 {'word': 'tip', 'replace_with': 'tipue'}, 22 {'word': 'javscript', 'replace_with': 'javascript'}, 23 {'word': 'jqeury', 'replace_with': 'jquery'} 24]}; 25 26 27// Weighting 28 29var tipuesearch_weight = {'weight': [ 30 {'url': 'http://www.tipue.com', 'score': 60}, 31 {'url': 'http://www.tipue.com/search', 'score': 60}, 32 {'url': 'http://www.tipue.com/tipr', 'score': 30}, 33 {'url': 'http://www.tipue.com/support', 'score': 20} 34]}; 35 36 37// Illogical stemming 38 39var tipuesearch_stem = {'words': [ 40 {'word': 'e-mail', 'stem': 'email'}, 41 {'word': 'javascript', 'stem': 'jquery'}, 42 {'word': 'javascript', 'stem': 'js'} 43]}; 44 45 46// Related 47 48var tipuesearch_related = {'Related': [ 49 {'search': 'tipue', 'related': 'Search', 'include': 1}, 50 {'search': 'tipue', 'related': 'jQuery'}, 51 {'search': 'tipue', 'related': 'Blog'}, 52 {'search': 'tipue', 'related': 'Support'}, 53 {'search': 'tipue search', 'related': 'Demo', 'include': 1}, 54 {'search': 'tipue search', 'related': 'Support'} 55]}; 56 57 58// Internal strings 59 60var tipuesearch_string_1 = 'No title'; 61var tipuesearch_string_2 = 'Showing results for'; 62var tipuesearch_string_3 = 'Search instead for'; 63var tipuesearch_string_4 = '1 знайдено'; 64var tipuesearch_string_5 = 'знайдено'; 65var tipuesearch_string_6 = '<'; 66var tipuesearch_string_7 = '>'; 67var tipuesearch_string_8 = 'ÐÑÑого не знайдено.'; 68var tipuesearch_string_9 = 'Common words are largely ignored.'; 69var tipuesearch_string_10 = 'Related'; 70var tipuesearch_string_11 = 'ШÑкаÑи ÑÑеба Ð¾Ð´Ð½Ñ Ð±Ñква або бÑлÑÑе.'; 71var tipuesearch_string_12 = 'ÐÑнÑмалÑна кÑлÑкÑÑÑÑ Ð±Ñкв:'; 72var tipuesearch_string_13 = ''; 73var tipuesearch_string_14 = 'ÑекÑнд'; 74var tipuesearch_string_15 = 'ÐÑдкÑиÑи ÐобÑаженнÑ'; 75var tipuesearch_string_16 = 'ÐеÑейÑи на ÑÑоÑÑнкÑ'; 76 77 78// Internals 79 80 81// Timer for showTime 82 83var startTimer = new Date().getTime();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.