am_dot_com

IA 2022-11-14

Nov 14th, 2022 (edited)
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. # 1.py
  2. # matplotlib
  3. import matplotlib.pyplot as plt
  4.  
  5. plt.plot([10, 20, 30, 40, 50])
  6. plt.show()
  7.  
  8.  
  9. plt.plot(
  10. ["A", "B", "C", "D"], # x
  11. [5, 6, 10, 9] # y
  12. )
  13. plt.xlabel("Pessoa que fez a caminhada")
  14. plt.ylabel("KMs percorridos")
  15. plt.show()
  16.  
  17. *****************************
  18. # 2.py
  19. # matplotlib
  20. import matplotlib.pyplot as plt
  21.  
  22. import numpy as np
  23. x = np.linspace(
  24. -5,
  25. 5,
  26. 100
  27. )
  28. y = x**2
  29. plt.plot(
  30. x,
  31. y
  32. )
  33. plt.show()
  34.  
  35. *******
  36.  
  37. http://s15/search/2021-11/2021-11-01_18-54-26%20nltk%20what%20do%20dt%20rb%20jj%20nns%20wrb%20prp%20vbd%20etc%20mean_.html
  38.  
  39. https://stackoverflow.com/questions/29332851/what-does-nn-vbd-in-dt-nns-rb-means-in-nltk
  40.  
  41. CC: Coordinating conjunction
  42. CD: Cardinal number
  43. DT: Determiner
  44. EX: Existential there
  45. FW: Foreign word
  46. IN: Preposition or subordinating conjunction
  47. JJ: Adjective
  48. VP: Verb Phrase
  49. JJR: Adjective, comparative
  50. JJS: Adjective, superlative
  51. LS: List item marker
  52. MD: Modal
  53. NN: Noun, singular or mass
  54. NNS: Noun, plural
  55. PP: Preposition Phrase
  56. NNP: Proper noun, singular Phrase
  57. NNPS: Proper noun, plural
  58. PDT: Pre determiner
  59. POS: Possessive ending
  60. PRP: Personal pronoun Phrase
  61. PRP: Possessive pronoun Phrase
  62. RB: Adverb
  63. RBR: Adverb, comparative
  64. RBS: Adverb, superlative
  65. RP: Particle
  66. S: Simple declarative clause
  67. SBAR: Clause introduced by a (possibly empty) subordinating conjunction
  68. SBARQ: Direct question introduced by a wh-word or a wh-phrase.
  69. SINV: Inverted declarative sentence, i.e. one in which the subject follows the tensed verb or modal.
  70. SQ: Inverted yes/no question, or main clause of a wh-question, following the wh-phrase in SBARQ.
  71. SYM: Symbol
  72. VBD: Verb, past tense
  73. VBG: Verb, gerund or present participle
  74. VBN: Verb, past participle
  75. VBP: Verb, non-3rd person singular present
  76. VBZ: Verb, 3rd person singular present
  77. WDT: Wh-determiner
  78. WP: Wh-pronoun
  79. WP: Possessive wh-pronoun
  80. WRB: Wh-adverb
  81.  
Advertisement
Add Comment
Please, Sign In to add comment