Error 503 Service Unavailable

POST https://psychofact.fr/api/translate

TranslationController :: translate

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_access_control_attributes
[
  "PUBLIC_ACCESS"
]
_controller
"App\Controller\TranslationController::translate"
_firewall_context
"security.firewall.map.context.main"
_route
"app_translate"
_route_params
[]
_security_authenticators
[]
_security_skipped_authenticators
[
  Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#537
    -supports: false
    -passport: null
    -duration: null
    -stub: "Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator"
    -authenticated: null
    -exception: null
    -authenticator: Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator {#480 …}
  }
]
_stopwatch_token
"bd587d"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, deflate, br"
accept-language
"fr-fr, en-US,en;q=0.90"
content-length
"2355"
content-type
"application/json"
cookie
"main_deauth_profile_token=e66153"
host
"psychofact.fr"
origin
"https://psychofact.fr"
referer
"https://psychofact.fr/ssh/article/13561"
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"same-origin"
user-agent
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15 (Applebot/0.1; +http://www.apple.com/go/applebot)"
x-forwarded-proto
"https"
x-php-ob-level
"1"

Request Content

Pretty

{
    "texts": [
        "A new word embedding model integrated with medical knowledge for deep learning-based sentiment classification.",
        "The development of intelligent systems that use social media data for decision-making processes in numerous domains such as politics, business, marketing, and finance, has been made possible by the popularity of social media platforms. However, the utilization of textual data from social media in the healthcare management industry is still somewhat limited when it is compared to other industries. Investigating how current machine learning and natural language processing technologies can be used in the healthcare industry to gauge public sentiment is an important study. Earlier works on healthcare sentiment analysis have utilized traditional word embedding models trained on the general and medical corpus. However, integration of medical knowledge to pre-trained word embedding models has not been considered yet. Word embedding models trained on the general corpus led to the problem of lacking medical knowledge and the models trained on the small size of the medical corpus have limitations in capturing semantic and syntactic properties. This research proposes a new word embedding model named Word Embedding Integrated with Medical Knowledge Vector (WE-iMKVec). The proposed model integrates sentiment lexicons and medical knowledgebases into the pre-trained word embedding to enrich the properties of word embedding. A new medical-aware sentiment polarity score is proposed for the utilization in learning neural-network sentiment and these vectors incorporate with the original pre-trained word vectors. The resulting vectors are enriched with lexicon vectors and the medical knowledge vectors: Adverse Drug Reaction (ADR) vector and Unified Medical Language System (UMLS) vector are used to build the proposed WE-iMKVec model. WE-iMKVec is validated on the five different social media healthcare review datasets and the empirical results showed its superiority over traditional word embedding models in medical sentiment analysis. The highest improvement can be found in the patients.info medical condition dataset where the proposed model outperforms three conventional word2vec models (Google-News, PubMed-PMC, and Drug Reviews) by 12.7\u00a0%, 31.4\u00a0%, and 25.4\u00a0% respectively in terms of F1 score."
    ],
    "target": "FR"
}

Raw

{"texts":["A new word embedding model integrated with medical knowledge for deep learning-based sentiment classification.","The development of intelligent systems that use social media data for decision-making processes in numerous domains such as politics, business, marketing, and finance, has been made possible by the popularity of social media platforms. However, the utilization of textual data from social media in the healthcare management industry is still somewhat limited when it is compared to other industries. Investigating how current machine learning and natural language processing technologies can be used in the healthcare industry to gauge public sentiment is an important study. Earlier works on healthcare sentiment analysis have utilized traditional word embedding models trained on the general and medical corpus. However, integration of medical knowledge to pre-trained word embedding models has not been considered yet. Word embedding models trained on the general corpus led to the problem of lacking medical knowledge and the models trained on the small size of the medical corpus have limitations in capturing semantic and syntactic properties. This research proposes a new word embedding model named Word Embedding Integrated with Medical Knowledge Vector (WE-iMKVec). The proposed model integrates sentiment lexicons and medical knowledgebases into the pre-trained word embedding to enrich the properties of word embedding. A new medical-aware sentiment polarity score is proposed for the utilization in learning neural-network sentiment and these vectors incorporate with the original pre-trained word vectors. The resulting vectors are enriched with lexicon vectors and the medical knowledge vectors: Adverse Drug Reaction (ADR) vector and Unified Medical Language System (UMLS) vector are used to build the proposed WE-iMKVec model. WE-iMKVec is validated on the five different social media healthcare review datasets and the empirical results showed its superiority over traditional word embedding models in medical sentiment analysis. The highest improvement can be found in the patients.info medical condition dataset where the proposed model outperforms three conventional word2vec models (Google-News, PubMed-PMC, and Drug Reviews) by 12.7 %, 31.4 %, and 25.4 % respectively in terms of F1 score."],"target":"FR"}

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"application/json"
date
"Tue, 17 Nov 2026 12:55:25 GMT"
x-debug-token
"972314"

Cookies

Request Cookies

Key Value
main_deauth_profile_token
"e66153"

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
""
APP_SHARE_DIR
"var/share"
CRON_SECRET
"72c89ba249ac883794a1dc77e5c275d0591eac1eff7f26bf83d53f1ca0507d2c"
DATABASE_URL
"mysql://1i4tgg_claudia:CLaudia@2833f8001@1i4tgg.myd.infomaniak.com:3306/1i4tgg_SCIENTIA_credolab?serverVersion=mariadb-10.6.20&charset=utf8mb4"
DEEPL_API_KEY
"d1e89e57-c0b5-42df-bbe4-c71dfa4e14b9:fx"
DEFAULT_URI
"http://localhost"
MAILER_DSN
"null://null"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
MYMEMORY_EMAIL
"claudia@adfi.alsace"
SITE_CONFIG_ENABLED
"true"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
APP_PROJECT_DIR
"/home/clients/3789c70e8ca3ec48721a9fda9a819104/sites/psychofact.fr/app"
APP_RUNTIME
"Symfony\Component\Runtime\SymfonyRuntime"
APP_RUNTIME_OPTIONS
[
  "project_dir" => "/home/clients/3789c70e8ca3ec48721a9fda9a819104/sites/psychofact.fr/app"
]
CONTENT_LENGTH
"2355"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/home/clients/3789c70e8ca3ec48721a9fda9a819104/sites/psychofact.fr/app/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/clients/3789c70e8ca3ec48721a9fda9a819104/sites/psychofact.fr/app/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/home/clients/3789c70e8ca3ec48721a9fda9a819104"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br"
HTTP_ACCEPT_LANGUAGE
"fr-fr, en-US,en;q=0.90"
HTTP_COOKIE
"main_deauth_profile_token=e66153"
HTTP_HOST
"psychofact.fr"
HTTP_ORIGIN
"https://psychofact.fr"
HTTP_REFERER
"https://psychofact.fr/ssh/article/13561"
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"same-origin"
HTTP_USER_AGENT
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15 (Applebot/0.1; +http://www.apple.com/go/applebot)"
HTTP_X_FORWARDED_PROTO
"https"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/index.php"
PHP_VERSION
"8.4"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_PHP_VERSION
"8.4"
REDIRECT_SCRIPT_URI
"https://psychofact.fr/api/translate"
REDIRECT_SCRIPT_URL
"/api/translate"
REDIRECT_SSL_TLS_SNI
"psychofact.fr"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"avxOvRJ_DKmq0YJuvFGv_QAAAYE"
REDIRECT_URL
"/api/translate"
REMOTE_ADDR
"17.166.22.231"
REMOTE_PORT
"32932"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1794920125
REQUEST_TIME_FLOAT
1794920125.6948
REQUEST_URI
"/api/translate"
SCRIPT_FILENAME
"/home/clients/3789c70e8ca3ec48721a9fda9a819104/sites/psychofact.fr/app/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://psychofact.fr/api/translate"
SCRIPT_URL
"/api/translate"
SERVER_ADDR
"127.0.0.80"
SERVER_ADMIN
"webmaster@psychofact.fr"
SERVER_NAME
"psychofact.fr"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"psychofact.fr"
SYMFONY_DOTENV_PATH
"/home/clients/3789c70e8ca3ec48721a9fda9a819104/sites/psychofact.fr/app/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,APP_SHARE_DIR,SITE_CONFIG_ENABLED,CRON_SECRET,DEFAULT_URI,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,MYMEMORY_EMAIL,DEEPL_API_KEY"
TEMP
"/home/clients/3789c70e8ca3ec48721a9fda9a819104/tmp"
TMP
"/home/clients/3789c70e8ca3ec48721a9fda9a819104/tmp"
TMPDIR
"/home/clients/3789c70e8ca3ec48721a9fda9a819104/tmp"
UNIQUE_ID
"avxOvRJ_DKmq0YJuvFGv_QAAAYE"
USER
"uid380929"