For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
| # ImplementaΓ§Γ£o de Algoritmos de Contagem Personalizados | |
| # Neste exemplo, demonstro a criaΓ§Γ£o de um algoritmo personalizado para contar a ocorrΓͺncia de palavras | |
| # em um texto, ignorando palavras comuns (stop words). | |
| class ContadorDePalavras: | |
| def __init__(self): | |
| self.contagem = {} | |
| self.stop_words = set(["Γ©", "uma", "de", "em", "a", "o", "e"]) | |
| def adicionar_texto(self, texto): |
| My Resources and Links over time to various Tools, Notes, Videos, Papers, Articles, Writeups, and more. Will be moving to my own private hosted Wikipedia soon. Ascii Art Font: Calvin S | |
| ββ¦ββ¦ β¦ ββ β¬ β¬βββ ββ ββββ¬ β¬ββββ¬ββ¬ β¬ β¦ββββββββββββ¬ β¬β¬βββββββββββ | |
| βββββ¦β β β©ββ ββ β¬ β β©ββ ββ βββββ ββ¬β β β¦βββ€ ββββ ββ βββ¬ββ ββ€ βββ | |
| β© β© β© βββββββββ βββββββββββββ΄ β΄ β©βββββββββββββββ΄βββββββββββ | |
| // | |
| ()==========>>======================================-- | |
| \\ | |