en.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "question_prefixes": [
  3. "who (?:was|is|are|were)\\s+",
  4. "what (?:is|are|was|were|does .+ mean)\\s+",
  5. "when (?:was|did|is|has)\\s+",
  6. "where (?:is|was|are)\\s+",
  7. "how (?:old is|tall is|big is)\\s+",
  8. "(?:do you know) (?:who|what|about)\\s+",
  9. "(?:tell me) (?:something |)?(?:about|of)\\s+",
  10. "(?:explain) (?:to me )?\\s*(?:what )?\\s*",
  11. "(?:describe)\\s+",
  12. "(?:information|info) (?:about|on)\\s+",
  13. "(?:definition|meaning) (?:of)\\s+",
  14. "(?:search|look up) (?:for )?\\s*(?:information )?(?:about|on)?\\s*",
  15. "wikipedia\\s+"
  16. ],
  17. "question_suffixes": [
  18. "\\s*\\?+$",
  19. "\\s+(?:please|exactly)$",
  20. "\\s+(?:born|died|invented|discovered|founded)$",
  21. "\\s+is$",
  22. "\\s+was$"
  23. ],
  24. "strip_articles": "^(?:the|a|an)\\s+",
  25. "months": [
  26. "January", "February", "March", "April", "May", "June",
  27. "July", "August", "September", "October", "November", "December"
  28. ],
  29. "birth_keywords": ["born", "birth"],
  30. "death_keywords": ["died", "death", "passed away"],
  31. "age_keywords": ["how old"],
  32. "answer_templates": {
  33. "born": "{name} was born on {date}.",
  34. "died": "{name} died on {date}.",
  35. "description": "{name}: {description}.",
  36. "not_found": "I couldn't find anything about '{topic}'."
  37. },
  38. "etymology_patterns": [
  39. "\\(from (?:Greek|Latin|Old English)\\s.*?\\)"
  40. ]
  41. }