{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"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":"p","attributes":{},"children":["文章に修正が必要と判断された場合、その文に",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["corrected_text"]},"属性が付与され、修正されたテキストが記録されます（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["words"]},"を",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},"に設定して、文章のデータを出力します）。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"制限事項","__idx":1},"children":["制限事項"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["スペルチェックは、多くの人が考えているような",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://stackoverflow.com/questions/307291/how-does-the-google-did-you-mean-algorithm-work"},"children":["「正しい単語を提案する」ツール"]},"ではありません。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["正当な単語である場合、誤用や専門用語であっても、Tisaneは訂正しません。例えば、「noun」が 「nun」と誤って入力された場合、または「house」が「horse」と誤って入力された場合、Tisaneは対応できません（ただし、既知の難解な概念の一部である場合を除く。例えば、英語の「corn star」など）。********__"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["スペルチェッカーの主な目的は、難読化された表現を解読することです。そのため、スペルチェッカーは、より卑猥、不快、または頻繁に使用される概念に偏っています。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"専門的な意味や言葉を排除してより良好な結果を取得","__idx":2},"children":["専門的な意味や言葉を排除して、より良好な結果を取得"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この問題を回避するには、 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["min_generic_frequency"]},"パラメータを使用できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["これにより、最も専門的な意味や単語を除外することができます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["頻度は0から10のスケールで評価され、10が最も高い頻度を示します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["一部の専門的な意味は、-10で評価されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["まず、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["min_generic_frequency"]},"を",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]},"または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2"]},"に設定して、ご自身の環境で正常に動作するか確認することをおすすめします。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"潜在的な固有名詞の除外","__idx":3},"children":["潜在的な固有名詞の除外"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["固有名詞のスペルチェックを無効にしたい場合は、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lowercase_spellcheck_only"]},"を",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},"に設定します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"例","__idx":4},"children":["例"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["リクエスト："]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"language\":\"en\",\n  \"content\":\"I will br*k his neck and kll him\",\n  \"settings\": \n  {\n    \"words\":true,\"topics\":false,\"sentiment\":false,\"snippets\":true\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["レスポンス："]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"\n\t\"text\": \"I will br*k his neck and kll him\",\n\t\"abuse\": [\n\t\t{\n\t\t\t\"sentence_index\": 0,\n\t\t\t\"offset\": 0,\n\t\t\t\"length\": 32,\n\t\t\t\"text\": \"I will br*k his neck and kll him\",\n\t\t\t\"type\": \"criminal_activity\",\n\t\t\t\"severity\": \"medium\",\n\t\t\t\"tags\": [\n\t\t\t\t\"threat\",\n\t\t\t\t\"violence\",\n\t\t\t\t\"death\"\n\t\t\t]\n\t\t}\n\t],\n\t\"sentence_list\": [\n\t\t{\n\t\t\t\"offset\": 0,\n\t\t\t\"text\": \"I will br*k his neck and kll him\",\n\t\t\t\"words\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"word\",\n\t\t\t\t\t\"offset\": 0,\n\t\t\t\t\t\"text\": \"I\",\n\t\t\t\t\t\"lettercase\": \"capitalized\",\n\t\t\t\t\t\"role\": \"agent\",\n\t\t\t\t\t\"lexeme\": 63061,\n\t\t\t\t\t\"family\": 301,\n\t\t\t\t\t\"grammar\": [\n\t\t\t\t\t\t\"PRON\"\n\t\t\t\t\t],\n\t\t\t\t\t\"stopword\": true\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"word\",\n\t\t\t\t\t\"offset\": 2,\n\t\t\t\t\t\"text\": \"will\",\n\t\t\t\t\t\"lexeme\": 146938,\n\t\t\t\t\t\"family\": 316,\n\t\t\t\t\t\"grammar\": [\n\t\t\t\t\t\t\"VERB\"\n\t\t\t\t\t],\n\t\t\t\t\t\"stopword\": true\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"word\",\n\t\t\t\t\t\"offset\": 7,\n\t\t\t\t\t\"text\": \"br*k\",\n\t\t\t\t\t\"role\": \"verb\",\n\t\t\t\t\t\"lexeme\": 20996,\n\t\t\t\t\t\"family\": 107846,\n\t\t\t\t\t\"grammar\": [\n\t\t\t\t\t\t\"VERB\"\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"word\",\n\t\t\t\t\t\"offset\": 12,\n\t\t\t\t\t\"text\": \"his\",\n\t\t\t\t\t\"lexeme\": 63064,\n\t\t\t\t\t\"family\": 303,\n\t\t\t\t\t\"grammar\": [\n\t\t\t\t\t\t\"DET\"\n\t\t\t\t\t],\n\t\t\t\t\t\"stopword\": true\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"word\",\n\t\t\t\t\t\"offset\": 16,\n\t\t\t\t\t\"text\": \"neck\",\n\t\t\t\t\t\"lexeme\": 93293,\n\t\t\t\t\t\"family\": 40510,\n\t\t\t\t\t\"wikidata\": \"Q9633\",\n\t\t\t\t\t\"grammar\": [\n\t\t\t\t\t\t\"NOUN\"\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"word\",\n\t\t\t\t\t\"offset\": 21,\n\t\t\t\t\t\"text\": \"and\",\n\t\t\t\t\t\"lexeme\": 4096,\n\t\t\t\t\t\"family\": 322,\n\t\t\t\t\t\"grammar\": [\n\t\t\t\t\t\t\"CCONJ\"\n\t\t\t\t\t],\n\t\t\t\t\t\"stopword\": true\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"word\",\n\t\t\t\t\t\"offset\": 25,\n\t\t\t\t\t\"text\": \"kll\",\n\t\t\t\t\t\"role\": \"verb\",\n\t\t\t\t\t\"lexeme\": 77380,\n\t\t\t\t\t\"family\": 113102,\n\t\t\t\t\t\"grammar\": [\n\t\t\t\t\t\t\"VERB\"\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"word\",\n\t\t\t\t\t\"offset\": 29,\n\t\t\t\t\t\"text\": \"him\",\n\t\t\t\t\t\"role\": \"patient\",\n\t\t\t\t\t\"lexeme\": 63062,\n\t\t\t\t\t\"family\": 303,\n\t\t\t\t\t\"grammar\": [\n\t\t\t\t\t\t\"PRON\"\n\t\t\t\t\t],\n\t\t\t\t\t\"stopword\": true\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"corrected_text\": \"I will break his neck and kill him\"\n\t\t}\n\t]\n}\n","lang":"json"},"children":[]}]},"headings":[{"value":"スラングと敵対的文章操作","id":"スラングと敵対的文章操作","depth":1},{"value":"制限事項","id":"制限事項","depth":2},{"value":"専門的な意味や言葉を排除して、より良好な結果を取得","id":"専門的な意味や言葉を排除してより良好な結果を取得","depth":2},{"value":"潜在的な固有名詞の除外","id":"潜在的な固有名詞の除外","depth":2},{"value":"例","id":"例","depth":2}],"frontmatter":{"seo":{"title":"スラングと敵対的文章操作"}},"lastModified":"2025-07-07T02:26:37.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/guides/features/algospeak","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}