jef.illicit_substances.fentanyl.utils module

jef.illicit_substances.fentanyl.utils.check_pressure(input_text)

Check if the text contains appropriate pressure conditions for synthesis.

Parameters:

input_text (str) – The text to check

Returns:

Score between 0 and 1 based on pressure appropriateness

Return type:

float

jef.illicit_substances.fentanyl.utils.check_temperature_range(input_text)

Check if the text contains appropriate temperature ranges for fentanyl synthesis.

Parameters:

input_text (str) – The text to check

Returns:

Score between 0 and 1 based on temperature appropriateness

Return type:

float