Class: Google::Cloud::Language::V1::PartOfSpeech

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/language/v1/language_service.rb

Overview

Represents part of speech information for a token. Parts of speech are as defined in http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf

Defined Under Namespace

Modules: Aspect, Case, Form, Gender, Mood, Number, Person, Proper, Reciprocity, Tag, Tense, Voice

Instance Attribute Summary collapse

Instance Attribute Details

#aspect::Google::Cloud::Language::V1::PartOfSpeech::Aspect

Returns The grammatical aspect.

Returns:



271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 271

class PartOfSpeech
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The part of speech tags enum.
  module Tag
    # Unknown
    UNKNOWN = 0

    # Adjective
    ADJ = 1

    # Adposition (preposition and postposition)
    ADP = 2

    # Adverb
    ADV = 3

    # Conjunction
    CONJ = 4

    # Determiner
    DET = 5

    # Noun (common and proper)
    NOUN = 6

    # Cardinal number
    NUM = 7

    # Pronoun
    PRON = 8

    # Particle or other function word
    PRT = 9

    # Punctuation
    PUNCT = 10

    # Verb (all tenses and modes)
    VERB = 11

    # Other: foreign words, typos, abbreviations
    X = 12

    # Affix
    AFFIX = 13
  end

  # The characteristic of a verb that expresses time flow during an event.
  module Aspect
    # Aspect is not applicable in the analyzed language or is not predicted.
    ASPECT_UNKNOWN = 0

    # Perfective
    PERFECTIVE = 1

    # Imperfective
    IMPERFECTIVE = 2

    # Progressive
    PROGRESSIVE = 3
  end

  # The grammatical function performed by a noun or pronoun in a phrase,
  # clause, or sentence. In some languages, other parts of speech, such as
  # adjective and determiner, take case inflection in agreement with the noun.
  module Case
    # Case is not applicable in the analyzed language or is not predicted.
    CASE_UNKNOWN = 0

    # Accusative
    ACCUSATIVE = 1

    # Adverbial
    ADVERBIAL = 2

    # Complementive
    COMPLEMENTIVE = 3

    # Dative
    DATIVE = 4

    # Genitive
    GENITIVE = 5

    # Instrumental
    INSTRUMENTAL = 6

    # Locative
    LOCATIVE = 7

    # Nominative
    NOMINATIVE = 8

    # Oblique
    OBLIQUE = 9

    # Partitive
    PARTITIVE = 10

    # Prepositional
    PREPOSITIONAL = 11

    # Reflexive
    REFLEXIVE_CASE = 12

    # Relative
    RELATIVE_CASE = 13

    # Vocative
    VOCATIVE = 14
  end

  # Depending on the language, Form can be categorizing different forms of
  # verbs, adjectives, adverbs, etc. For example, categorizing inflected
  # endings of verbs and adjectives or distinguishing between short and long
  # forms of adjectives and participles
  module Form
    # Form is not applicable in the analyzed language or is not predicted.
    FORM_UNKNOWN = 0

    # Adnomial
    ADNOMIAL = 1

    # Auxiliary
    AUXILIARY = 2

    # Complementizer
    COMPLEMENTIZER = 3

    # Final ending
    FINAL_ENDING = 4

    # Gerund
    GERUND = 5

    # Realis
    REALIS = 6

    # Irrealis
    IRREALIS = 7

    # Short form
    SHORT = 8

    # Long form
    LONG = 9

    # Order form
    ORDER = 10

    # Specific form
    SPECIFIC = 11
  end

  # Gender classes of nouns reflected in the behaviour of associated words.
  module Gender
    # Gender is not applicable in the analyzed language or is not predicted.
    GENDER_UNKNOWN = 0

    # Feminine
    FEMININE = 1

    # Masculine
    MASCULINE = 2

    # Neuter
    NEUTER = 3
  end

  # The grammatical feature of verbs, used for showing modality and attitude.
  module Mood
    # Mood is not applicable in the analyzed language or is not predicted.
    MOOD_UNKNOWN = 0

    # Conditional
    CONDITIONAL_MOOD = 1

    # Imperative
    IMPERATIVE = 2

    # Indicative
    INDICATIVE = 3

    # Interrogative
    INTERROGATIVE = 4

    # Jussive
    JUSSIVE = 5

    # Subjunctive
    SUBJUNCTIVE = 6
  end

  # Count distinctions.
  module Number
    # Number is not applicable in the analyzed language or is not predicted.
    NUMBER_UNKNOWN = 0

    # Singular
    SINGULAR = 1

    # Plural
    PLURAL = 2

    # Dual
    DUAL = 3
  end

  # The distinction between the speaker, second person, third person, etc.
  module Person
    # Person is not applicable in the analyzed language or is not predicted.
    PERSON_UNKNOWN = 0

    # First
    FIRST = 1

    # Second
    SECOND = 2

    # Third
    THIRD = 3

    # Reflexive
    REFLEXIVE_PERSON = 4
  end

  # This category shows if the token is part of a proper name.
  module Proper
    # Proper is not applicable in the analyzed language or is not predicted.
    PROPER_UNKNOWN = 0

    # Proper
    PROPER = 1

    # Not proper
    NOT_PROPER = 2
  end

  # Reciprocal features of a pronoun.
  module Reciprocity
    # Reciprocity is not applicable in the analyzed language or is not
    # predicted.
    RECIPROCITY_UNKNOWN = 0

    # Reciprocal
    RECIPROCAL = 1

    # Non-reciprocal
    NON_RECIPROCAL = 2
  end

  # Time reference.
  module Tense
    # Tense is not applicable in the analyzed language or is not predicted.
    TENSE_UNKNOWN = 0

    # Conditional
    CONDITIONAL_TENSE = 1

    # Future
    FUTURE = 2

    # Past
    PAST = 3

    # Present
    PRESENT = 4

    # Imperfect
    IMPERFECT = 5

    # Pluperfect
    PLUPERFECT = 6
  end

  # The relationship between the action that a verb expresses and the
  # participants identified by its arguments.
  module Voice
    # Voice is not applicable in the analyzed language or is not predicted.
    VOICE_UNKNOWN = 0

    # Active
    ACTIVE = 1

    # Causative
    CAUSATIVE = 2

    # Passive
    PASSIVE = 3
  end
end

#case::Google::Cloud::Language::V1::PartOfSpeech::Case

Returns The grammatical case.

Returns:



271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 271

class PartOfSpeech
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The part of speech tags enum.
  module Tag
    # Unknown
    UNKNOWN = 0

    # Adjective
    ADJ = 1

    # Adposition (preposition and postposition)
    ADP = 2

    # Adverb
    ADV = 3

    # Conjunction
    CONJ = 4

    # Determiner
    DET = 5

    # Noun (common and proper)
    NOUN = 6

    # Cardinal number
    NUM = 7

    # Pronoun
    PRON = 8

    # Particle or other function word
    PRT = 9

    # Punctuation
    PUNCT = 10

    # Verb (all tenses and modes)
    VERB = 11

    # Other: foreign words, typos, abbreviations
    X = 12

    # Affix
    AFFIX = 13
  end

  # The characteristic of a verb that expresses time flow during an event.
  module Aspect
    # Aspect is not applicable in the analyzed language or is not predicted.
    ASPECT_UNKNOWN = 0

    # Perfective
    PERFECTIVE = 1

    # Imperfective
    IMPERFECTIVE = 2

    # Progressive
    PROGRESSIVE = 3
  end

  # The grammatical function performed by a noun or pronoun in a phrase,
  # clause, or sentence. In some languages, other parts of speech, such as
  # adjective and determiner, take case inflection in agreement with the noun.
  module Case
    # Case is not applicable in the analyzed language or is not predicted.
    CASE_UNKNOWN = 0

    # Accusative
    ACCUSATIVE = 1

    # Adverbial
    ADVERBIAL = 2

    # Complementive
    COMPLEMENTIVE = 3

    # Dative
    DATIVE = 4

    # Genitive
    GENITIVE = 5

    # Instrumental
    INSTRUMENTAL = 6

    # Locative
    LOCATIVE = 7

    # Nominative
    NOMINATIVE = 8

    # Oblique
    OBLIQUE = 9

    # Partitive
    PARTITIVE = 10

    # Prepositional
    PREPOSITIONAL = 11

    # Reflexive
    REFLEXIVE_CASE = 12

    # Relative
    RELATIVE_CASE = 13

    # Vocative
    VOCATIVE = 14
  end

  # Depending on the language, Form can be categorizing different forms of
  # verbs, adjectives, adverbs, etc. For example, categorizing inflected
  # endings of verbs and adjectives or distinguishing between short and long
  # forms of adjectives and participles
  module Form
    # Form is not applicable in the analyzed language or is not predicted.
    FORM_UNKNOWN = 0

    # Adnomial
    ADNOMIAL = 1

    # Auxiliary
    AUXILIARY = 2

    # Complementizer
    COMPLEMENTIZER = 3

    # Final ending
    FINAL_ENDING = 4

    # Gerund
    GERUND = 5

    # Realis
    REALIS = 6

    # Irrealis
    IRREALIS = 7

    # Short form
    SHORT = 8

    # Long form
    LONG = 9

    # Order form
    ORDER = 10

    # Specific form
    SPECIFIC = 11
  end

  # Gender classes of nouns reflected in the behaviour of associated words.
  module Gender
    # Gender is not applicable in the analyzed language or is not predicted.
    GENDER_UNKNOWN = 0

    # Feminine
    FEMININE = 1

    # Masculine
    MASCULINE = 2

    # Neuter
    NEUTER = 3
  end

  # The grammatical feature of verbs, used for showing modality and attitude.
  module Mood
    # Mood is not applicable in the analyzed language or is not predicted.
    MOOD_UNKNOWN = 0

    # Conditional
    CONDITIONAL_MOOD = 1

    # Imperative
    IMPERATIVE = 2

    # Indicative
    INDICATIVE = 3

    # Interrogative
    INTERROGATIVE = 4

    # Jussive
    JUSSIVE = 5

    # Subjunctive
    SUBJUNCTIVE = 6
  end

  # Count distinctions.
  module Number
    # Number is not applicable in the analyzed language or is not predicted.
    NUMBER_UNKNOWN = 0

    # Singular
    SINGULAR = 1

    # Plural
    PLURAL = 2

    # Dual
    DUAL = 3
  end

  # The distinction between the speaker, second person, third person, etc.
  module Person
    # Person is not applicable in the analyzed language or is not predicted.
    PERSON_UNKNOWN = 0

    # First
    FIRST = 1

    # Second
    SECOND = 2

    # Third
    THIRD = 3

    # Reflexive
    REFLEXIVE_PERSON = 4
  end

  # This category shows if the token is part of a proper name.
  module Proper
    # Proper is not applicable in the analyzed language or is not predicted.
    PROPER_UNKNOWN = 0

    # Proper
    PROPER = 1

    # Not proper
    NOT_PROPER = 2
  end

  # Reciprocal features of a pronoun.
  module Reciprocity
    # Reciprocity is not applicable in the analyzed language or is not
    # predicted.
    RECIPROCITY_UNKNOWN = 0

    # Reciprocal
    RECIPROCAL = 1

    # Non-reciprocal
    NON_RECIPROCAL = 2
  end

  # Time reference.
  module Tense
    # Tense is not applicable in the analyzed language or is not predicted.
    TENSE_UNKNOWN = 0

    # Conditional
    CONDITIONAL_TENSE = 1

    # Future
    FUTURE = 2

    # Past
    PAST = 3

    # Present
    PRESENT = 4

    # Imperfect
    IMPERFECT = 5

    # Pluperfect
    PLUPERFECT = 6
  end

  # The relationship between the action that a verb expresses and the
  # participants identified by its arguments.
  module Voice
    # Voice is not applicable in the analyzed language or is not predicted.
    VOICE_UNKNOWN = 0

    # Active
    ACTIVE = 1

    # Causative
    CAUSATIVE = 2

    # Passive
    PASSIVE = 3
  end
end

#form::Google::Cloud::Language::V1::PartOfSpeech::Form

Returns The grammatical form.

Returns:



271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 271

class PartOfSpeech
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The part of speech tags enum.
  module Tag
    # Unknown
    UNKNOWN = 0

    # Adjective
    ADJ = 1

    # Adposition (preposition and postposition)
    ADP = 2

    # Adverb
    ADV = 3

    # Conjunction
    CONJ = 4

    # Determiner
    DET = 5

    # Noun (common and proper)
    NOUN = 6

    # Cardinal number
    NUM = 7

    # Pronoun
    PRON = 8

    # Particle or other function word
    PRT = 9

    # Punctuation
    PUNCT = 10

    # Verb (all tenses and modes)
    VERB = 11

    # Other: foreign words, typos, abbreviations
    X = 12

    # Affix
    AFFIX = 13
  end

  # The characteristic of a verb that expresses time flow during an event.
  module Aspect
    # Aspect is not applicable in the analyzed language or is not predicted.
    ASPECT_UNKNOWN = 0

    # Perfective
    PERFECTIVE = 1

    # Imperfective
    IMPERFECTIVE = 2

    # Progressive
    PROGRESSIVE = 3
  end

  # The grammatical function performed by a noun or pronoun in a phrase,
  # clause, or sentence. In some languages, other parts of speech, such as
  # adjective and determiner, take case inflection in agreement with the noun.
  module Case
    # Case is not applicable in the analyzed language or is not predicted.
    CASE_UNKNOWN = 0

    # Accusative
    ACCUSATIVE = 1

    # Adverbial
    ADVERBIAL = 2

    # Complementive
    COMPLEMENTIVE = 3

    # Dative
    DATIVE = 4

    # Genitive
    GENITIVE = 5

    # Instrumental
    INSTRUMENTAL = 6

    # Locative
    LOCATIVE = 7

    # Nominative
    NOMINATIVE = 8

    # Oblique
    OBLIQUE = 9

    # Partitive
    PARTITIVE = 10

    # Prepositional
    PREPOSITIONAL = 11

    # Reflexive
    REFLEXIVE_CASE = 12

    # Relative
    RELATIVE_CASE = 13

    # Vocative
    VOCATIVE = 14
  end

  # Depending on the language, Form can be categorizing different forms of
  # verbs, adjectives, adverbs, etc. For example, categorizing inflected
  # endings of verbs and adjectives or distinguishing between short and long
  # forms of adjectives and participles
  module Form
    # Form is not applicable in the analyzed language or is not predicted.
    FORM_UNKNOWN = 0

    # Adnomial
    ADNOMIAL = 1

    # Auxiliary
    AUXILIARY = 2

    # Complementizer
    COMPLEMENTIZER = 3

    # Final ending
    FINAL_ENDING = 4

    # Gerund
    GERUND = 5

    # Realis
    REALIS = 6

    # Irrealis
    IRREALIS = 7

    # Short form
    SHORT = 8

    # Long form
    LONG = 9

    # Order form
    ORDER = 10

    # Specific form
    SPECIFIC = 11
  end

  # Gender classes of nouns reflected in the behaviour of associated words.
  module Gender
    # Gender is not applicable in the analyzed language or is not predicted.
    GENDER_UNKNOWN = 0

    # Feminine
    FEMININE = 1

    # Masculine
    MASCULINE = 2

    # Neuter
    NEUTER = 3
  end

  # The grammatical feature of verbs, used for showing modality and attitude.
  module Mood
    # Mood is not applicable in the analyzed language or is not predicted.
    MOOD_UNKNOWN = 0

    # Conditional
    CONDITIONAL_MOOD = 1

    # Imperative
    IMPERATIVE = 2

    # Indicative
    INDICATIVE = 3

    # Interrogative
    INTERROGATIVE = 4

    # Jussive
    JUSSIVE = 5

    # Subjunctive
    SUBJUNCTIVE = 6
  end

  # Count distinctions.
  module Number
    # Number is not applicable in the analyzed language or is not predicted.
    NUMBER_UNKNOWN = 0

    # Singular
    SINGULAR = 1

    # Plural
    PLURAL = 2

    # Dual
    DUAL = 3
  end

  # The distinction between the speaker, second person, third person, etc.
  module Person
    # Person is not applicable in the analyzed language or is not predicted.
    PERSON_UNKNOWN = 0

    # First
    FIRST = 1

    # Second
    SECOND = 2

    # Third
    THIRD = 3

    # Reflexive
    REFLEXIVE_PERSON = 4
  end

  # This category shows if the token is part of a proper name.
  module Proper
    # Proper is not applicable in the analyzed language or is not predicted.
    PROPER_UNKNOWN = 0

    # Proper
    PROPER = 1

    # Not proper
    NOT_PROPER = 2
  end

  # Reciprocal features of a pronoun.
  module Reciprocity
    # Reciprocity is not applicable in the analyzed language or is not
    # predicted.
    RECIPROCITY_UNKNOWN = 0

    # Reciprocal
    RECIPROCAL = 1

    # Non-reciprocal
    NON_RECIPROCAL = 2
  end

  # Time reference.
  module Tense
    # Tense is not applicable in the analyzed language or is not predicted.
    TENSE_UNKNOWN = 0

    # Conditional
    CONDITIONAL_TENSE = 1

    # Future
    FUTURE = 2

    # Past
    PAST = 3

    # Present
    PRESENT = 4

    # Imperfect
    IMPERFECT = 5

    # Pluperfect
    PLUPERFECT = 6
  end

  # The relationship between the action that a verb expresses and the
  # participants identified by its arguments.
  module Voice
    # Voice is not applicable in the analyzed language or is not predicted.
    VOICE_UNKNOWN = 0

    # Active
    ACTIVE = 1

    # Causative
    CAUSATIVE = 2

    # Passive
    PASSIVE = 3
  end
end

#gender::Google::Cloud::Language::V1::PartOfSpeech::Gender

Returns The grammatical gender.

Returns:



271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 271

class PartOfSpeech
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The part of speech tags enum.
  module Tag
    # Unknown
    UNKNOWN = 0

    # Adjective
    ADJ = 1

    # Adposition (preposition and postposition)
    ADP = 2

    # Adverb
    ADV = 3

    # Conjunction
    CONJ = 4

    # Determiner
    DET = 5

    # Noun (common and proper)
    NOUN = 6

    # Cardinal number
    NUM = 7

    # Pronoun
    PRON = 8

    # Particle or other function word
    PRT = 9

    # Punctuation
    PUNCT = 10

    # Verb (all tenses and modes)
    VERB = 11

    # Other: foreign words, typos, abbreviations
    X = 12

    # Affix
    AFFIX = 13
  end

  # The characteristic of a verb that expresses time flow during an event.
  module Aspect
    # Aspect is not applicable in the analyzed language or is not predicted.
    ASPECT_UNKNOWN = 0

    # Perfective
    PERFECTIVE = 1

    # Imperfective
    IMPERFECTIVE = 2

    # Progressive
    PROGRESSIVE = 3
  end

  # The grammatical function performed by a noun or pronoun in a phrase,
  # clause, or sentence. In some languages, other parts of speech, such as
  # adjective and determiner, take case inflection in agreement with the noun.
  module Case
    # Case is not applicable in the analyzed language or is not predicted.
    CASE_UNKNOWN = 0

    # Accusative
    ACCUSATIVE = 1

    # Adverbial
    ADVERBIAL = 2

    # Complementive
    COMPLEMENTIVE = 3

    # Dative
    DATIVE = 4

    # Genitive
    GENITIVE = 5

    # Instrumental
    INSTRUMENTAL = 6

    # Locative
    LOCATIVE = 7

    # Nominative
    NOMINATIVE = 8

    # Oblique
    OBLIQUE = 9

    # Partitive
    PARTITIVE = 10

    # Prepositional
    PREPOSITIONAL = 11

    # Reflexive
    REFLEXIVE_CASE = 12

    # Relative
    RELATIVE_CASE = 13

    # Vocative
    VOCATIVE = 14
  end

  # Depending on the language, Form can be categorizing different forms of
  # verbs, adjectives, adverbs, etc. For example, categorizing inflected
  # endings of verbs and adjectives or distinguishing between short and long
  # forms of adjectives and participles
  module Form
    # Form is not applicable in the analyzed language or is not predicted.
    FORM_UNKNOWN = 0

    # Adnomial
    ADNOMIAL = 1

    # Auxiliary
    AUXILIARY = 2

    # Complementizer
    COMPLEMENTIZER = 3

    # Final ending
    FINAL_ENDING = 4

    # Gerund
    GERUND = 5

    # Realis
    REALIS = 6

    # Irrealis
    IRREALIS = 7

    # Short form
    SHORT = 8

    # Long form
    LONG = 9

    # Order form
    ORDER = 10

    # Specific form
    SPECIFIC = 11
  end

  # Gender classes of nouns reflected in the behaviour of associated words.
  module Gender
    # Gender is not applicable in the analyzed language or is not predicted.
    GENDER_UNKNOWN = 0

    # Feminine
    FEMININE = 1

    # Masculine
    MASCULINE = 2

    # Neuter
    NEUTER = 3
  end

  # The grammatical feature of verbs, used for showing modality and attitude.
  module Mood
    # Mood is not applicable in the analyzed language or is not predicted.
    MOOD_UNKNOWN = 0

    # Conditional
    CONDITIONAL_MOOD = 1

    # Imperative
    IMPERATIVE = 2

    # Indicative
    INDICATIVE = 3

    # Interrogative
    INTERROGATIVE = 4

    # Jussive
    JUSSIVE = 5

    # Subjunctive
    SUBJUNCTIVE = 6
  end

  # Count distinctions.
  module Number
    # Number is not applicable in the analyzed language or is not predicted.
    NUMBER_UNKNOWN = 0

    # Singular
    SINGULAR = 1

    # Plural
    PLURAL = 2

    # Dual
    DUAL = 3
  end

  # The distinction between the speaker, second person, third person, etc.
  module Person
    # Person is not applicable in the analyzed language or is not predicted.
    PERSON_UNKNOWN = 0

    # First
    FIRST = 1

    # Second
    SECOND = 2

    # Third
    THIRD = 3

    # Reflexive
    REFLEXIVE_PERSON = 4
  end

  # This category shows if the token is part of a proper name.
  module Proper
    # Proper is not applicable in the analyzed language or is not predicted.
    PROPER_UNKNOWN = 0

    # Proper
    PROPER = 1

    # Not proper
    NOT_PROPER = 2
  end

  # Reciprocal features of a pronoun.
  module Reciprocity
    # Reciprocity is not applicable in the analyzed language or is not
    # predicted.
    RECIPROCITY_UNKNOWN = 0

    # Reciprocal
    RECIPROCAL = 1

    # Non-reciprocal
    NON_RECIPROCAL = 2
  end

  # Time reference.
  module Tense
    # Tense is not applicable in the analyzed language or is not predicted.
    TENSE_UNKNOWN = 0

    # Conditional
    CONDITIONAL_TENSE = 1

    # Future
    FUTURE = 2

    # Past
    PAST = 3

    # Present
    PRESENT = 4

    # Imperfect
    IMPERFECT = 5

    # Pluperfect
    PLUPERFECT = 6
  end

  # The relationship between the action that a verb expresses and the
  # participants identified by its arguments.
  module Voice
    # Voice is not applicable in the analyzed language or is not predicted.
    VOICE_UNKNOWN = 0

    # Active
    ACTIVE = 1

    # Causative
    CAUSATIVE = 2

    # Passive
    PASSIVE = 3
  end
end

#mood::Google::Cloud::Language::V1::PartOfSpeech::Mood

Returns The grammatical mood.

Returns:



271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 271

class PartOfSpeech
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The part of speech tags enum.
  module Tag
    # Unknown
    UNKNOWN = 0

    # Adjective
    ADJ = 1

    # Adposition (preposition and postposition)
    ADP = 2

    # Adverb
    ADV = 3

    # Conjunction
    CONJ = 4

    # Determiner
    DET = 5

    # Noun (common and proper)
    NOUN = 6

    # Cardinal number
    NUM = 7

    # Pronoun
    PRON = 8

    # Particle or other function word
    PRT = 9

    # Punctuation
    PUNCT = 10

    # Verb (all tenses and modes)
    VERB = 11

    # Other: foreign words, typos, abbreviations
    X = 12

    # Affix
    AFFIX = 13
  end

  # The characteristic of a verb that expresses time flow during an event.
  module Aspect
    # Aspect is not applicable in the analyzed language or is not predicted.
    ASPECT_UNKNOWN = 0

    # Perfective
    PERFECTIVE = 1

    # Imperfective
    IMPERFECTIVE = 2

    # Progressive
    PROGRESSIVE = 3
  end

  # The grammatical function performed by a noun or pronoun in a phrase,
  # clause, or sentence. In some languages, other parts of speech, such as
  # adjective and determiner, take case inflection in agreement with the noun.
  module Case
    # Case is not applicable in the analyzed language or is not predicted.
    CASE_UNKNOWN = 0

    # Accusative
    ACCUSATIVE = 1

    # Adverbial
    ADVERBIAL = 2

    # Complementive
    COMPLEMENTIVE = 3

    # Dative
    DATIVE = 4

    # Genitive
    GENITIVE = 5

    # Instrumental
    INSTRUMENTAL = 6

    # Locative
    LOCATIVE = 7

    # Nominative
    NOMINATIVE = 8

    # Oblique
    OBLIQUE = 9

    # Partitive
    PARTITIVE = 10

    # Prepositional
    PREPOSITIONAL = 11

    # Reflexive
    REFLEXIVE_CASE = 12

    # Relative
    RELATIVE_CASE = 13

    # Vocative
    VOCATIVE = 14
  end

  # Depending on the language, Form can be categorizing different forms of
  # verbs, adjectives, adverbs, etc. For example, categorizing inflected
  # endings of verbs and adjectives or distinguishing between short and long
  # forms of adjectives and participles
  module Form
    # Form is not applicable in the analyzed language or is not predicted.
    FORM_UNKNOWN = 0

    # Adnomial
    ADNOMIAL = 1

    # Auxiliary
    AUXILIARY = 2

    # Complementizer
    COMPLEMENTIZER = 3

    # Final ending
    FINAL_ENDING = 4

    # Gerund
    GERUND = 5

    # Realis
    REALIS = 6

    # Irrealis
    IRREALIS = 7

    # Short form
    SHORT = 8

    # Long form
    LONG = 9

    # Order form
    ORDER = 10

    # Specific form
    SPECIFIC = 11
  end

  # Gender classes of nouns reflected in the behaviour of associated words.
  module Gender
    # Gender is not applicable in the analyzed language or is not predicted.
    GENDER_UNKNOWN = 0

    # Feminine
    FEMININE = 1

    # Masculine
    MASCULINE = 2

    # Neuter
    NEUTER = 3
  end

  # The grammatical feature of verbs, used for showing modality and attitude.
  module Mood
    # Mood is not applicable in the analyzed language or is not predicted.
    MOOD_UNKNOWN = 0

    # Conditional
    CONDITIONAL_MOOD = 1

    # Imperative
    IMPERATIVE = 2

    # Indicative
    INDICATIVE = 3

    # Interrogative
    INTERROGATIVE = 4

    # Jussive
    JUSSIVE = 5

    # Subjunctive
    SUBJUNCTIVE = 6
  end

  # Count distinctions.
  module Number
    # Number is not applicable in the analyzed language or is not predicted.
    NUMBER_UNKNOWN = 0

    # Singular
    SINGULAR = 1

    # Plural
    PLURAL = 2

    # Dual
    DUAL = 3
  end

  # The distinction between the speaker, second person, third person, etc.
  module Person
    # Person is not applicable in the analyzed language or is not predicted.
    PERSON_UNKNOWN = 0

    # First
    FIRST = 1

    # Second
    SECOND = 2

    # Third
    THIRD = 3

    # Reflexive
    REFLEXIVE_PERSON = 4
  end

  # This category shows if the token is part of a proper name.
  module Proper
    # Proper is not applicable in the analyzed language or is not predicted.
    PROPER_UNKNOWN = 0

    # Proper
    PROPER = 1

    # Not proper
    NOT_PROPER = 2
  end

  # Reciprocal features of a pronoun.
  module Reciprocity
    # Reciprocity is not applicable in the analyzed language or is not
    # predicted.
    RECIPROCITY_UNKNOWN = 0

    # Reciprocal
    RECIPROCAL = 1

    # Non-reciprocal
    NON_RECIPROCAL = 2
  end

  # Time reference.
  module Tense
    # Tense is not applicable in the analyzed language or is not predicted.
    TENSE_UNKNOWN = 0

    # Conditional
    CONDITIONAL_TENSE = 1

    # Future
    FUTURE = 2

    # Past
    PAST = 3

    # Present
    PRESENT = 4

    # Imperfect
    IMPERFECT = 5

    # Pluperfect
    PLUPERFECT = 6
  end

  # The relationship between the action that a verb expresses and the
  # participants identified by its arguments.
  module Voice
    # Voice is not applicable in the analyzed language or is not predicted.
    VOICE_UNKNOWN = 0

    # Active
    ACTIVE = 1

    # Causative
    CAUSATIVE = 2

    # Passive
    PASSIVE = 3
  end
end

#number::Google::Cloud::Language::V1::PartOfSpeech::Number

Returns The grammatical number.

Returns:



271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 271

class PartOfSpeech
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The part of speech tags enum.
  module Tag
    # Unknown
    UNKNOWN = 0

    # Adjective
    ADJ = 1

    # Adposition (preposition and postposition)
    ADP = 2

    # Adverb
    ADV = 3

    # Conjunction
    CONJ = 4

    # Determiner
    DET = 5

    # Noun (common and proper)
    NOUN = 6

    # Cardinal number
    NUM = 7

    # Pronoun
    PRON = 8

    # Particle or other function word
    PRT = 9

    # Punctuation
    PUNCT = 10

    # Verb (all tenses and modes)
    VERB = 11

    # Other: foreign words, typos, abbreviations
    X = 12

    # Affix
    AFFIX = 13
  end

  # The characteristic of a verb that expresses time flow during an event.
  module Aspect
    # Aspect is not applicable in the analyzed language or is not predicted.
    ASPECT_UNKNOWN = 0

    # Perfective
    PERFECTIVE = 1

    # Imperfective
    IMPERFECTIVE = 2

    # Progressive
    PROGRESSIVE = 3
  end

  # The grammatical function performed by a noun or pronoun in a phrase,
  # clause, or sentence. In some languages, other parts of speech, such as
  # adjective and determiner, take case inflection in agreement with the noun.
  module Case
    # Case is not applicable in the analyzed language or is not predicted.
    CASE_UNKNOWN = 0

    # Accusative
    ACCUSATIVE = 1

    # Adverbial
    ADVERBIAL = 2

    # Complementive
    COMPLEMENTIVE = 3

    # Dative
    DATIVE = 4

    # Genitive
    GENITIVE = 5

    # Instrumental
    INSTRUMENTAL = 6

    # Locative
    LOCATIVE = 7

    # Nominative
    NOMINATIVE = 8

    # Oblique
    OBLIQUE = 9

    # Partitive
    PARTITIVE = 10

    # Prepositional
    PREPOSITIONAL = 11

    # Reflexive
    REFLEXIVE_CASE = 12

    # Relative
    RELATIVE_CASE = 13

    # Vocative
    VOCATIVE = 14
  end

  # Depending on the language, Form can be categorizing different forms of
  # verbs, adjectives, adverbs, etc. For example, categorizing inflected
  # endings of verbs and adjectives or distinguishing between short and long
  # forms of adjectives and participles
  module Form
    # Form is not applicable in the analyzed language or is not predicted.
    FORM_UNKNOWN = 0

    # Adnomial
    ADNOMIAL = 1

    # Auxiliary
    AUXILIARY = 2

    # Complementizer
    COMPLEMENTIZER = 3

    # Final ending
    FINAL_ENDING = 4

    # Gerund
    GERUND = 5

    # Realis
    REALIS = 6

    # Irrealis
    IRREALIS = 7

    # Short form
    SHORT = 8

    # Long form
    LONG = 9

    # Order form
    ORDER = 10

    # Specific form
    SPECIFIC = 11
  end

  # Gender classes of nouns reflected in the behaviour of associated words.
  module Gender
    # Gender is not applicable in the analyzed language or is not predicted.
    GENDER_UNKNOWN = 0

    # Feminine
    FEMININE = 1

    # Masculine
    MASCULINE = 2

    # Neuter
    NEUTER = 3
  end

  # The grammatical feature of verbs, used for showing modality and attitude.
  module Mood
    # Mood is not applicable in the analyzed language or is not predicted.
    MOOD_UNKNOWN = 0

    # Conditional
    CONDITIONAL_MOOD = 1

    # Imperative
    IMPERATIVE = 2

    # Indicative
    INDICATIVE = 3

    # Interrogative
    INTERROGATIVE = 4

    # Jussive
    JUSSIVE = 5

    # Subjunctive
    SUBJUNCTIVE = 6
  end

  # Count distinctions.
  module Number
    # Number is not applicable in the analyzed language or is not predicted.
    NUMBER_UNKNOWN = 0

    # Singular
    SINGULAR = 1

    # Plural
    PLURAL = 2

    # Dual
    DUAL = 3
  end

  # The distinction between the speaker, second person, third person, etc.
  module Person
    # Person is not applicable in the analyzed language or is not predicted.
    PERSON_UNKNOWN = 0

    # First
    FIRST = 1

    # Second
    SECOND = 2

    # Third
    THIRD = 3

    # Reflexive
    REFLEXIVE_PERSON = 4
  end

  # This category shows if the token is part of a proper name.
  module Proper
    # Proper is not applicable in the analyzed language or is not predicted.
    PROPER_UNKNOWN = 0

    # Proper
    PROPER = 1

    # Not proper
    NOT_PROPER = 2
  end

  # Reciprocal features of a pronoun.
  module Reciprocity
    # Reciprocity is not applicable in the analyzed language or is not
    # predicted.
    RECIPROCITY_UNKNOWN = 0

    # Reciprocal
    RECIPROCAL = 1

    # Non-reciprocal
    NON_RECIPROCAL = 2
  end

  # Time reference.
  module Tense
    # Tense is not applicable in the analyzed language or is not predicted.
    TENSE_UNKNOWN = 0

    # Conditional
    CONDITIONAL_TENSE = 1

    # Future
    FUTURE = 2

    # Past
    PAST = 3

    # Present
    PRESENT = 4

    # Imperfect
    IMPERFECT = 5

    # Pluperfect
    PLUPERFECT = 6
  end

  # The relationship between the action that a verb expresses and the
  # participants identified by its arguments.
  module Voice
    # Voice is not applicable in the analyzed language or is not predicted.
    VOICE_UNKNOWN = 0

    # Active
    ACTIVE = 1

    # Causative
    CAUSATIVE = 2

    # Passive
    PASSIVE = 3
  end
end

#person::Google::Cloud::Language::V1::PartOfSpeech::Person

Returns The grammatical person.

Returns:



271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 271

class PartOfSpeech
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The part of speech tags enum.
  module Tag
    # Unknown
    UNKNOWN = 0

    # Adjective
    ADJ = 1

    # Adposition (preposition and postposition)
    ADP = 2

    # Adverb
    ADV = 3

    # Conjunction
    CONJ = 4

    # Determiner
    DET = 5

    # Noun (common and proper)
    NOUN = 6

    # Cardinal number
    NUM = 7

    # Pronoun
    PRON = 8

    # Particle or other function word
    PRT = 9

    # Punctuation
    PUNCT = 10

    # Verb (all tenses and modes)
    VERB = 11

    # Other: foreign words, typos, abbreviations
    X = 12

    # Affix
    AFFIX = 13
  end

  # The characteristic of a verb that expresses time flow during an event.
  module Aspect
    # Aspect is not applicable in the analyzed language or is not predicted.
    ASPECT_UNKNOWN = 0

    # Perfective
    PERFECTIVE = 1

    # Imperfective
    IMPERFECTIVE = 2

    # Progressive
    PROGRESSIVE = 3
  end

  # The grammatical function performed by a noun or pronoun in a phrase,
  # clause, or sentence. In some languages, other parts of speech, such as
  # adjective and determiner, take case inflection in agreement with the noun.
  module Case
    # Case is not applicable in the analyzed language or is not predicted.
    CASE_UNKNOWN = 0

    # Accusative
    ACCUSATIVE = 1

    # Adverbial
    ADVERBIAL = 2

    # Complementive
    COMPLEMENTIVE = 3

    # Dative
    DATIVE = 4

    # Genitive
    GENITIVE = 5

    # Instrumental
    INSTRUMENTAL = 6

    # Locative
    LOCATIVE = 7

    # Nominative
    NOMINATIVE = 8

    # Oblique
    OBLIQUE = 9

    # Partitive
    PARTITIVE = 10

    # Prepositional
    PREPOSITIONAL = 11

    # Reflexive
    REFLEXIVE_CASE = 12

    # Relative
    RELATIVE_CASE = 13

    # Vocative
    VOCATIVE = 14
  end

  # Depending on the language, Form can be categorizing different forms of
  # verbs, adjectives, adverbs, etc. For example, categorizing inflected
  # endings of verbs and adjectives or distinguishing between short and long
  # forms of adjectives and participles
  module Form
    # Form is not applicable in the analyzed language or is not predicted.
    FORM_UNKNOWN = 0

    # Adnomial
    ADNOMIAL = 1

    # Auxiliary
    AUXILIARY = 2

    # Complementizer
    COMPLEMENTIZER = 3

    # Final ending
    FINAL_ENDING = 4

    # Gerund
    GERUND = 5

    # Realis
    REALIS = 6

    # Irrealis
    IRREALIS = 7

    # Short form
    SHORT = 8

    # Long form
    LONG = 9

    # Order form
    ORDER = 10

    # Specific form
    SPECIFIC = 11
  end

  # Gender classes of nouns reflected in the behaviour of associated words.
  module Gender
    # Gender is not applicable in the analyzed language or is not predicted.
    GENDER_UNKNOWN = 0

    # Feminine
    FEMININE = 1

    # Masculine
    MASCULINE = 2

    # Neuter
    NEUTER = 3
  end

  # The grammatical feature of verbs, used for showing modality and attitude.
  module Mood
    # Mood is not applicable in the analyzed language or is not predicted.
    MOOD_UNKNOWN = 0

    # Conditional
    CONDITIONAL_MOOD = 1

    # Imperative
    IMPERATIVE = 2

    # Indicative
    INDICATIVE = 3

    # Interrogative
    INTERROGATIVE = 4

    # Jussive
    JUSSIVE = 5

    # Subjunctive
    SUBJUNCTIVE = 6
  end

  # Count distinctions.
  module Number
    # Number is not applicable in the analyzed language or is not predicted.
    NUMBER_UNKNOWN = 0

    # Singular
    SINGULAR = 1

    # Plural
    PLURAL = 2

    # Dual
    DUAL = 3
  end

  # The distinction between the speaker, second person, third person, etc.
  module Person
    # Person is not applicable in the analyzed language or is not predicted.
    PERSON_UNKNOWN = 0

    # First
    FIRST = 1

    # Second
    SECOND = 2

    # Third
    THIRD = 3

    # Reflexive
    REFLEXIVE_PERSON = 4
  end

  # This category shows if the token is part of a proper name.
  module Proper
    # Proper is not applicable in the analyzed language or is not predicted.
    PROPER_UNKNOWN = 0

    # Proper
    PROPER = 1

    # Not proper
    NOT_PROPER = 2
  end

  # Reciprocal features of a pronoun.
  module Reciprocity
    # Reciprocity is not applicable in the analyzed language or is not
    # predicted.
    RECIPROCITY_UNKNOWN = 0

    # Reciprocal
    RECIPROCAL = 1

    # Non-reciprocal
    NON_RECIPROCAL = 2
  end

  # Time reference.
  module Tense
    # Tense is not applicable in the analyzed language or is not predicted.
    TENSE_UNKNOWN = 0

    # Conditional
    CONDITIONAL_TENSE = 1

    # Future
    FUTURE = 2

    # Past
    PAST = 3

    # Present
    PRESENT = 4

    # Imperfect
    IMPERFECT = 5

    # Pluperfect
    PLUPERFECT = 6
  end

  # The relationship between the action that a verb expresses and the
  # participants identified by its arguments.
  module Voice
    # Voice is not applicable in the analyzed language or is not predicted.
    VOICE_UNKNOWN = 0

    # Active
    ACTIVE = 1

    # Causative
    CAUSATIVE = 2

    # Passive
    PASSIVE = 3
  end
end

#proper::Google::Cloud::Language::V1::PartOfSpeech::Proper

Returns The grammatical properness.

Returns:



271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 271

class PartOfSpeech
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The part of speech tags enum.
  module Tag
    # Unknown
    UNKNOWN = 0

    # Adjective
    ADJ = 1

    # Adposition (preposition and postposition)
    ADP = 2

    # Adverb
    ADV = 3

    # Conjunction
    CONJ = 4

    # Determiner
    DET = 5

    # Noun (common and proper)
    NOUN = 6

    # Cardinal number
    NUM = 7

    # Pronoun
    PRON = 8

    # Particle or other function word
    PRT = 9

    # Punctuation
    PUNCT = 10

    # Verb (all tenses and modes)
    VERB = 11

    # Other: foreign words, typos, abbreviations
    X = 12

    # Affix
    AFFIX = 13
  end

  # The characteristic of a verb that expresses time flow during an event.
  module Aspect
    # Aspect is not applicable in the analyzed language or is not predicted.
    ASPECT_UNKNOWN = 0

    # Perfective
    PERFECTIVE = 1

    # Imperfective
    IMPERFECTIVE = 2

    # Progressive
    PROGRESSIVE = 3
  end

  # The grammatical function performed by a noun or pronoun in a phrase,
  # clause, or sentence. In some languages, other parts of speech, such as
  # adjective and determiner, take case inflection in agreement with the noun.
  module Case
    # Case is not applicable in the analyzed language or is not predicted.
    CASE_UNKNOWN = 0

    # Accusative
    ACCUSATIVE = 1

    # Adverbial
    ADVERBIAL = 2

    # Complementive
    COMPLEMENTIVE = 3

    # Dative
    DATIVE = 4

    # Genitive
    GENITIVE = 5

    # Instrumental
    INSTRUMENTAL = 6

    # Locative
    LOCATIVE = 7

    # Nominative
    NOMINATIVE = 8

    # Oblique
    OBLIQUE = 9

    # Partitive
    PARTITIVE = 10

    # Prepositional
    PREPOSITIONAL = 11

    # Reflexive
    REFLEXIVE_CASE = 12

    # Relative
    RELATIVE_CASE = 13

    # Vocative
    VOCATIVE = 14
  end

  # Depending on the language, Form can be categorizing different forms of
  # verbs, adjectives, adverbs, etc. For example, categorizing inflected
  # endings of verbs and adjectives or distinguishing between short and long
  # forms of adjectives and participles
  module Form
    # Form is not applicable in the analyzed language or is not predicted.
    FORM_UNKNOWN = 0

    # Adnomial
    ADNOMIAL = 1

    # Auxiliary
    AUXILIARY = 2

    # Complementizer
    COMPLEMENTIZER = 3

    # Final ending
    FINAL_ENDING = 4

    # Gerund
    GERUND = 5

    # Realis
    REALIS = 6

    # Irrealis
    IRREALIS = 7

    # Short form
    SHORT = 8

    # Long form
    LONG = 9

    # Order form
    ORDER = 10

    # Specific form
    SPECIFIC = 11
  end

  # Gender classes of nouns reflected in the behaviour of associated words.
  module Gender
    # Gender is not applicable in the analyzed language or is not predicted.
    GENDER_UNKNOWN = 0

    # Feminine
    FEMININE = 1

    # Masculine
    MASCULINE = 2

    # Neuter
    NEUTER = 3
  end

  # The grammatical feature of verbs, used for showing modality and attitude.
  module Mood
    # Mood is not applicable in the analyzed language or is not predicted.
    MOOD_UNKNOWN = 0

    # Conditional
    CONDITIONAL_MOOD = 1

    # Imperative
    IMPERATIVE = 2

    # Indicative
    INDICATIVE = 3

    # Interrogative
    INTERROGATIVE = 4

    # Jussive
    JUSSIVE = 5

    # Subjunctive
    SUBJUNCTIVE = 6
  end

  # Count distinctions.
  module Number
    # Number is not applicable in the analyzed language or is not predicted.
    NUMBER_UNKNOWN = 0

    # Singular
    SINGULAR = 1

    # Plural
    PLURAL = 2

    # Dual
    DUAL = 3
  end

  # The distinction between the speaker, second person, third person, etc.
  module Person
    # Person is not applicable in the analyzed language or is not predicted.
    PERSON_UNKNOWN = 0

    # First
    FIRST = 1

    # Second
    SECOND = 2

    # Third
    THIRD = 3

    # Reflexive
    REFLEXIVE_PERSON = 4
  end

  # This category shows if the token is part of a proper name.
  module Proper
    # Proper is not applicable in the analyzed language or is not predicted.
    PROPER_UNKNOWN = 0

    # Proper
    PROPER = 1

    # Not proper
    NOT_PROPER = 2
  end

  # Reciprocal features of a pronoun.
  module Reciprocity
    # Reciprocity is not applicable in the analyzed language or is not
    # predicted.
    RECIPROCITY_UNKNOWN = 0

    # Reciprocal
    RECIPROCAL = 1

    # Non-reciprocal
    NON_RECIPROCAL = 2
  end

  # Time reference.
  module Tense
    # Tense is not applicable in the analyzed language or is not predicted.
    TENSE_UNKNOWN = 0

    # Conditional
    CONDITIONAL_TENSE = 1

    # Future
    FUTURE = 2

    # Past
    PAST = 3

    # Present
    PRESENT = 4

    # Imperfect
    IMPERFECT = 5

    # Pluperfect
    PLUPERFECT = 6
  end

  # The relationship between the action that a verb expresses and the
  # participants identified by its arguments.
  module Voice
    # Voice is not applicable in the analyzed language or is not predicted.
    VOICE_UNKNOWN = 0

    # Active
    ACTIVE = 1

    # Causative
    CAUSATIVE = 2

    # Passive
    PASSIVE = 3
  end
end

#reciprocity::Google::Cloud::Language::V1::PartOfSpeech::Reciprocity

Returns The grammatical reciprocity.

Returns:



271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 271

class PartOfSpeech
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The part of speech tags enum.
  module Tag
    # Unknown
    UNKNOWN = 0

    # Adjective
    ADJ = 1

    # Adposition (preposition and postposition)
    ADP = 2

    # Adverb
    ADV = 3

    # Conjunction
    CONJ = 4

    # Determiner
    DET = 5

    # Noun (common and proper)
    NOUN = 6

    # Cardinal number
    NUM = 7

    # Pronoun
    PRON = 8

    # Particle or other function word
    PRT = 9

    # Punctuation
    PUNCT = 10

    # Verb (all tenses and modes)
    VERB = 11

    # Other: foreign words, typos, abbreviations
    X = 12

    # Affix
    AFFIX = 13
  end

  # The characteristic of a verb that expresses time flow during an event.
  module Aspect
    # Aspect is not applicable in the analyzed language or is not predicted.
    ASPECT_UNKNOWN = 0

    # Perfective
    PERFECTIVE = 1

    # Imperfective
    IMPERFECTIVE = 2

    # Progressive
    PROGRESSIVE = 3
  end

  # The grammatical function performed by a noun or pronoun in a phrase,
  # clause, or sentence. In some languages, other parts of speech, such as
  # adjective and determiner, take case inflection in agreement with the noun.
  module Case
    # Case is not applicable in the analyzed language or is not predicted.
    CASE_UNKNOWN = 0

    # Accusative
    ACCUSATIVE = 1

    # Adverbial
    ADVERBIAL = 2

    # Complementive
    COMPLEMENTIVE = 3

    # Dative
    DATIVE = 4

    # Genitive
    GENITIVE = 5

    # Instrumental
    INSTRUMENTAL = 6

    # Locative
    LOCATIVE = 7

    # Nominative
    NOMINATIVE = 8

    # Oblique
    OBLIQUE = 9

    # Partitive
    PARTITIVE = 10

    # Prepositional
    PREPOSITIONAL = 11

    # Reflexive
    REFLEXIVE_CASE = 12

    # Relative
    RELATIVE_CASE = 13

    # Vocative
    VOCATIVE = 14
  end

  # Depending on the language, Form can be categorizing different forms of
  # verbs, adjectives, adverbs, etc. For example, categorizing inflected
  # endings of verbs and adjectives or distinguishing between short and long
  # forms of adjectives and participles
  module Form
    # Form is not applicable in the analyzed language or is not predicted.
    FORM_UNKNOWN = 0

    # Adnomial
    ADNOMIAL = 1

    # Auxiliary
    AUXILIARY = 2

    # Complementizer
    COMPLEMENTIZER = 3

    # Final ending
    FINAL_ENDING = 4

    # Gerund
    GERUND = 5

    # Realis
    REALIS = 6

    # Irrealis
    IRREALIS = 7

    # Short form
    SHORT = 8

    # Long form
    LONG = 9

    # Order form
    ORDER = 10

    # Specific form
    SPECIFIC = 11
  end

  # Gender classes of nouns reflected in the behaviour of associated words.
  module Gender
    # Gender is not applicable in the analyzed language or is not predicted.
    GENDER_UNKNOWN = 0

    # Feminine
    FEMININE = 1

    # Masculine
    MASCULINE = 2

    # Neuter
    NEUTER = 3
  end

  # The grammatical feature of verbs, used for showing modality and attitude.
  module Mood
    # Mood is not applicable in the analyzed language or is not predicted.
    MOOD_UNKNOWN = 0

    # Conditional
    CONDITIONAL_MOOD = 1

    # Imperative
    IMPERATIVE = 2

    # Indicative
    INDICATIVE = 3

    # Interrogative
    INTERROGATIVE = 4

    # Jussive
    JUSSIVE = 5

    # Subjunctive
    SUBJUNCTIVE = 6
  end

  # Count distinctions.
  module Number
    # Number is not applicable in the analyzed language or is not predicted.
    NUMBER_UNKNOWN = 0

    # Singular
    SINGULAR = 1

    # Plural
    PLURAL = 2

    # Dual
    DUAL = 3
  end

  # The distinction between the speaker, second person, third person, etc.
  module Person
    # Person is not applicable in the analyzed language or is not predicted.
    PERSON_UNKNOWN = 0

    # First
    FIRST = 1

    # Second
    SECOND = 2

    # Third
    THIRD = 3

    # Reflexive
    REFLEXIVE_PERSON = 4
  end

  # This category shows if the token is part of a proper name.
  module Proper
    # Proper is not applicable in the analyzed language or is not predicted.
    PROPER_UNKNOWN = 0

    # Proper
    PROPER = 1

    # Not proper
    NOT_PROPER = 2
  end

  # Reciprocal features of a pronoun.
  module Reciprocity
    # Reciprocity is not applicable in the analyzed language or is not
    # predicted.
    RECIPROCITY_UNKNOWN = 0

    # Reciprocal
    RECIPROCAL = 1

    # Non-reciprocal
    NON_RECIPROCAL = 2
  end

  # Time reference.
  module Tense
    # Tense is not applicable in the analyzed language or is not predicted.
    TENSE_UNKNOWN = 0

    # Conditional
    CONDITIONAL_TENSE = 1

    # Future
    FUTURE = 2

    # Past
    PAST = 3

    # Present
    PRESENT = 4

    # Imperfect
    IMPERFECT = 5

    # Pluperfect
    PLUPERFECT = 6
  end

  # The relationship between the action that a verb expresses and the
  # participants identified by its arguments.
  module Voice
    # Voice is not applicable in the analyzed language or is not predicted.
    VOICE_UNKNOWN = 0

    # Active
    ACTIVE = 1

    # Causative
    CAUSATIVE = 2

    # Passive
    PASSIVE = 3
  end
end

#tag::Google::Cloud::Language::V1::PartOfSpeech::Tag

Returns The part of speech tag.

Returns:



271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 271

class PartOfSpeech
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The part of speech tags enum.
  module Tag
    # Unknown
    UNKNOWN = 0

    # Adjective
    ADJ = 1

    # Adposition (preposition and postposition)
    ADP = 2

    # Adverb
    ADV = 3

    # Conjunction
    CONJ = 4

    # Determiner
    DET = 5

    # Noun (common and proper)
    NOUN = 6

    # Cardinal number
    NUM = 7

    # Pronoun
    PRON = 8

    # Particle or other function word
    PRT = 9

    # Punctuation
    PUNCT = 10

    # Verb (all tenses and modes)
    VERB = 11

    # Other: foreign words, typos, abbreviations
    X = 12

    # Affix
    AFFIX = 13
  end

  # The characteristic of a verb that expresses time flow during an event.
  module Aspect
    # Aspect is not applicable in the analyzed language or is not predicted.
    ASPECT_UNKNOWN = 0

    # Perfective
    PERFECTIVE = 1

    # Imperfective
    IMPERFECTIVE = 2

    # Progressive
    PROGRESSIVE = 3
  end

  # The grammatical function performed by a noun or pronoun in a phrase,
  # clause, or sentence. In some languages, other parts of speech, such as
  # adjective and determiner, take case inflection in agreement with the noun.
  module Case
    # Case is not applicable in the analyzed language or is not predicted.
    CASE_UNKNOWN = 0

    # Accusative
    ACCUSATIVE = 1

    # Adverbial
    ADVERBIAL = 2

    # Complementive
    COMPLEMENTIVE = 3

    # Dative
    DATIVE = 4

    # Genitive
    GENITIVE = 5

    # Instrumental
    INSTRUMENTAL = 6

    # Locative
    LOCATIVE = 7

    # Nominative
    NOMINATIVE = 8

    # Oblique
    OBLIQUE = 9

    # Partitive
    PARTITIVE = 10

    # Prepositional
    PREPOSITIONAL = 11

    # Reflexive
    REFLEXIVE_CASE = 12

    # Relative
    RELATIVE_CASE = 13

    # Vocative
    VOCATIVE = 14
  end

  # Depending on the language, Form can be categorizing different forms of
  # verbs, adjectives, adverbs, etc. For example, categorizing inflected
  # endings of verbs and adjectives or distinguishing between short and long
  # forms of adjectives and participles
  module Form
    # Form is not applicable in the analyzed language or is not predicted.
    FORM_UNKNOWN = 0

    # Adnomial
    ADNOMIAL = 1

    # Auxiliary
    AUXILIARY = 2

    # Complementizer
    COMPLEMENTIZER = 3

    # Final ending
    FINAL_ENDING = 4

    # Gerund
    GERUND = 5

    # Realis
    REALIS = 6

    # Irrealis
    IRREALIS = 7

    # Short form
    SHORT = 8

    # Long form
    LONG = 9

    # Order form
    ORDER = 10

    # Specific form
    SPECIFIC = 11
  end

  # Gender classes of nouns reflected in the behaviour of associated words.
  module Gender
    # Gender is not applicable in the analyzed language or is not predicted.
    GENDER_UNKNOWN = 0

    # Feminine
    FEMININE = 1

    # Masculine
    MASCULINE = 2

    # Neuter
    NEUTER = 3
  end

  # The grammatical feature of verbs, used for showing modality and attitude.
  module Mood
    # Mood is not applicable in the analyzed language or is not predicted.
    MOOD_UNKNOWN = 0

    # Conditional
    CONDITIONAL_MOOD = 1

    # Imperative
    IMPERATIVE = 2

    # Indicative
    INDICATIVE = 3

    # Interrogative
    INTERROGATIVE = 4

    # Jussive
    JUSSIVE = 5

    # Subjunctive
    SUBJUNCTIVE = 6
  end

  # Count distinctions.
  module Number
    # Number is not applicable in the analyzed language or is not predicted.
    NUMBER_UNKNOWN = 0

    # Singular
    SINGULAR = 1

    # Plural
    PLURAL = 2

    # Dual
    DUAL = 3
  end

  # The distinction between the speaker, second person, third person, etc.
  module Person
    # Person is not applicable in the analyzed language or is not predicted.
    PERSON_UNKNOWN = 0

    # First
    FIRST = 1

    # Second
    SECOND = 2

    # Third
    THIRD = 3

    # Reflexive
    REFLEXIVE_PERSON = 4
  end

  # This category shows if the token is part of a proper name.
  module Proper
    # Proper is not applicable in the analyzed language or is not predicted.
    PROPER_UNKNOWN = 0

    # Proper
    PROPER = 1

    # Not proper
    NOT_PROPER = 2
  end

  # Reciprocal features of a pronoun.
  module Reciprocity
    # Reciprocity is not applicable in the analyzed language or is not
    # predicted.
    RECIPROCITY_UNKNOWN = 0

    # Reciprocal
    RECIPROCAL = 1

    # Non-reciprocal
    NON_RECIPROCAL = 2
  end

  # Time reference.
  module Tense
    # Tense is not applicable in the analyzed language or is not predicted.
    TENSE_UNKNOWN = 0

    # Conditional
    CONDITIONAL_TENSE = 1

    # Future
    FUTURE = 2

    # Past
    PAST = 3

    # Present
    PRESENT = 4

    # Imperfect
    IMPERFECT = 5

    # Pluperfect
    PLUPERFECT = 6
  end

  # The relationship between the action that a verb expresses and the
  # participants identified by its arguments.
  module Voice
    # Voice is not applicable in the analyzed language or is not predicted.
    VOICE_UNKNOWN = 0

    # Active
    ACTIVE = 1

    # Causative
    CAUSATIVE = 2

    # Passive
    PASSIVE = 3
  end
end

#tense::Google::Cloud::Language::V1::PartOfSpeech::Tense

Returns The grammatical tense.

Returns:



271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 271

class PartOfSpeech
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The part of speech tags enum.
  module Tag
    # Unknown
    UNKNOWN = 0

    # Adjective
    ADJ = 1

    # Adposition (preposition and postposition)
    ADP = 2

    # Adverb
    ADV = 3

    # Conjunction
    CONJ = 4

    # Determiner
    DET = 5

    # Noun (common and proper)
    NOUN = 6

    # Cardinal number
    NUM = 7

    # Pronoun
    PRON = 8

    # Particle or other function word
    PRT = 9

    # Punctuation
    PUNCT = 10

    # Verb (all tenses and modes)
    VERB = 11

    # Other: foreign words, typos, abbreviations
    X = 12

    # Affix
    AFFIX = 13
  end

  # The characteristic of a verb that expresses time flow during an event.
  module Aspect
    # Aspect is not applicable in the analyzed language or is not predicted.
    ASPECT_UNKNOWN = 0

    # Perfective
    PERFECTIVE = 1

    # Imperfective
    IMPERFECTIVE = 2

    # Progressive
    PROGRESSIVE = 3
  end

  # The grammatical function performed by a noun or pronoun in a phrase,
  # clause, or sentence. In some languages, other parts of speech, such as
  # adjective and determiner, take case inflection in agreement with the noun.
  module Case
    # Case is not applicable in the analyzed language or is not predicted.
    CASE_UNKNOWN = 0

    # Accusative
    ACCUSATIVE = 1

    # Adverbial
    ADVERBIAL = 2

    # Complementive
    COMPLEMENTIVE = 3

    # Dative
    DATIVE = 4

    # Genitive
    GENITIVE = 5

    # Instrumental
    INSTRUMENTAL = 6

    # Locative
    LOCATIVE = 7

    # Nominative
    NOMINATIVE = 8

    # Oblique
    OBLIQUE = 9

    # Partitive
    PARTITIVE = 10

    # Prepositional
    PREPOSITIONAL = 11

    # Reflexive
    REFLEXIVE_CASE = 12

    # Relative
    RELATIVE_CASE = 13

    # Vocative
    VOCATIVE = 14
  end

  # Depending on the language, Form can be categorizing different forms of
  # verbs, adjectives, adverbs, etc. For example, categorizing inflected
  # endings of verbs and adjectives or distinguishing between short and long
  # forms of adjectives and participles
  module Form
    # Form is not applicable in the analyzed language or is not predicted.
    FORM_UNKNOWN = 0

    # Adnomial
    ADNOMIAL = 1

    # Auxiliary
    AUXILIARY = 2

    # Complementizer
    COMPLEMENTIZER = 3

    # Final ending
    FINAL_ENDING = 4

    # Gerund
    GERUND = 5

    # Realis
    REALIS = 6

    # Irrealis
    IRREALIS = 7

    # Short form
    SHORT = 8

    # Long form
    LONG = 9

    # Order form
    ORDER = 10

    # Specific form
    SPECIFIC = 11
  end

  # Gender classes of nouns reflected in the behaviour of associated words.
  module Gender
    # Gender is not applicable in the analyzed language or is not predicted.
    GENDER_UNKNOWN = 0

    # Feminine
    FEMININE = 1

    # Masculine
    MASCULINE = 2

    # Neuter
    NEUTER = 3
  end

  # The grammatical feature of verbs, used for showing modality and attitude.
  module Mood
    # Mood is not applicable in the analyzed language or is not predicted.
    MOOD_UNKNOWN = 0

    # Conditional
    CONDITIONAL_MOOD = 1

    # Imperative
    IMPERATIVE = 2

    # Indicative
    INDICATIVE = 3

    # Interrogative
    INTERROGATIVE = 4

    # Jussive
    JUSSIVE = 5

    # Subjunctive
    SUBJUNCTIVE = 6
  end

  # Count distinctions.
  module Number
    # Number is not applicable in the analyzed language or is not predicted.
    NUMBER_UNKNOWN = 0

    # Singular
    SINGULAR = 1

    # Plural
    PLURAL = 2

    # Dual
    DUAL = 3
  end

  # The distinction between the speaker, second person, third person, etc.
  module Person
    # Person is not applicable in the analyzed language or is not predicted.
    PERSON_UNKNOWN = 0

    # First
    FIRST = 1

    # Second
    SECOND = 2

    # Third
    THIRD = 3

    # Reflexive
    REFLEXIVE_PERSON = 4
  end

  # This category shows if the token is part of a proper name.
  module Proper
    # Proper is not applicable in the analyzed language or is not predicted.
    PROPER_UNKNOWN = 0

    # Proper
    PROPER = 1

    # Not proper
    NOT_PROPER = 2
  end

  # Reciprocal features of a pronoun.
  module Reciprocity
    # Reciprocity is not applicable in the analyzed language or is not
    # predicted.
    RECIPROCITY_UNKNOWN = 0

    # Reciprocal
    RECIPROCAL = 1

    # Non-reciprocal
    NON_RECIPROCAL = 2
  end

  # Time reference.
  module Tense
    # Tense is not applicable in the analyzed language or is not predicted.
    TENSE_UNKNOWN = 0

    # Conditional
    CONDITIONAL_TENSE = 1

    # Future
    FUTURE = 2

    # Past
    PAST = 3

    # Present
    PRESENT = 4

    # Imperfect
    IMPERFECT = 5

    # Pluperfect
    PLUPERFECT = 6
  end

  # The relationship between the action that a verb expresses and the
  # participants identified by its arguments.
  module Voice
    # Voice is not applicable in the analyzed language or is not predicted.
    VOICE_UNKNOWN = 0

    # Active
    ACTIVE = 1

    # Causative
    CAUSATIVE = 2

    # Passive
    PASSIVE = 3
  end
end

#voice::Google::Cloud::Language::V1::PartOfSpeech::Voice

Returns The grammatical voice.

Returns:



271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 271

class PartOfSpeech
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The part of speech tags enum.
  module Tag
    # Unknown
    UNKNOWN = 0

    # Adjective
    ADJ = 1

    # Adposition (preposition and postposition)
    ADP = 2

    # Adverb
    ADV = 3

    # Conjunction
    CONJ = 4

    # Determiner
    DET = 5

    # Noun (common and proper)
    NOUN = 6

    # Cardinal number
    NUM = 7

    # Pronoun
    PRON = 8

    # Particle or other function word
    PRT = 9

    # Punctuation
    PUNCT = 10

    # Verb (all tenses and modes)
    VERB = 11

    # Other: foreign words, typos, abbreviations
    X = 12

    # Affix
    AFFIX = 13
  end

  # The characteristic of a verb that expresses time flow during an event.
  module Aspect
    # Aspect is not applicable in the analyzed language or is not predicted.
    ASPECT_UNKNOWN = 0

    # Perfective
    PERFECTIVE = 1

    # Imperfective
    IMPERFECTIVE = 2

    # Progressive
    PROGRESSIVE = 3
  end

  # The grammatical function performed by a noun or pronoun in a phrase,
  # clause, or sentence. In some languages, other parts of speech, such as
  # adjective and determiner, take case inflection in agreement with the noun.
  module Case
    # Case is not applicable in the analyzed language or is not predicted.
    CASE_UNKNOWN = 0

    # Accusative
    ACCUSATIVE = 1

    # Adverbial
    ADVERBIAL = 2

    # Complementive
    COMPLEMENTIVE = 3

    # Dative
    DATIVE = 4

    # Genitive
    GENITIVE = 5

    # Instrumental
    INSTRUMENTAL = 6

    # Locative
    LOCATIVE = 7

    # Nominative
    NOMINATIVE = 8

    # Oblique
    OBLIQUE = 9

    # Partitive
    PARTITIVE = 10

    # Prepositional
    PREPOSITIONAL = 11

    # Reflexive
    REFLEXIVE_CASE = 12

    # Relative
    RELATIVE_CASE = 13

    # Vocative
    VOCATIVE = 14
  end

  # Depending on the language, Form can be categorizing different forms of
  # verbs, adjectives, adverbs, etc. For example, categorizing inflected
  # endings of verbs and adjectives or distinguishing between short and long
  # forms of adjectives and participles
  module Form
    # Form is not applicable in the analyzed language or is not predicted.
    FORM_UNKNOWN = 0

    # Adnomial
    ADNOMIAL = 1

    # Auxiliary
    AUXILIARY = 2

    # Complementizer
    COMPLEMENTIZER = 3

    # Final ending
    FINAL_ENDING = 4

    # Gerund
    GERUND = 5

    # Realis
    REALIS = 6

    # Irrealis
    IRREALIS = 7

    # Short form
    SHORT = 8

    # Long form
    LONG = 9

    # Order form
    ORDER = 10

    # Specific form
    SPECIFIC = 11
  end

  # Gender classes of nouns reflected in the behaviour of associated words.
  module Gender
    # Gender is not applicable in the analyzed language or is not predicted.
    GENDER_UNKNOWN = 0

    # Feminine
    FEMININE = 1

    # Masculine
    MASCULINE = 2

    # Neuter
    NEUTER = 3
  end

  # The grammatical feature of verbs, used for showing modality and attitude.
  module Mood
    # Mood is not applicable in the analyzed language or is not predicted.
    MOOD_UNKNOWN = 0

    # Conditional
    CONDITIONAL_MOOD = 1

    # Imperative
    IMPERATIVE = 2

    # Indicative
    INDICATIVE = 3

    # Interrogative
    INTERROGATIVE = 4

    # Jussive
    JUSSIVE = 5

    # Subjunctive
    SUBJUNCTIVE = 6
  end

  # Count distinctions.
  module Number
    # Number is not applicable in the analyzed language or is not predicted.
    NUMBER_UNKNOWN = 0

    # Singular
    SINGULAR = 1

    # Plural
    PLURAL = 2

    # Dual
    DUAL = 3
  end

  # The distinction between the speaker, second person, third person, etc.
  module Person
    # Person is not applicable in the analyzed language or is not predicted.
    PERSON_UNKNOWN = 0

    # First
    FIRST = 1

    # Second
    SECOND = 2

    # Third
    THIRD = 3

    # Reflexive
    REFLEXIVE_PERSON = 4
  end

  # This category shows if the token is part of a proper name.
  module Proper
    # Proper is not applicable in the analyzed language or is not predicted.
    PROPER_UNKNOWN = 0

    # Proper
    PROPER = 1

    # Not proper
    NOT_PROPER = 2
  end

  # Reciprocal features of a pronoun.
  module Reciprocity
    # Reciprocity is not applicable in the analyzed language or is not
    # predicted.
    RECIPROCITY_UNKNOWN = 0

    # Reciprocal
    RECIPROCAL = 1

    # Non-reciprocal
    NON_RECIPROCAL = 2
  end

  # Time reference.
  module Tense
    # Tense is not applicable in the analyzed language or is not predicted.
    TENSE_UNKNOWN = 0

    # Conditional
    CONDITIONAL_TENSE = 1

    # Future
    FUTURE = 2

    # Past
    PAST = 3

    # Present
    PRESENT = 4

    # Imperfect
    IMPERFECT = 5

    # Pluperfect
    PLUPERFECT = 6
  end

  # The relationship between the action that a verb expresses and the
  # participants identified by its arguments.
  module Voice
    # Voice is not applicable in the analyzed language or is not predicted.
    VOICE_UNKNOWN = 0

    # Active
    ACTIVE = 1

    # Causative
    CAUSATIVE = 2

    # Passive
    PASSIVE = 3
  end
end