{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ru/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Ответ","projectTitle":"Tisane Developer Documentation","description":"Tisane is an NLP platform, used for content moderation & more.","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"ответ","__idx":0},"children":["Ответ"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["В этом разделе подробно описаны все компоненты и структуры данных в структурах ответов, возвращаемых Tisane."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ответ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /parse"]}," включает разделы, которые могут быть отображены или скрыты в зависимости от предоставленных настроек. (Дополнительную информацию см. в ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/tisane-api-configuration"},"children":["Руководство по конфигурации и настройке"]},".)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Атрибуты корневого уровня:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["text"]}," (string) — исходный введенный текст."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["language"]}," (string) — обнаруженный код языка, если использовалась идентификация языка."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["reduced_output"]}," (boolean) — указывает, была ли пропущена подробная информация из-за размера входных данных."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sentiment"]}," (floating-point number) — оценка тональности на уровне документа (от -1 до 1). Отображается только в том случае, если для параметра ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["document_sentiment"]}," задано значение ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["signal2noise"]}," (floating-point number) — показатель релевантности, показывающий, насколько близко текст соответствует концепциям из параметра ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["relevant"]},". Это значение появляется только в том случае, если существует настройка ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["relevant"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"проблемный-контент","__idx":1},"children":["Проблемный контент"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tisane автоматически анализирует текст на предмет потенциального проблемного контента и отмечает их в реакциях."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["В разделе ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["abuse"]}," перечислены обнаруженные случаи контента, которые могут потребовать внимания модераторов или представлять интерес для правоохранительных органов."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Этот раздел появляется, если:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Обнаружены случаи проблемного контента;"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Параметр ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["abuse"]}," установлен на ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," (или пропущен)."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Сценарии использования могут различаться. Интеграторы и администраторы сообществ несут ответственность за то, следует ли реагировать на различные типы помеченного контента и как именно это делать."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Например: Возможно, нецелесообразно ограничивать сексуальные домогательства в приложении для знакомств или цензурировать ненормативную лексику в сообществах, где это общепринято, или ограничивать внешние контакты, если они разрешены."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Если вы ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["не"]}," хотите, чтобы в вашем ответе отображался проблемный контент, вам необходимо явно установить для параметра ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["abuse"]}," значение ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"атрибуты-контента","__idx":2},"children":["Атрибуты контента"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Каждый экземпляр содержит следующие атрибуты:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}," (string) - Тип нарушения"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["offset"]}," (unsigned integer) — начальная позиция экземпляра. Отсчет ведется от нуля."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["length"]}," (unsigned integer) — длина содержимого."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sentence_index"]}," (unsigned integer) — индекс предложения, содержащего экземпляр. Отсчет ведется от нуля."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["text"]}," (string) — фрагмент текста, содержащий экземпляр. Появляется только в том случае, если для параметра ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["snippets"]}," задано значение ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tags"]}," (array of strings) — дополнительные сведения о злоупотреблениях. Например: если фрагмент классифицируется как попытка продажи тяжелых наркотиков, экземпляр содержит тег ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["hard_drug"]},"tag."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["severity"]}," (string) — насколько серьезен факт злоупотребления. Уровни серьезности: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["low"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["medium"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["high"]}," и ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["extreme"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["explanation"]}," (string) — обоснование классификации (если включено ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["explain"]},")."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"поддерживаемые-типы","__idx":3},"children":["Поддерживаемые типы"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Поддерживаемые типы проблемного контента:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["personal_attack"]}," (личные нападки) - прямые оскорбления или нападки, направленные на отдельного человека. Например: случаи кибербуллинга. Примечание: Критика идей, постов или негативная тональность не является личным оскорблением. См. также: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/abuse/personalattack"},"children":["Личные нападки"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bigotry"]}," (нетерпимость) — разжигание ненависти или выражение нетерпимых мнений; враждебные высказывания, направленные на защищённые группы (религия, национальность, сексуальная ориентация, семейное положение, инвалидность, пол). Сюда входят не только расовые оскорбления, но и любые враждебные высказывания, направленные против группы в целом. См. также: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/abuse/hatespeechandbigotry"},"children":["Нетерпимость и разжигание ненависти"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["profanity"]}," (сквернословие) — использование ненормативной лексики независимо от контекста или намерения. Обратите внимание, что расовые оскорбления не попадают в этот тип. См. также: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/abuse/profanity"},"children":["Ненормативная лексика"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sexual_advances"]}," (cексуальные домогательства) - попытки, как желательные, так и нежелательные, добиться сексуальных услуг или удовлетворения. См. также: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/abuse/sexualadvances"},"children":["Сексуальные домогательства"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["criminal_activity"]}," (преступная деятельность) — контент, включающий попытки продать или приобрести незаконные предметы, заняться оказанием или приобретением преступных услуг, или высказывание угроз физической расправы. См. также: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/abuse/criminalactivity"},"children":["Преступная деятельность"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["external_contact"]}," - попытки инициировать общение или оплату через внешние каналы. Например: Телефон, электронная почта, приложения для обмена сообщениями. Подобные попытки могут нарушать правила определенных сообществ, например, платформ гиг-экономики или сайтов электронной коммерции. См. также: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/abuse/externalcontact"},"children":["Попытки установить внешний контакт"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["adult_only"]}," (только для взрослых) - действия и темы, неприемлемые для несовершеннолетних. Например: Употребление алкоголя. См. также: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/abuse/adultonly"},"children":["Контент только для взрослых"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mental_issues"]}," (проблемы с психикой) — контент, который может указывать на проблемы с психическим здоровьем, такие как мысли о самоубийстве или признаки депрессии. См. также: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/abuse/mental"},"children":["Проблемы с психическим здоровьем"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["allegation"]}," (обвинение) — обвинения в неправомерном преступном поведении, или деятельности, о которой обычно не распространяются. См. также: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/abuse/allegation"},"children":["Обвинения"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["contentious"]}," (противоречивое) — контент, который может спровоцировать эмоциональную реакцию у отдельных лиц или групп. См. также: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/abuse/contentious"},"children":["Противоречивый контент"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["disturbing"]}," (тревожное) - графические или тревожные описания, которые могут огорчить читателей. См. также: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/abuse/disturbing"},"children":["Графический контент"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["no_meaningful_content"]}," (нет осмысленного контента) - текст, не имеющий смысла. См. также: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/abuse/nomeaningfulcontent"},"children":["Бессмысленный контент"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data_leak"]}," (утечка данных) - Опубликованные конфиденциальные данные. Например: пароли, идентификационные номера. См. также: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/abuse/dataleak"},"children":["Утечки данных"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["spam"]}," (спам) - Спам-контент. См. также: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/abuse/spam"},"children":["Спам"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["social_hierarchy"]}," (социальная иерархия) - попытки силового утверждения иерархии в сообществе. См. также: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/abuse/socialhierarchy"},"children":["Утверждение иерархии"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["generic"]}," — проблемный контент, который не вписывается ни в одну определенную категорию."]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"анализ-тональности","__idx":4},"children":["Анализ тональности"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Раздел ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sentiment_expressions"]}," включает в себя отношение к аспектам или сущностям."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Этот раздел появляется, если:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Найдены случаи, когда чувства выражаются; и"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Параметр ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sentiment"]}," установлен на ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," (или опущен)."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Каждый экземпляр содержит следующие атрибуты:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["offset"]}," (unsigned integer) — начальная позиция экземпляра. Отсчет ведется от нуля."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["length"]}," (unsigned integer) — длина содержимого."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sentence_index"]}," (unsigned integer) — индекс предложения, содержащего экземпляр. Отсчет ведется от нуля."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["text"]}," (string) — фрагмент текста, содержащий экземпляр (если параметр ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["snippets"]}," имеет значение ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},")."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["polarity"]}," (string) — указывает на тон текста: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["positive"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["negative"]}," или ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mixed"]},". Также существует значение по умолчанию, используемое в случае, когда тональность заранее определена приложением. Например: если обзор разделен на две части: ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Что вам понравилось?"]}," и ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Что вам не понравилось?"]},", которые не посылаются Tisane-у, а рецензент отвечает кратко: ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Тишина. Служба"]},", полярность ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["по умолчанию"]}," позволяет приложению назначать настроение извне на основе контекста."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["targets"]}," (array of strings) — перечисляет конкретные аспекты или сущности, к которым относится мнение, если таковые имеются. Например, в предложении ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Завтрак был вкусным, но персонал недружелюбный"]}," целевыми настроениями являются ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["food"]}," и ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["staff"]},". Именованные сущности также могут быть целями настроений."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["reasons"]}," (array of strings) — обоснования мнения, если таковые имеются. Например, в предложении ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Завтрак был вкусным, но персонал недружелюбный"]}," массив ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["reasons"]}," для аспекта ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["персонал"]}," — это ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["[\"unfriendly\"]"]},", а массив ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["reasons"]}," для ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["завтрак"]}," — это ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["[\"tasty\"]"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["explanation"]}," (string) — обоснование мнения (если включена установка ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["explain"]},")."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Пример:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"\"sentiment_expressions\": [\n   {\n       \"sentence_index\": 0,\n        \"offset\": 0,\n        \"length\": 32,\n        \"polarity\": \"positive\",\n        \"reasons\": [\"close\"],\n        \"targets\": [\"location\"]\n    },\n    {\n       \"sentence_index\": 0,\n        \"offset\": 38,\n        \"length\": 29,\n        \"polarity\": \"negative\",\n        \"reasons\": [\"disrespectful\"],\n        \"targets\": [\"staff\"]\n    }\n]\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"именованные-объекты","__idx":5},"children":["Именованные объекты"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["В разделе ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["entities_summary"]}," перечислены обнаруженные в тексте объекты."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Этот раздел появляется, если:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Названные объекты найдены, и:"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Параметр ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["entities"]}," установлен на ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," (или пропущен)."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Каждый объект содержит следующие атрибуты:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["name"]}," (string) — Наиболее полная форма названия объекта, встречающаяся в тексте во всех упоминаниях."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ref_lemma"]}," (string) — словарная форма (лемма) объекта на английском языке, если она доступна, независимо от языка ввода."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}," (string or array of strings) — определяет тип объекта. Некоторые объекты могут иметь несколько типов. Страна (или любое другое геополитическое образование, объявляющее себя страной, даже если оно не общепризнано в качестве такового) считается одновременно местом и организацией."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subtype"]}," (string) — указывает более подробную классификацию в пределах типа объекта."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mentions"]}," (array of objects) — выводит список всех случаев, когда объект появляется в тексте."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Каждое упоминание содержит следующие атрибуты:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["offset"]}," (unsigned integer) — начальная позиция экземпляра. Отсчет ведется от нуля."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["length"]}," (unsigned integer) — длина содержимого."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sentence_index"]}," (unsigned integer) — индекс предложения, содержащего экземпляр. Отсчет ведется от нуля."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["text"]}," (string) — фрагмент текста, содержащий экземпляр (если параметр ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["snippets"]}," имеет значение ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},")."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Пример:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"\"entities_summary\": [\n       {\n           \"type\": \"person\",\n            \"name\": \"John Smith\",\n            \"ref_lemma\": \"John Smith\",\n            \"mentions\": [\n               {\n                   \"sentence_index\": 0,\n                    \"offset\": 0,\n                    \"length\": 10 }\n            ]\n        }\n   ,\n        {\n           \"type\": [ \"organization\", \"place\" ]\n       ,\n            \"name\": \"UK\",\n            \"ref_lemma\": \"U.K.\",\n            \"mentions\": [\n               {\n                   \"sentence_index\": 0,\n                    \"offset\": 40,\n                    \"length\": 2 }\n            ]\n        }\n    ]\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"типы-и-подтипы-именованных-объектов","__idx":6},"children":["Типы и подтипы именованных объектов"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["В настоящее время поддерживаются следующие типы объектов:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["person"]}," — имя человека. С дополнительными подтипами: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fictional_character"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["important_person"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["spiritual_being"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["organization"]}," — название организации. Примечание: Страна — это и организация, и место"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["place"]}," — место"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["time_range"]}," — временной диапазон"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["date"]}," — дата"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["time"]}," — время"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["hashtag"]}," — хэштег"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["email"]}," — адрес электронной почты"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["amount_of_money"]}," - сумма денег"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["phone"]}," — номер телефона, как внутренний, так и международный, в различных форматах."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["role"]}," — социальная роль. Например: Должность в организации."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["software"]}," — пакет программного обеспечения"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["website"]}," — адрес вебсайта ; Примечание: веб-службам также может быть назначен тип ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["software"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["item_of_interest"]}," — Любой тип артефакта, представляющий потенциальный интерес для расследования. Например: оружие, наркотики, транспортные средства, предметы роскоши"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["weight"]}," — вес"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bank_account"]}," В настоящее время поддерживается только формат IBAN; подтипы: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["iban"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["credit_card"]}," — номер кредитной карты с дополнительными подтипами: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["visa"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mastercard"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["american_express"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["diners_club"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["discovery"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["jcb"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["unionpay"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["coordinates"]}," — GPS-координаты"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["credential"]}," — учетные данные, с дополнительными подтипами: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["md5"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sha-1"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["crypto"]}," — криптовалюта, с дополнительными подтипами: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bitcoin"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ethereum"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["monero"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["monero_payment_id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["litecoin"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dash"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["event"]}," — значимое событие, в котором принимают участие несколько человек."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["file"]}," — название или путь файла. Поддерживаются только пути Windows; подтипы: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["windows"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["facebook"]}," (для изображений, загруженных из Facebook)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["flight_code"]}," — код рейса"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier"]}," — любые буквенно-цифровые идентификаторы (идентификационные номера, коды и т. д.), не классифицированные в другом месте."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ip_address"]}," — IP-адрес, подтипы: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["v4"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["v6"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mac_address"]}," — МАС-адрес"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["numeric"]}," — любая числовая сущность"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["username"]}," — имя пользователя"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"темы","__idx":7},"children":["Темы"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["В разделе ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["topics"]}," перечислены обнаруженные в тексте темы. Например: субъекты, домены, темы в других терминах."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Этот раздел появляется, если:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Темы найдены, и;"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Параметр ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["topics"]}," установлен на ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," (или пропущен)."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Если настройка ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["topic_stats"]}," установлена на ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},", каждая запись в массиве содержит:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["topic"]}," (string) - Название темы."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["coverage"]}," (floating-point number) — показатель релевантности, представляющий собой отношение предложений, в которых обнаружена тема, к общему количеству предложений."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"долговременная-память","__idx":8},"children":["Долговременная память"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Раздел ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["memory"]}," предоставляет необязательный контекст, который можно передать в ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["settings"]}," в последующих сообщениях в той же ветке беседы."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Более подробную информацию см. в разделе ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/tisane-api-configuration#context-and-long-term-memory"},"children":["Контекст и долговременная память"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"данные-низкого-уровня-предложения-фразы-и-слова","__idx":9},"children":["Данные низкого уровня: Предложения, фразы и слова"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tisane также может предоставить более подробные лингвистические данные:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Предложения: Оригинальные предложения, а также их исправленные версии, если обнаружены какие-либо ошибки."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Лексические фрагменты: Группы слов (фрагменты), снабженные грамматическими и стилистическими примечаниями."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Деревья синтаксического анализа и фразы: Иерархические представления структуры предложения, выделение фраз и их взаимосвязей."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"предложения","__idx":10},"children":["Предложения"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Раздел ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sentence_list"]}," генерируется, если:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Параметр ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["words"]}," или ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["parses"]}," установлен на ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Каждая структура предложения в списке содержит:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["offset"]}," (unsigned integer) — начальная позиция экземпляра. Отсчет ведется от нуля."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["length"]}," (unsigned integer) — длина содержимого."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["text"]}," (string) — исходный введенный текст."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["corrected_text"]}," (string) — автоматически исправленная версия предложения, если обнаружена опечатка или запутывание/алгоритмическая ошибка и включена проверка орфографии."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["words"]}," (array of structures) — предоставляет подробную информацию о каждом лексическом фрагменте, если параметр ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["words"]}," установлен в значение ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},". Примечание: Хотя термин «слово» используется для простоты, с лингвистической точки зрения может быть некорректно отождествлять лексические блоки с отдельными словами."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["parse_tree"]}," (object) — содержит дерево анализа и обнаруженные фразы для предложения, когда параметр ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["parses"]}," установлен в значение ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["nbest_parses"]}," (array of parse objects) — выводит список альтернативных деревьев анализа, которые близки к лучшему. Генерируется, когда оба параметра ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["parses"]}," имеют значение ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},", а параметр ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deterministic"]}," явно установлен в значение ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"слова","__idx":11},"children":["Слова"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Раздел слов генерируется, если:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Параметр ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["words"]}," установлен на ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Каждая лексическая часть (для простоты называемая «словом») в массиве ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["words"]}," содержит:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}," (string) — определяет категорию элемента. Например: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["punctuation"]}," для знаков препинания, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["numeral"]}," для цифр или ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["word"]}," для всех остальных текстовых элементов."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["text"]}," (string) — исходный введенный текст."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["offset"]}," (unsigned integer) — начальная позиция экземпляра. Отсчет ведется от нуля."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["length"]}," (unsigned integer) — длина содержимого."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["text"]}," (string) — автоматически исправленная версия предложения, если обнаружена ошибка."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lettercase"]}," (string) — указывает исходный регистр букв слова: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["upper"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["capital"]}," или ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mixed"]},". Примечание: Если текст полностью состоит из строчных букв или нечувствителен к регистру, этот атрибут опускается."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["stopword"]}," (boolean) — указывает, является ли слово ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://en.wikipedia.org/wiki/Stop_words","target":"_blank"},"children":["stopword"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["grammar"]}," (array of strings or structures) — перечисляет грамматические особенности, связанные с ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["word"]},". Если параметр ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["feature_standard"]}," определен как ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["native"]},", каждый параметр представляет собой объект, содержащий ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["index"]},"(a numeral) и ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["value"]},"(string). В противном случае каждый признак представляется в виде простой строки."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"дополнительно","__idx":12},"children":["Дополнительно"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Только для лексических слов:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["role"]}," (string) - Семантическая роль слова. Например: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["agent"]}," или ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["patient"]},". Примечание: В пассивном залоге семантические роли меняются местами относительно синтаксических. Например: В ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["The car was driven by David"]},", ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["car"]}," — пациент, а ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["David"]}," — агент."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["numeric_value"]}," (floating-point number) — числовое значение, если слово представляет его или связано с ним."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["family"]}," (integer number) — идентификатор связанной семьи с разрешенным значением слова лексического фрагмента."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["definition"]}," (string) - определение семейства."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Включается, если параметр ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fetch_definitions"]}," установлен в значение ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},"."]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lexeme"]}," (integer number) — идентификатор записи лексемы, связанной с разрешенным значением слова."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["nondictionary_pattern"]}," (integer number) — идентификатор несловарного шаблона, который соответствовал слову, если оно не было найдено в языковой модели, но классифицировано с использованием несловарной эвристики."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["style"]}," (array of strings or structures) — создает список стилевых особенностей, связанных со ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["word"]},"."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Включено, если для параметра ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["feature_standard"]}," задано значение ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["native"]}," или ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["description"]},"."]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["semantics"]}," (array of strings or structures) — создает список семантических признаков, связанных со ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["word"]},"."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Включено, если для параметра ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["feature_standard"]}," задано значение ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["native"]}," или ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["description"]},"."]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["segmentation"]}," (structure) — предоставляет информацию о выбранной сегментации. Сегментация — это массив структур слов."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Включается, если возможны множественные сегментации, а параметр ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deterministic"]}," установлен на ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},"."]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["other_segmentations"]}," (array of structures) — перечисляет альтернативные сегментации, которые считаются неверными в процессе устранения неоднозначности. Каждая запись имеет ту же структуру, что и ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["segmentation"]},"."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["nbest_senses"]}," (array of structures) — предоставляет альтернативные гипотезы разрешения неоднозначности."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Включается, если параметр ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deterministic"]}," равен ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},"."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Каждая гипотеза включает в себя:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["grammar"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["style"]}," и ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["semantics"]},". Они структурированы идентично соответствующим атрибутам выше."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["senses"]},". Перечисляет значения слов для гипотезы, каждое из которых содержит:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["family"]},": Соответствующий семейный идентификатор."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["definition"]},": Определение семейства, если ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fetch_definitions"]}," включено."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ref_lemma"]},": Справочная лемма, если таковая имеется."]}]}]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Только для знаков препинания:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}," (integer number) — идентификатор знака препинания."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["behavior"]}," (string) — код поведения, определяющий функцию знака препинания. Значения:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sentenceTerminator"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["genericComma"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bracketStart"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bracketEnd"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["scopeDelimiter"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["hyphen"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["quoteStart"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["quoteEnd"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["listComma"]}," (для восточноазиатских запятых перечисления, таких как ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["、"]},")"]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Знаки препинания не имеют n-лучших значений."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"разбор-грамматических-деревьев-и-фраз","__idx":13},"children":["Разбор грамматических деревьев и фраз"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Дерево синтаксического анализа, или, точнее, лес синтаксического анализа, представляет собой иерархическую совокупность фраз, связанных друг с другом."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Раздел дерева синтаксического анализа генерируется, если:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Параметр ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["parses"]}," установлен на ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["На верхнем уровне синтаксического анализа находится массив корневых фраз, содержащихся в элементе ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["phrases"]},", каждая из которых связана с числовым ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Каждая фраза может иметь дочерние фразы, образуя вложенную структуру."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Каждая фраза включает в себя следующие атрибуты:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}," (string) — стандартный тег фразы, обозначающий тип фразы. Например: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["S"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["VP"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["NP"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ADJP"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ADVP"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["family"]}," (integer number) — идентификатор семейства фраз."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["offset"]}," (unsigned integer) — начальная позиция экземпляра. Отсчет ведется от нуля."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["length"]}," (unsigned integer) — длина фразы."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["role"]}," (string) — семантическая роль фразы, если применимо, аналогичная семантическим ролям, назначаемым отдельным словам."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["text"]}," (string) — текстовое представление фразы: Члены фразы разделяются символом вертикальной черты (|). Дочерние фразы заключены в скобки (). Например:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["driven|by|David"]}," 9 (плоская фраза, состоящая из трех частей)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["(The|car)|was|(driven|by|David)"]}," (иерархическая структура с дочерними фразами)."]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Пример:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"\"parse_tree\": {\n\"id\": 4,\n\"phrases\": [\n{\n       \"type\": \"S\",\n       \"family\": 1451,\n       \"offset\": 0,\n       \"length\": 27,\n       \"text\": \"(The|car)|was|(driven|by|David)\",\n       \"children\": [\n               {\n                       \"type\": \"NP\",\n                       \"family\": 1081,\n                       \"offset\": 0,\n                       \"length\": 7,\n                       \"text\": \"The|car\",\n                       \"role\": \"patient\"\n               },\n               {\n                       \"type\": \"VP\",\n                       \"family\": 1172,\n                       \"offset\": 12,\n                       \"length\": 15,\n                       \"text\": \"driven|by|David\",\n                       \"role\": \"verb\"\n               }\n       ]\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"исправление-орфографии-с-учетом-контекста","__idx":14},"children":["Исправление орфографии с учетом контекста"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tisane поддерживает контекстно-зависимую коррекцию орфографии. Он выявляет и исправляет опечатки или преднамеренные искажения, выводя предполагаемое значение, особенно когда языковая модель не распознает слово."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["При внесении исправления Tisane добавляет атрибут ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["corrected_text"]},":"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["На уровне слов: Если возвращаются отдельные слова или лексические фрагменты."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["На уровне предложения: Если текст предложения сгенерирован."]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Атрибут ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["corrected_text"]}," на уровне предложения появляется, когда настройки ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["words"]}," или ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["parses"]}," установлены на ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"исключить-редкие-термины","__idx":15},"children":["Исключить редкие термины"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tisane работает с большими словарями. Вы можете исключить эзотерические термины, изменив настройку ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["min_generic_frequency"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"вызов-проверки-орфографии","__idx":16},"children":["Вызов проверки орфографии"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Примечание: Проверка орфографии выполняется независимо от того, включены ли в вывод предложения или части слов."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Вы можете контролировать это поведение с помощью следующих настроек:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Установите для параметра ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["disable_spellcheck"]}," значение ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},", чтобы полностью отключить проверку орфографии."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Чтобы избежать исправления имен собственных (в языках с заглавными буквами), установите для параметра ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lowercase_spellcheck_только"]}," значение ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},". Это ограничивает проверку орфографии словами, написанными строчными буквами, исключая термины, написанные заглавными и прописными буквами."]}]}]}]},"headings":[{"value":"Ответ","id":"ответ","depth":1},{"value":"Проблемный контент","id":"проблемный-контент","depth":2},{"value":"Атрибуты контента","id":"атрибуты-контента","depth":3},{"value":"Поддерживаемые типы","id":"поддерживаемые-типы","depth":3},{"value":"Анализ тональности","id":"анализ-тональности","depth":2},{"value":"Именованные объекты","id":"именованные-объекты","depth":2},{"value":"Типы и подтипы именованных объектов","id":"типы-и-подтипы-именованных-объектов","depth":3},{"value":"Темы","id":"темы","depth":2},{"value":"Долговременная память","id":"долговременная-память","depth":2},{"value":"Данные низкого уровня: Предложения, фразы и слова","id":"данные-низкого-уровня-предложения-фразы-и-слова","depth":2},{"value":"Предложения","id":"предложения","depth":3},{"value":"Слова","id":"слова","depth":3},{"value":"Дополнительно","id":"дополнительно","depth":4},{"value":"Разбор грамматических деревьев и фраз","id":"разбор-грамматических-деревьев-и-фраз","depth":3},{"value":"Исправление орфографии с учетом контекста","id":"исправление-орфографии-с-учетом-контекста","depth":3},{"value":"Исключить редкие термины","id":"исключить-редкие-термины","depth":4},{"value":"Вызов проверки орфографии","id":"вызов-проверки-орфографии","depth":4}],"frontmatter":{"seo":{"title":"Ответ"}},"lastModified":"2025-06-27T13:29:36.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ru/apis/tisane-api-response-guide","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}