Improving custom models for Watson programmatically - ibm-watson

Is there any way to programmatically load documents into WKS (Watson Knowledge Studio) create an annotation set and task and annotate the document programmatically?
Having that may allow improving custom models from external apps that may prompt users to identify if the NLP analysis of some text was correct or not for their domain context.

Unfortunately, WKS currently does not provide any APIs that external apps can use.

Related

Using a Watson knowledge-studio model directly

Has anyone ever tried to use the model that has been generated by the Watson Knowledge studio outside of the Alchemy language API?
Or do I always need to upload the model to knowledge studio and from then on talk to the api?
Though I have always used my Knowledge Studio based models on Natural Language Understanding, I believe it's possible to deploy these models to Discovery and Watson Explorer as well for text extraction.
Check this documentation for details on how to deploy the model to different components.

With MicrosoftGraph SDK how do you add extension property to user

There is a huge problem with documentation for Microsoft Graph where only set up of initial project is described. Where could I check documentation with examples of how to use Microsoft Graph SDK for example for adding extension property to user or group?
AFAIK, Microsoft provides two ways to add custom data to resources using extensions, open extensions and schema extensions.
Open extensions is the recommended solution for most scenarios involving storing and accessing custom data. If, however, you need to access custom data for Outlook MAPI properties that are not already exposed through the Microsoft Graph API metadata, you can use extended properties and its REST API. You can verify which properties the metadata exposes at https://graph.microsoft.com/v1.0/$metadata.
More detail about the difference about these two scenarios you can refer this link.
And based on the test, I am not able to find the corresponding method for create an open extensions or sechma extensions using the latest version of Microsoft Graph SDK. I suggest that you using the REST as a workaround. And for the detailed of request, you can follow the links below:
Add custom data to users using open extensions
Add custom data to groups using schema extensions
We are busy adding open and schema extension functionality to the SDKs, and we'll come back to this thread when the SDKs are updated. You can also find SDK info and instructions and basic documentation from here. In general we only fully document our REST APIs - the SDKs follow a very similar addressing pattern to the REST APIs, and individual SDK documentation may call out particular scenarios like how to page through collections using the SDK.
We'd love to hear more from you on your documentation and SDK requirements, if this doesn't meet your needs.
(Also please ignore the highlighted text in the last answer - this text needs to be fixed and is more targeted to the Outlook resources like messages and events.)
Hope this helps,

Suggested Language for Web-Based Intranet/Database

Hate to ask a question this borderline generic, but I'm looking to build a web based program that combines our company intranet with a forms-based database. I would be looking at Oracle's database product except that this definitely needs to be web based.
I'm currently investigating using Alfresco (java-based) as a repository, and some PHP engine for the front end. Does anyone know of PHP issues when the task at hand becomes too involved (I'm an amateur, mind you), compared to Python, for example? I would eventually like to be able to scale this project upward, even if I hired someone else to do it.
Pre-built modules would definitely help with the workload. I know Drupal has many, but I've never perused compilations of modules for other languages. I think the availability of modules may be the most important factor!
Alfresco is great for managing content (e.g. documents or static html pages) in a collaborative manner. It has excellent tie-ins to the desktop with WebDav integration. Drupal is better for more dynamic web content and more flexible web pages. Not quite sure what you mean by forms-based content.
With Drupal's CCK module (now mostly built into Drupal 7) and Views - you can create forms (as content types) for people to fill out and then present the results as either lists, tables, grids of nodes or almost any other filterable, list presentation you can think of using Views.
Every page in Drupal is really just a form that collects content to present in a particular way (e.g. the standard page is a Title field and a Body field), but a user profile is just another type of content form with a different set of fields.
Alfresco is currently getting better at Web Content Management (WCM). They recently rewrote the WCM feature set completely, and provide a Quick Start sample to, well, get you started quickly. Alfresco would provide you with a collaborative editing platform, with workflows, ACLs and extensive remoting capabilities (huge, extensible REST API, WebDAV, CMIS). You'll have configurable forms based content creation, plus a platform for your intranet.
The front end for Alfresco WCM would be than written using CMIS to retrieve content from Alfresco, APIs are available for Java, Python and PHP.

How to localize MVC with database backed resources

I have read most of the literature Google and SO provides on this (correct me if I've missed something).
What I am trying to do is to localize an MVC site using resources, I want the compiletime safety of strongly typed resource files (ResX) but the flexibility of the ASP.NET 2.0 Resource-Provider Model, or something similar to that. I dont mind doing some work but it seems all paths I've researched lead to a dead end.
For displaying localized text in views I can hack together a helper to pull resources from HttpContext.Get(Global|Local)ResourceObject but that gets me nowhere when it comes to model validation and scaffolding, I suppose I could subclass the attributes and provide data but since it means pulling stuff from HttpContext I doubt that is available at the time the attributes are activated.
Since the direction localization in MVC seems to be toward ResX files and away from the 2.0 Resource-Provider model I could try to inject myself in the classes generated by the ResXFileCodeGenerator with a custom ResXFileCodeGenerator to provide my own ResourceProvider but that is terribly hackish involving custom Visual Studio Addins and codegeneration.
So my question is basically, what's the story with flexible MVC localization?
The referenced literature below:
http://adamyan.blogspot.com/2010/02/aspnet-mvc-2-localization-complete.html
http://msdn.microsoft.com/en-us/library/aa905797.aspx
http://www.eworldui.net/blog/post/2008/10/ASPNET-MVC-Simplified-Localization-via-ViewEngines.aspx
http://ryanrivest.com/blog/archive/2010/01/15/reusable-validation-error-message-resource-strings-for-dataannotations.aspx
http://www.codeproject.com/KB/dotnet/ResXFileCodeGeneratorEx.aspx
A resource provider should work fine (i.e. http://msdn.microsoft.com/en-us/library/aa905797.aspx). I've been using this in some projects with a SQL Server backed provider, works fine. It allows you to use all ASP.NET localization features and all the validation attribute translations using resources as well.
Please try a dedicated NuGet package for localization of MVC applications with database resources:
Globsite.Globalization.Mvc
It is built on the native ASP.NET Resource-Provider Model, so it can be integrated with your application in the similar way like standard ResX resources.
What is more, the library allow you to generate Strongly Typed Resources just with a single click, if you need.
The project site with more details:
globsite.net/GlobsiteGlobalizationLibrary

Bindind DataTable with silverlight Datagrid

I am writing an app which is to be intranet based .I am trying to use silverlight with Ado.net Just like I write my aspx pages. BUt I have not found how to connect datatable generated from my class directly to my silverlight interfaces.
ANy tut that can help me with this.
Silverlight cannot connect to a database directly, it only supports webservice access. Here are two links to get you started:
http://wildermuth.com/2009/09/29/Choosing_a_Data_Access_Layer_for_Silverlight_3
http://www.c-sharpcorner.com/uploadfile/nipuntomar/dataaccesssilverlightenabledwcfservice07152008013110am/dataaccesssilverlightenabledwcfservice.aspx
Or just google "silverlight data access" and you will get plenty of hits.
If you insist on using DataTables, you may take a look at the BindableDataGrid project which includes these.
I however strongly recommend against. A better approach for dynamic data would perhaps be to use some kind of DynamicEntity class.

Resources