Skip to content

Commit 473c88a

Browse files
committed
updating copyright date
1 parent a4c5faa commit 473c88a

22 files changed

+27
-106
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# coding=utf-8
22
import json
3-
from watson_developer_cloud import LanguageTranslatorV2
3+
from watson_developer_cloud import LanguageTranslationV2
44

5-
language_translator = LanguageTranslatorV2(
5+
language_translation = LanguageTranslationV2(
66
username='YOUR SERVICE USERNAME',
77
password='YOUR SERVICE PASSWORD')
88

@@ -11,17 +11,17 @@
1111
# print(json.dumps(language_translator.create_model(
1212
# base_model_id='en-fr', name='test_glossary', forced_glossary=custom_model), indent=2))
1313

14-
print(json.dumps(language_translator.get_models(), indent=2))
14+
print(json.dumps(language_translation.get_models(), indent=2))
1515

16-
print(json.dumps(language_translator.get_model('en-es-conversational'), indent=2))
16+
print(json.dumps(language_translation.get_model('en-es-conversational'), indent=2))
1717

1818
# delete custom model
1919
# print(json.dumps(language_translator.delete_model('13860c86-ec3f-4e60-8cbe-3ef0048f92af'), indent=2))
2020

21-
print(json.dumps(language_translator.translate('Hola, cómo estás? €', source='es', target='en'), indent=2,
21+
print(json.dumps(language_translation.translate('Hola, cómo estás? €', source='es', target='en'), indent=2,
2222
ensure_ascii=False))
2323

24-
print(json.dumps(language_translator.identify('Hello how are you?'), indent=2))
24+
print(json.dumps(language_translation.identify('Hello how are you?'), indent=2))
2525

2626

27-
print(json.dumps(language_translator.get_identifiable_languages(), indent=2))
27+
print(json.dumps(language_translation.get_identifiable_languages(), indent=2))

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
# Copyright 2015 IBM All Rights Reserved.
2+
# Copyright 2016 IBM All Rights Reserved.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

watson_developer_cloud/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2015 IBM All Rights Reserved.
1+
# Copyright 2016 IBM All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -24,7 +24,6 @@
2424
from .document_conversion_v1 import DocumentConversionV1
2525
from .dialog_v1 import DialogV1
2626
from .language_translation_v2 import LanguageTranslationV2
27-
from .language_translator_v2 import LanguageTranslatorV2
2827
from .natural_language_classifier_v1 import NaturalLanguageClassifierV1
2928
from .personality_insights_v2 import PersonalityInsightsV2
3029
from .relationship_extraction_v1_beta import RelationshipExtractionV1Beta

watson_developer_cloud/alchemy_data_news_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2015 IBM All Rights Reserved.
1+
# Copyright 2016 IBM All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

watson_developer_cloud/alchemy_language_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2015 IBM All Rights Reserved.
1+
# Copyright 2016 IBM All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

watson_developer_cloud/alchemy_vision_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2015 IBM All Rights Reserved.
1+
# Copyright 2016 IBM All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

watson_developer_cloud/authorization_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2015 IBM All Rights Reserved.
1+
# Copyright 2016 IBM All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

watson_developer_cloud/concept_insights_v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2015 IBM All Rights Reserved.
1+
# Copyright 2016 IBM All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

watson_developer_cloud/dialog_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2015 IBM All Rights Reserved.
1+
# Copyright 2016 IBM All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

watson_developer_cloud/document_conversion_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2015 IBM All Rights Reserved.
1+
# Copyright 2016 IBM All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)