This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { serve } from "https://deno.land/std@0.177.0/http/server.ts" | |
| import { Hono } from "npm:hono" | |
| import { createClient } from "https://esm.sh/@supabase/supabase-js@2.29.0" | |
| import { authMiddleware } from "../utils/authMiddleware.ts" | |
| //para referencias de como customizar el servidor primero ver como lo hace flask y después como lo harías con Hono. | |
| const app = new Hono() | |
| //para documentación de servidor revisar Hono | |
| const supabaseUrl = Deno.env.get("API_URL")! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <script id="jsbin-javascript"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <script id="jsbin-javascript"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| From this paper: http://acl.ldc.upenn.edu/acl2004/emnlp/pdf/Mihalcea.pdf | |
| I used python with nltk, and pygraph to do an implmentation of of textrank. | |
| for questions: http://twitter.com/voidfiles | |
| """ | |
| import nltk | |
| import itertools |