Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

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 6246ef9 commit 223d614
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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 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 223d614

Please sign in to comment.