Skip to content

Commit 08229f3

Browse files
committed
Packaged
1 parent fb7bdfe commit 08229f3

File tree

111 files changed

+3783
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+3783
-0
lines changed

FirstLanguage_PythonSDK.zip

-148 KB
Binary file not shown.

LICENSE

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
License:
2+
========
3+
The MIT License (MIT)
4+
http://opensource.org/licenses/MIT
5+
6+
Copyright (c) 2014 - 2020 APIMATIC Limited
7+
8+
Permission is hereby granted, free of charge, to any person obtaining a copy
9+
of this software and associated documentation files (the "Software"), to deal
10+
in the Software without restriction, including without limitation the rights
11+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
copies of the Software, and to permit persons to whom the Software is
13+
furnished to do so, subject to the following conditions:
14+
15+
The above copyright notice and this permission notice shall be included in
16+
all copies or substantial portions of the Software.
17+
18+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
THE SOFTWARE.
25+
26+
Trade Mark:
27+
==========
28+
APIMATIC is a trade mark for APIMATIC Limited

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
include LICENSE
2+
include README.md

__pycache__/TestSDK.cpython-39.pyc

772 Bytes
Binary file not shown.

examples/example_Stemmer.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
from firstlanguage.firstlanguage_client import Client
2+
from firstlanguage.configuration import Environment
3+
import jsonpickle
4+
5+
6+
client = Client(
7+
apikey='079cc45f-bbb2-4f01-ac27-63ff9a2d82b5',
8+
environment=Environment.PRODUCTION,)
9+
10+
reqbody='{"input":{"text":"அவள் வேகமாக ஓடினாள்","lang":"ta"} }'
11+
12+
body = jsonpickle.decode(reqbody)
13+
basic_api_controller = client.basic_api
14+
15+
result = basic_api_controller.get_stemmer(body)
16+
17+
for res in result:
18+
print("Original Text passed: "+res.orginal_text)
19+
print("Stemmed result: "+res.stem)

firstlanguage_python/__init__.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
__all__ = [
2+
'api_helper',
3+
'configuration',
4+
'controllers',
5+
'decorators',
6+
'exceptions',
7+
'firstlanguage_client',
8+
'http',
9+
'models',
10+
]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)