Skip to content

Commit 270bad5

Browse files
telpirionGurov Ilya
authored and
Gurov Ilya
committed
docs(language): fixes typo in Natural Language samples (#10134)
Changes "Parts of spech" to "Parts of speech".
1 parent ee0fa30 commit 270bad5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

language/v1/language_syntax_gcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def sample_analyze_syntax(gcs_content_uri):
6464
u"Location of this token in overall document: {}".format(text.begin_offset)
6565
)
6666
# Get the part of speech information for this token.
67-
# Parts of spech are as defined in:
67+
# Parts of speech are as defined in:
6868
# http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf
6969
part_of_speech = token.part_of_speech
7070
# Get the tag, e.g. NOUN, ADJ for Adjective, et al.

language/v1/language_syntax_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def sample_analyze_syntax(text_content):
6363
u"Location of this token in overall document: {}".format(text.begin_offset)
6464
)
6565
# Get the part of speech information for this token.
66-
# Parts of spech are as defined in:
66+
# Parts of speech are as defined in:
6767
# http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf
6868
part_of_speech = token.part_of_speech
6969
# Get the tag, e.g. NOUN, ADJ for Adjective, et al.

0 commit comments

Comments
 (0)