Skip to content

Instantly share code, notes, and snippets.

View ricardogobbo's full-sized avatar
🎯
Focusing

Ricardo Gobbo ricardogobbo

🎯
Focusing
  • Goiania, Brazil
View GitHub Profile
{
"34":{
"ProdutoId":"227782",
"Codigo":"194276079928",
"Tamanho":"34",
"PrecoDe":"R$ 0,00",
"PrecoPor":"R$ 1.399,99",
"PrecoPorSemPromocao":"R$ 1.399,99",
"ValorParcela":"R$ 140,00",
"ParcelamentoMaximo":"10",
def componentes = ComponenteProjeto.findAllByCorpoIsNotNull(params)
def results = componentes.collect {
[texts: Jsoup.parse(it.corpo).text().split("\\.")]
}
results.each{ a ->
a.similarity = results.collect{
TextSimilarityCalculator.similarity(it.texts[0], a.texts[0])
}
//////////////////////////////////////////////////////////////////////
/// Código do main.dart
//////////////////////////////////////////////////////////////////////
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {