Advertisement
alvations

NLTK similar func

Nov 19th, 2015
511
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.63 KB | None | 0 0
  1. alvas@ubi:~$ python -c "from nltk.book import *; text1.similar('monstrous')"
  2. *** Introductory Examples for the NLTK Book ***
  3. Loading text1, ..., text9 and sent1, ..., sent9
  4. Type the name of the text or sentence to view it.
  5. Type: 'texts()' or 'sents()' to list the materials.
  6. text1: Moby Dick by Herman Melville 1851
  7. text2: Sense and Sensibility by Jane Austen 1811
  8. text3: The Book of Genesis
  9. text4: Inaugural Address Corpus
  10. text5: Chat Corpus
  11. text6: Monty Python and the Holy Grail
  12. text7: Wall Street Journal
  13. text8: Personals Corpus
  14. text9: The Man Who Was Thursday by G . K . Chesterton 1908
  15. imperial subtly impalpable pitiable curious abundant perilous
  16. trustworthy untoward singular lamentable few determined maddens
  17. horrible tyrannical lazy mystifying christian exasperate
  18.  
  19. alvas@ubi:~$ python -c "from nltk.book import *; text1.similar('monstrous')"
  20. *** Introductory Examples for the NLTK Book ***
  21. Loading text1, ..., text9 and sent1, ..., sent9
  22. Type the name of the text or sentence to view it.
  23. Type: 'texts()' or 'sents()' to list the materials.
  24. text1: Moby Dick by Herman Melville 1851
  25. text2: Sense and Sensibility by Jane Austen 1811
  26. text3: The Book of Genesis
  27. text4: Inaugural Address Corpus
  28. text5: Chat Corpus
  29. text6: Monty Python and the Holy Grail
  30. text7: Wall Street Journal
  31. text8: Personals Corpus
  32. text9: The Man Who Was Thursday by G . K . Chesterton 1908
  33. imperial subtly impalpable pitiable curious abundant perilous
  34. trustworthy untoward singular lamentable few determined maddens
  35. horrible tyrannical lazy mystifying christian exasperate
  36.  
  37. alvas@ubi:~$ python -c "from nltk.book import *; text1.similar('monstrous')"
  38. *** Introductory Examples for the NLTK Book ***
  39. Loading text1, ..., text9 and sent1, ..., sent9
  40. Type the name of the text or sentence to view it.
  41. Type: 'texts()' or 'sents()' to list the materials.
  42. text1: Moby Dick by Herman Melville 1851
  43. text2: Sense and Sensibility by Jane Austen 1811
  44. text3: The Book of Genesis
  45. text4: Inaugural Address Corpus
  46. text5: Chat Corpus
  47. text6: Monty Python and the Holy Grail
  48. text7: Wall Street Journal
  49. text8: Personals Corpus
  50. text9: The Man Who Was Thursday by G . K . Chesterton 1908
  51. imperial subtly impalpable pitiable curious abundant perilous
  52. trustworthy untoward singular lamentable few determined maddens
  53. horrible tyrannical lazy mystifying christian exasperate
  54.  
  55.  
  56. alvas@ubi:~$ python3 -c "from nltk.book import *; text1.similar('monstrous')"
  57. *** Introductory Examples for the NLTK Book ***
  58. Loading text1, ..., text9 and sent1, ..., sent9
  59. Type the name of the text or sentence to view it.
  60. Type: 'texts()' or 'sents()' to list the materials.
  61. text1: Moby Dick by Herman Melville 1851
  62. text2: Sense and Sensibility by Jane Austen 1811
  63. text3: The Book of Genesis
  64. text4: Inaugural Address Corpus
  65. text5: Chat Corpus
  66. text6: Monty Python and the Holy Grail
  67. text7: Wall Street Journal
  68. text8: Personals Corpus
  69. text9: The Man Who Was Thursday by G . K . Chesterton 1908
  70. few curious delightfully mouldy mystifying tyrannical lamentable
  71. horrible vexatious puzzled reliable christian subtly perilous
  72. domineering modifies careful true passing lazy
  73.  
  74. alvas@ubi:~$ python3 -c "from nltk.book import *; text1.similar('monstrous')"
  75. *** Introductory Examples for the NLTK Book ***
  76. Loading text1, ..., text9 and sent1, ..., sent9
  77. Type the name of the text or sentence to view it.
  78. Type: 'texts()' or 'sents()' to list the materials.
  79. text1: Moby Dick by Herman Melville 1851
  80. text2: Sense and Sensibility by Jane Austen 1811
  81. text3: The Book of Genesis
  82. text4: Inaugural Address Corpus
  83. text5: Chat Corpus
  84. text6: Monty Python and the Holy Grail
  85. text7: Wall Street Journal
  86. text8: Personals Corpus
  87. text9: The Man Who Was Thursday by G . K . Chesterton 1908
  88. singular abundant modifies uncommon puzzled delightfully mean pitiable
  89. passing vexatious few tyrannical reliable christian gamesome
  90. contemptible lazy candid horrible fearless
  91.  
  92. alvas@ubi:~$ python3 -c "from nltk.book import *; text1.similar('monstrous')"
  93. *** Introductory Examples for the NLTK Book ***
  94. Loading text1, ..., text9 and sent1, ..., sent9
  95. Type the name of the text or sentence to view it.
  96. Type: 'texts()' or 'sents()' to list the materials.
  97. text1: Moby Dick by Herman Melville 1851
  98. text2: Sense and Sensibility by Jane Austen 1811
  99. text3: The Book of Genesis
  100. text4: Inaugural Address Corpus
  101. text5: Chat Corpus
  102. text6: Monty Python and the Holy Grail
  103. text7: Wall Street Journal
  104. text8: Personals Corpus
  105. text9: The Man Who Was Thursday by G . K . Chesterton 1908
  106. wise singular fearless contemptible domineering passing abundant lazy
  107. mean horrible doleful mystifying perilous untoward maddens puzzled
  108. exasperate careful loving pitiable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement