vis.js is a dynamic, browser-based visualization library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
3.3 KiB

  1. /*
  2. Tipue Search 5.0
  3. Copyright (c) 2015 Tipue
  4. Tipue Search is released under the MIT License
  5. http://www.tipue.com/search
  6. */
  7. var tipuesearch_pages = [
  8. "../network/layout.html",
  9. "../network/configure.html",
  10. "../network/edges.html",
  11. "../network/groups.html",
  12. "../network/index.html",
  13. "../network/interaction.html",
  14. "../network/manipulation.html",
  15. "../network/nodes.html",
  16. "../network/physics.html",
  17. "../data/dataset.html",
  18. "../data/dataview.html",
  19. "../data/index.html",
  20. "../timeline/index.html",
  21. "../graph2d/index.html",
  22. "../graph3d/index.html"
  23. ];
  24. /*
  25. Stop words
  26. Stop words list from http://www.ranks.nl/stopwords
  27. */
  28. var tipuesearch_stop_words = ["a", "about", "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"];
  29. // Word replace
  30. var tipuesearch_replace = {'words': [
  31. {'word': 'tipua', 'replace_with': 'tipue'},
  32. {'word': 'javscript', 'replace_with': 'javascript'},
  33. {'word': 'jqeury', 'replace_with': 'jquery'}
  34. ]};
  35. // Weighting
  36. var tipuesearch_weight = {'weight': [
  37. {'url': 'http://www.tipue.com', 'score': 200},
  38. {'url': 'http://www.tipue.com/search', 'score': 100},
  39. {'url': 'http://www.tipue.com/about', 'score': 100}
  40. ]};
  41. // Stemming
  42. var tipuesearch_stem = {'words': [
  43. {'word': 'e-mail', 'stem': 'email'},
  44. {'word': 'javascript', 'stem': 'jquery'},
  45. {'word': 'javascript', 'stem': 'js'}
  46. ]};
  47. // Internal strings
  48. var tipuesearch_string_1 = 'No title';
  49. var tipuesearch_string_2 = 'Showing results for';
  50. var tipuesearch_string_3 = 'Search instead for';
  51. var tipuesearch_string_4 = '1 result';
  52. var tipuesearch_string_5 = 'results';
  53. var tipuesearch_string_6 = 'Prev';
  54. var tipuesearch_string_7 = 'Next';
  55. var tipuesearch_string_8 = 'Nothing found';
  56. var tipuesearch_string_9 = 'Common words are largely ignored';
  57. var tipuesearch_string_10 = 'Search too short';
  58. var tipuesearch_string_11 = 'Should be one character or more';
  59. var tipuesearch_string_12 = 'Should be';
  60. var tipuesearch_string_13 = 'characters or more';