Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Gets full details of a word count profile.

This API method is available from September 2021


URL

(GET) /api/settings/wordcountprofiles/{id}

PARAMETERS

The URL parameters are:

id

The profile ID.

See settings/wordcountprofiles/list to enumerate all profiles.

int, Mandatory

RESULTS

The result is a JSON object:

id

The profile ID

int
nameName of profile.string
commentsOptional comments included with the profile.string?



*To be documented....


EXAMPLES

Excerpt of profile options:

{
    "id": 203,
    "name": "Sample profile",
    "comments": "My sample profile",
    "algorithm": 0,
    "fuzzy": [
        {
            "min": 100,
            "max": 110
        },
        {
            "min": 95,
            "max": 99
        },
        {
            "min": 75,
            "max": 94
        }
    ],
    "fuzzy1": 100,
    "fuzzy2": 95,
    "fuzzy3": 75,
    "fuzzy4": null,
    "fuzzy5": null,
    "matchRateAdjustment": 0,
    "pretrans": true,
    "pretransMin": 75,
    "pretransProjectMemory": false,
    "mt": true,
    "mtExcludeRepetitions": false,
    "mtSystems": [
        600
    ],
    "countTranslatedAsPretrans": false,
    "countNonTranslatable": {
        "Human": false,
        "RefMaterialIdentical": false,
        "RefMaterialFuzzy": false,
        "RuleBased": false,
        "MachineTranslation": false,
        "PreviousVersion": true,
        "PreviousVersionCtx": true,
        "MachineCorrection": false,
        "RefMaterialCtx": false
    },
    "lockTranslations": {
        "Human": false,
        "RefMaterialIdentical": false,
        "RefMaterialFuzzy": false,
        "RuleBased": false,
        "MachineTranslation": false,
        "PreviousVersion": false,
        "PreviousVersionCtx": false,
        "MachineCorrection": false,
        "RefMaterialCtx": false
    },
    "adjustPlaceables": true,
    "fixMarkup": true,
    "repetitions": {
        "enabled": true,
        "identicalsOnly": false,
        "translatedOnly": false,
        "lock": false
    },
    "contextPromotion": 0,
    "algorithms": {
        "CAT": {
            "countAlphanumericAsWord": false,
            "countNumbersAsSeparateWord": false,
            "countStandaloneNumbersAsWord": false,
            "countSymbolsAsSeparateWord": false,
            "countStandaloneSymbolsAsWord": true,
            "countAsianCharAsWord": false,
            "countDateAsSingleWord": true,
            "countMeasurementAsSingleWord": true,
            "includeTradosSpecificRules": true
        },
        "MSWord": {
            "specialExclusions": "None",
            "countSpaces": false
        }
    },
    "updated": "2020-12-08T10:49:02.757Z"
}


 



  • No labels