# "Adicionar a partir do arquivo" para marcação de Palavra Observada

**URL:** <https://meta.discourse.org/t/add-from-file-for-watched-word-tagging/245386>\
**Category:** Bug\
**Tags:** watched-words\
**Created:** [Novembro 13, 2022, 12:05am UTC](https://meta.discourse.org/t/add-from-file-for-watched-word-tagging/245386 "2022-11-13T00:05:34Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)\
**Post date:** [Julho 12, 2023, 3:22pm UTC](https://meta.discourse.org/t/add-from-file-for-watched-word-tagging/245386/10 "2023-07-12T15:22:57Z")

</div>

```txt
text one,existing-tag-1
text two,new-tag
text three,existing-tag-2

```

Acho que este problema está acontecendo apenas quando a tag de substituição não existe. Se eu carregar o arquivo csv com o conteúdo acima, ele adiciona “`text one,existing-tag-1`” e “`text three,existing-tag-2`”, mas pula o segundo. Ele não levanta nenhum erro e adiciona as palavras observadas com sucesso se todas as tags no arquivo já estiverem disponíveis.

Enviarei uma alteração para criar tags se elas não existirem.

---

_[View the full topic](https://meta.discourse.org/t/add-from-file-for-watched-word-tagging/245386)._
