Do you have any questions? Just write us an email or ask us through the feedback section.

Examples

Here is an example of text categorization using MeaningCloud:

Categorize the feedback about a retail company in English using the VoC Retail model

We can use the follwing text:

Zara is great, lots of stylish and affordable clothes, shoes, and accessories.
  • Use the txt parameter to submit the text.
  • Include your MeaningCloud license key as value for key parameter.
  • Select value VoC-Retail_en as the value for the model parameter to use the corresponding model in English.
Example using curl
curl -XPOST "http://api.meaningcloud.com/deepcategorization-1.0?key=<<YOUR OWN KEY>>&txt=Zara%20is%20great%2C%20lots%20of%20stylish%20and%20affordable%20clothes%2C%20shoes%2C%20and%20accessories.&model=VoC-Retail_en"
MeaningCloud API output
{
    status: {
        code: "0",
        msg: "OK",
        credits: "1"
    },
    category_list: [
        {
            code: "Quality>Coverage>Product",
            label: "Availability of products",
            abs_relevance: "1",
            relevance: "100"
        },
        {
            code: "Quality>Satisfaction",
            label: "Satisfaction",
            abs_relevance: "1",
            relevance: "100"
        },
        {
            code: "Polarity>StrongPositive",
            label: "Strong positive",
            abs_relevance: "1",
            relevance: "100"
        },
        {
            code: "Condition>Price",
            label: "Price",
            abs_relevance: "1",
            relevance: "100"
        },
        {
            code: "Company>Zara",
            label: "Zara",
            abs_relevance: "1",
            relevance: "100"
        },
        {
            code: "Product>Garment",
            label: "Product",
            abs_relevance: "1",
            relevance: "100"
        },
        {
            code: "Product>Accessory",
            label: "Product",
            abs_relevance: "1",
            relevance: "100"
        }
    ]
}