Write a program compared to several lists

Кристина
Employer

[no-member:pro]Кристина[/no-member:pro]

1 projects
Project parameters
Type of cooperationOne-time project
Prepaymentprepayment is possible
Payment methodsBank transfer, Electronic money
Acceptance of requestsfrom until Nov 25, 2018
Project description
Programmer services are required. You need to write a program that compares several xml lists with words. The input of the program comes xml itself and two user numbers (from 0 to 1, for example 0.1 and 0.7). The probability of matching is calculated using the following data: the number of words matching in two lists divided by the total number of words in the list relative to which the comparison is made (number 0 to 1). Further, based on the following conditions, the result is derived:
1) the probability of matching the lists (less than) of the first number entered does not coincide;
2 the probability of matching the lists (more or equal to) the first entered number, but (less or equal to) the second user number is probably the same;
(3) the probability of a match greater than the second user number is the same.
You can write in any language, but it would be great if it were implemented in php or python.
Project author: [no-member:pro]Кристина[/no-member:pro]