File tree Expand file tree Collapse file tree 2 files changed +19
-6
lines changed
Expand file tree Collapse file tree 2 files changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,13 @@ mvn clean compile assembly:single
3131```
3232
3333We can then run the assembled JAR file with the ` java ` command. The variable
34- $COMMAND takes two values ` detect' and ` translate'.
34+ $COMMAND takes two values ` detect ` and `translate'.
3535
3636```
3737MAIN_CLASS=com.google.cloud.translate.samples.TranslateText
3838JAR_FILE=target/translate-1.0-SNAPSHOT-jar-with-dependencies.jar
3939java -cp $JAR_FILE $MAIN_CLASS <detect|translate|langsupport> <text>
40- <optional_source> <optional_target>
40+ <optional_source> <optional_target>
4141```
4242
4343Example Usage:
@@ -50,7 +50,7 @@ TARGET_LANG="fr"
5050
5151Translate API Features:
5252
53- * Languages supported by the API
53+ * List the languages supported by the API
5454 ```
5555 java -cp $JAR_FILE $MAIN_CLASS langsupport
5656 ```
Original file line number Diff line number Diff line change 1- <?xml version =" 1.0" ?>
2- <project xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns =" http://maven.apache.org/POM/4.0.0"
3- xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" >
1+ <!--
2+ Copyright 2016 Google Inc. All Rights Reserved.
3+
4+ Licensed under the Apache License, Version 2.0 (the "License");
5+ you may not use this file except in compliance with the License.
6+ You may obtain a copy of the License at
7+
8+ http://www.apache.org/licenses/LICENSE-2.0
9+
10+ Unless required by applicable law or agreed to in writing, software
11+ distributed under the License is distributed on an "AS IS" BASIS,
12+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ See the License for the specific language governing permissions and
14+ limitations under the License.
15+ -->
16+ <project >
417 <modelVersion >4.0.0</modelVersion >
518 <groupId >com.google.cloud.translate.samples</groupId >
619 <artifactId >translate</artifactId >
You can’t perform that action at this time.
0 commit comments