Skip to content

Commit 4c21e82

Browse files
alixhamibshaffer
authored andcommitted
Natural Language region tag update (GoogleCloudPlatform#684)
1 parent f70e9cf commit 4c21e82

10 files changed

+20
-20
lines changed

language/src/analyze_entities.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/language/README.md
2222
*/
2323

24-
# [START analyze_entities]
24+
# [START language_entities_text]
2525
namespace Google\Cloud\Samples\Language;
2626

2727
use Google\Cloud\Language\LanguageClient;
@@ -61,4 +61,4 @@ function analyze_entities($text, $projectId = null)
6161
printf(PHP_EOL);
6262
}
6363
}
64-
# [END analyze_entities]
64+
# [END language_entities_text]

language/src/analyze_entities_from_file.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/language/README.md
2222
*/
2323

24-
# [START analyze_entities_from_file]
24+
# [START language_entities_file_gcs]
2525
namespace Google\Cloud\Samples\Language;
2626

2727
use Google\Cloud\Language\LanguageClient;
@@ -68,4 +68,4 @@ function analyze_entities_from_file($bucketName, $objectName, $projectId = null)
6868
printf(PHP_EOL);
6969
}
7070
}
71-
# [END analyze_entities_from_file]
71+
# [END language_entities_file_gcs]

language/src/analyze_entity_sentiment.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/language/README.md
2222
*/
2323

24-
# [START analyze_entity_sentiment]
24+
# [START language_entity_sentiment_text]
2525
namespace Google\Cloud\Samples\Language;
2626

2727
use Google\Cloud\Language\LanguageClient;
@@ -62,4 +62,4 @@ function analyze_entity_sentiment($text, $projectId = null)
6262
printf(PHP_EOL);
6363
}
6464
}
65-
# [END analyze_entity_sentiment]
65+
# [END language_entity_sentiment_text]

language/src/analyze_entity_sentiment_from_file.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/language/README.md
2222
*/
2323

24-
# [START analyze_entity_sentiment_from_file]
24+
# [START language_entity_sentiment_file_gcs]
2525
namespace Google\Cloud\Samples\Language;
2626

2727
use Google\Cloud\Language\LanguageClient;
@@ -62,4 +62,4 @@ function analyze_entity_sentiment_from_file($cloud_storage_uri, $projectId = nul
6262
printf(PHP_EOL);
6363
}
6464
}
65-
# [END analyze_entity_sentiment_from_file]
65+
# [END language_entity_sentiment_file_gcs]

language/src/analyze_sentiment.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/language/README.md
2222
*/
2323

24-
# [START analyze_sentiment]
24+
# [START language_sentiment_text]
2525
namespace Google\Cloud\Samples\Language;
2626

2727
use Google\Cloud\Language\LanguageClient;
@@ -60,4 +60,4 @@ function analyze_sentiment($text, $projectId = null)
6060
printf(PHP_EOL);
6161
}
6262
}
63-
# [END analyze_sentiment]
63+
# [END language_sentiment_text]

language/src/analyze_sentiment_from_file.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/language/README.md
2222
*/
2323

24-
# [START analyze_sentiment_from_file]
24+
# [START language_sentiment_file_gcs]
2525
namespace Google\Cloud\Samples\Language;
2626

2727
use Google\Cloud\Language\LanguageClient;
@@ -67,4 +67,4 @@ function analyze_sentiment_from_file($bucketName, $objectName, $projectId = null
6767
printf(PHP_EOL);
6868
}
6969
}
70-
# [END analyze_sentiment_from_file]
70+
# [END language_sentiment_file_gcs]

language/src/analyze_syntax.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/language/README.md
2222
*/
2323

24-
# [START analyze_syntax]
24+
# [START language_syntax_text]
2525
namespace Google\Cloud\Samples\Language;
2626

2727
use Google\Cloud\Language\LanguageClient;
@@ -55,4 +55,4 @@ function analyze_syntax($text, $projectId = null)
5555
printf(PHP_EOL);
5656
}
5757
}
58-
# [END analyze_syntax]
58+
# [END language_syntax_text]

language/src/analyze_syntax_from_file.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/language/README.md
2222
*/
2323

24-
# [START analyze_syntax_from_file]
24+
# [START language_syntax_file_gcs]
2525
namespace Google\Cloud\Samples\Language;
2626

2727
use Google\Cloud\Language\LanguageClient;
@@ -62,4 +62,4 @@ function analyze_syntax_from_file($bucketName, $objectName, $projectId = null)
6262
printf(PHP_EOL);
6363
}
6464
}
65-
# [END analyze_syntax_from_file]
65+
# [END language_syntax_file_gcs]

language/src/classify_text.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/language/README.md
2222
*/
2323

24-
# [START language_classify_string]
24+
# [START language_classify_text]
2525
namespace Google\Cloud\Samples\Language;
2626

2727
use Google\Cloud\Language\LanguageClient;
@@ -64,4 +64,4 @@ function classify_text($text, $projectId = null)
6464
printf(PHP_EOL);
6565
}
6666
}
67-
# [END language_classify_string]
67+
# [END language_classify_text]

language/src/classify_text_from_file.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* @see https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/language/README.md
2222
*/
2323

24-
# [START language_classify_file]
24+
# [START language_classify_file_gcs]
2525
namespace Google\Cloud\Samples\Language;
2626

2727
use Google\Cloud\Language\LanguageClient;
@@ -54,4 +54,4 @@ function classify_text_from_file($cloud_storage_uri, $projectId = null)
5454
printf(PHP_EOL);
5555
}
5656
}
57-
# [END language_classify_file]
57+
# [END language_classify_file_gcs]

0 commit comments

Comments
 (0)