pytanie o procenty

Temat przeniesiony do archwium.
mam pytanie dotyczace procentow w zakladce 'nauka slowek'. w jaki sposob obliczany jest prawidlowy procent odpowiedzi? czy odp porownywana jest pod wzgledem fleksyjnego i ortograficznego podobienstwa czy moze pod wzgledem znaczeniowym? a moze jeszcze inaczej?
odpowiedz jest tutaj:

https://www.ang.pl/nowy_system_nauki_slowek_11880.html

"Procentowosc dziala tak jak funkcja ktorej uzylem. Oto jej opis:

This calculates the similarity between two strings as described in Oliver [1993]. Note that this implementation does not use a stack as in Oliver's pseudo code, but recursive calls which may or may not speed up the whole process. Note also that the complexity of this algorithm is O(N**3) where N is the length of the longest string.

By passing a reference as third argument, similar_text() will calculate the similarity in percent for you. It returns the number of matching chars in both strings.


Wiem ze czasem dziala to lepiej czasem gorzej ale albo usune to calkiem albo zostawie tak jak jest.

Opis tlumaczy takze dlaczego jest 30% przy wpisaniu [income] podczas gdy sugerowana odpowiedz to [revenue / earnings / income]."

« 

Studia językowe

 »

Zagranica