semantria / semantria-sdk Goto Github PK
View Code? Open in Web Editor NEWSemantria SDK
Semantria SDK
Gson typeadapter uses private fields name for mapping java fields to json object keys. Since private fields in Opinion class are prefixed with m_
compared with the json object keys, the mapping is incorrect.
We noticed one of our builds that depended on semantria-sdk 3.0.70 began failing this morning. After hunting around we found the commits here to rename the package. We're ok with adjusting the name of the dependency but it also appears that the older releases with the new name are missing from PyPI. Any chance you could preserve the old package and versions? We're also happy to begin using one of the newer releases but need a chance to test it for a while first.
Do you have a maven reporsitory or some way to incorporate your SDK into a java build via gradle?
jitpack.io offers a package repository as a service if you have any releases in your github project, but there are currently no releases so jitpack builds would be on a per-commit basis
I want to use Semantria in iOS app, so Where is the C++ or Objective-C SDK?
is there a way to send a url to extract information instead of document?
Your online demo just require send a link and then get the main text for that link. hope it is included in the sdk as well.
Other, do you mind share something on extracting the main text from a link?
Thank you
I got the problem for just importing semantria:
import semantria, time, uuid
Traceback (most recent call last):
File "", line 1, in
File "build/bdist.macosx-10.6-intel/egg/semantria/init.py", line 3, in
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/semantria_sdk-4.1.85-py2.7.egg/semantria/session.py", line 453
raise SemantriaError('Parameter not found: %s' % doc_id).
^
SyntaxError: invalid syntax
Already installed:
pip install semantria_sdk
Requirement already satisfied (use --upgrade to upgrade): semantria-sdk in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/semantria_sdk-4.1.85-py2.7.egg
my python and pip:
172-16-245-216:crawler stream$ which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
172-16-245-216:crawler stream$ which pip
/Library/Frameworks/Python.framework/Versions/2.7/bin/pip
Im testing python API now and got 412 error.
Traceback (most recent call last):
File "keywordsextraction.py", line 133, in
extractinfoAslist([nytpage.contentpall])
File "keywordsextraction.py", line 59, in extractinfoAslist
status = session.queueCollection({"id": collection_id, "documents": textlist})
File "build/bdist.macosx-10.6-intel/egg/semantria/session.py", line 504, in queueCollection
File "build/bdist.macosx-10.6-intel/egg/semantria/session.py", line 643, in _runRequest
File "build/bdist.macosx-10.6-intel/egg/semantria/session.py", line 649, in _resolveError
httplib.HTTPException: (413, 'Request Entity Too Large')
I use the exact amount of same text in the online demo and that’s totally fine. the # of words actually even smaller than the source.txt in the example folder.
Is there anyway to sole the problem?
Publish NuGet package for .NET SDK, please.
Can someone please provide api url for semantria.
Hello,
The Semantria API calls made by the Python SDK are failing with the "CERTIFICATE_VERIFY_FAILED" error when using Python 2.7.9+. Apparently the issue can be traced to PEP 0476: Enabling certificate verification by default for stdlib http clients.
I've tried upgrading my root certificates, using the latest versions of OpenSSL, pyOpenSSL and so on, nothing helped.
Have you seen this issue before?
Thanks.
More details on the issue can be found here:
hello
I created a new account.
when I try to run the demo app I get
ERROR: {u'status': 400, u'message': 'Daily number of concurrent unique JOB_IDs per license has been reached.'}
all the best.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.