That depends on the language in which your source text is
written. If it is Spanish, then "guitarra" means any kind of
guitar, both acoustic and electric. If it is in Portuguese, then
"guitarra" means electric guitar. (Portuguese has a separate word,
violão, for acoustic guitars.)