From 223d6140145dcf5c48af206212db58a062a7937b Mon Sep 17 00:00:00 2001 From: Eric Schmidt Date: Thu, 16 Jan 2020 05:57:52 -0800 Subject: [PATCH] docs(language): fixes typo in Natural Language samples (#10134) Changes "Parts of spech" to "Parts of speech". --- samples/v1/language_syntax_gcs.py | 2 +- samples/v1/language_syntax_text.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/v1/language_syntax_gcs.py b/samples/v1/language_syntax_gcs.py index 74d88787..732f77df 100644 --- a/samples/v1/language_syntax_gcs.py +++ b/samples/v1/language_syntax_gcs.py @@ -64,7 +64,7 @@ def sample_analyze_syntax(gcs_content_uri): u"Location of this token in overall document: {}".format(text.begin_offset) ) # Get the part of speech information for this token. - # Parts of spech are as defined in: + # Parts of speech are as defined in: # http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf part_of_speech = token.part_of_speech # Get the tag, e.g. NOUN, ADJ for Adjective, et al. diff --git a/samples/v1/language_syntax_text.py b/samples/v1/language_syntax_text.py index 4b11d4d0..d1c3104e 100644 --- a/samples/v1/language_syntax_text.py +++ b/samples/v1/language_syntax_text.py @@ -63,7 +63,7 @@ def sample_analyze_syntax(text_content): u"Location of this token in overall document: {}".format(text.begin_offset) ) # Get the part of speech information for this token. - # Parts of spech are as defined in: + # Parts of speech are as defined in: # http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf part_of_speech = token.part_of_speech # Get the tag, e.g. NOUN, ADJ for Adjective, et al.