Skip to content

Commit

Permalink
docs(language): fixes typo in Natural Language samples (#10134)
Browse files Browse the repository at this point in the history
Changes "Parts of spech" to "Parts of speech".
  • Loading branch information
telpirion authored and Gurov Ilya committed Jan 16, 2020
1 parent b492bdc commit 4886d77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion language/samples/v1/language_syntax_gcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion language/samples/v1/language_syntax_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4886d77

Please sign in to comment.