LinguLab API Architecture

API provides following main blocks:

Explore API methods

Try LinguLab API

Try LinguLab API with minimum parameters in fast way:
  • Use Login method with username and password parameters. Get authentication key from returned result.
  • Call ProcessText method with "Text" (HTML value) property of inputData parameter and specify authentication key as second parameter. Get analysis result panel HTML from "MeasureStarsHtml" property of returned result.
  • Output analysis result panel HTML to your website.
Note: in case "ConfigurationId" and "LanguageKey" properties does not set for inputData parameter of ProcessText method default value will be used for analysis.

Important web.config setting (.NET Cleint)

Please note that Visual Studio generates (when API reference is added) default binding with small returned content string length value. Some API methods return result bigger than default binding value. In this case method call will throw an exception. Please use following binding setting in web.config file (configuration/system.serviceModel/bindings/basicHttpBinding section) with extended "maxStringContentLength" value:

<binding name="LiveServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="65536" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="Transport">
<transport clientCredentialType="None" proxyCredentialType="None" realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />