暫無描述

PartOfSpeech.php 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <?php
  2. /*
  3. * Copyright 2014 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. class Google_Service_CloudNaturalLanguage_PartOfSpeech extends Google_Model
  18. {
  19. public $aspect;
  20. public $case;
  21. public $form;
  22. public $gender;
  23. public $mood;
  24. public $number;
  25. public $person;
  26. public $proper;
  27. public $reciprocity;
  28. public $tag;
  29. public $tense;
  30. public $voice;
  31. public function setAspect($aspect)
  32. {
  33. $this->aspect = $aspect;
  34. }
  35. public function getAspect()
  36. {
  37. return $this->aspect;
  38. }
  39. public function setCase($case)
  40. {
  41. $this->case = $case;
  42. }
  43. public function getCase()
  44. {
  45. return $this->case;
  46. }
  47. public function setForm($form)
  48. {
  49. $this->form = $form;
  50. }
  51. public function getForm()
  52. {
  53. return $this->form;
  54. }
  55. public function setGender($gender)
  56. {
  57. $this->gender = $gender;
  58. }
  59. public function getGender()
  60. {
  61. return $this->gender;
  62. }
  63. public function setMood($mood)
  64. {
  65. $this->mood = $mood;
  66. }
  67. public function getMood()
  68. {
  69. return $this->mood;
  70. }
  71. public function setNumber($number)
  72. {
  73. $this->number = $number;
  74. }
  75. public function getNumber()
  76. {
  77. return $this->number;
  78. }
  79. public function setPerson($person)
  80. {
  81. $this->person = $person;
  82. }
  83. public function getPerson()
  84. {
  85. return $this->person;
  86. }
  87. public function setProper($proper)
  88. {
  89. $this->proper = $proper;
  90. }
  91. public function getProper()
  92. {
  93. return $this->proper;
  94. }
  95. public function setReciprocity($reciprocity)
  96. {
  97. $this->reciprocity = $reciprocity;
  98. }
  99. public function getReciprocity()
  100. {
  101. return $this->reciprocity;
  102. }
  103. public function setTag($tag)
  104. {
  105. $this->tag = $tag;
  106. }
  107. public function getTag()
  108. {
  109. return $this->tag;
  110. }
  111. public function setTense($tense)
  112. {
  113. $this->tense = $tense;
  114. }
  115. public function getTense()
  116. {
  117. return $this->tense;
  118. }
  119. public function setVoice($voice)
  120. {
  121. $this->voice = $voice;
  122. }
  123. public function getVoice()
  124. {
  125. return $this->voice;
  126. }
  127. }