EducationalTestingService / EducationalTestingService/match

This is also wrong

Aperta
#8 0 commenti 0 reazioni 1 assegnatario Rivendicata da @dmnapolitano Vedi su GitHub
bug
Lingua principale
Python
Stelle
20
Fork
5
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

([Source](https://www.usna.edu/Users/cs/nchamber/data/twitter/))

```python
original_text = "Мне нравитÑÑ - #Mellomania Deluxe - â„–Pedro Del â„–Mar #ETN.fm Radio - The Best â„–Trance & #Progressive Dance Livesets &... http://ff.im/c1PPV"
```

```python
match.match(original_text, ["The", "Best", "Trance", "&", "Progressive", "Dance", "Livesets"])
```

This uses `_match_by_edit_distance()` and returns:

```python
[(81, 126, 'The Best â„–Trance & #Progressive Dance Lives')]
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.