(Versão em português abaixo - Portuguese version below)
This program generates pseudowords following Portuguese phonotactic rules. It has an intuitive interface, and allows to edit results before saving them to a .txt file.
- Install Python version 3.5 or newer (https://www.python.org/downloads/).
- Open a Terminal (Linux or Mac) and go to the directory where the PseudowordGenerator.py and the words.txt files are saved. For example, if the folder containing the application is saved in Desktop, type:
cd Desktop/PseudoWordGenerator
and press enter. 3. Then, still in the Terminal, type:
python PseudowordGenerator.py
or
python3 PseudowordGenerator.py
Enter the following requested information:
Number of pseudowordsto generateMinimum number of syllablesper wordMaximum number of syllablesper word
Select the desired syllable structure(s) to be used among:
onset + peak + codaonset + peakpeakpeak + coda
Or select
random
to activate all.
- Click on "Generate" to generate words according to the input.
- The words are displayed in the listbox on the right.
- To delete any words, select them on the listbox and click on
Delete word(s). For multiple selections, keep theCtrl(Windows) orcmd(Mac) key pressed and then click on the entries. - To delete all generated pseudowords at once, click on the
Clear allbutton. - Click on
Save to fileto save the list as it appears on the listbox. A .txt file with the pseudowords will be saved in the directory where the tool is saved. - Click
Exitto terminate the program.
Written in Python 3.5.
- Ignacio Rubio Majano
- Andreia Schurt Rauber
- Roshanak Hamidi
Please cite as: Rubio Majano, I., Hamidi, R., Rauber, A.S. (2016). Portuguese Pseudoword Generator [Computer Program]. Available at https://sites.google.com/site/asrauber/pseudowordGenerator
(Portuguese version)
Este aplicativo gera pseudopalavras seguindo as regras fonotáticas do português. O aplicativo tem uma interface intuitiva e permite editar os resultados antes de salvá-los em um arquivo .txt.
- Instale o Python versão 3.5 ou mais recente (https://www.python.org/downloads/).
- Abra um Terminal (Linux ou Mac) e vá para o diretório onde os arquivos PseudowordGenerator.py e words.txt estão salvos. Por exemplo, se a pasta contendo o aplicativo estiver salva no Desktop, digite:
cd Desktop/PseudoWordGenerator
e pressione Enter. 3. Em seguida, ainda no Terminal, digite:
python PseudowordGenerator.py
ou
python3 PseudowordGenerator.py
Digite as seguintes informações:
Number of pseudowordsa serem generadasMinimum number of syllablespor palavraMaximum number of syllablespor palavra
Selecione a(s) estrutura(s) silábica(s) desejada(s):
onset + peak + codaonset + peakpeakpeak + coda
Ou selecione
randompara ativar todas as opções.
- Clique em "Generate" para gerar palavras de acordo com as informações fornecidas.
- As palavras serão exibidas na caixa de texto à direita.
- Para deletar uma pseudopalavra, selecione-a na caixa de texto e clique em
Delete word(s). Para selecionar várias pseudopalavras, mantenha a teclaCtrl(Windows) oucmd(Mac) pressionada enquanto clica nas entradas. - Para deletar todas as pseudopalavras geradas de uma única vez, clique no botão
Clear all. - Clique em "Save to file" para salvar a lista de pseudopalavras que aparece na caixa de texto. Um arquivo .txt contendo as pseudopalavras será salvo no mesmo diretório onde a ferramenta está salva.
- Clique em
Exitpara sair do aplicativo.
Escrito em Python 3.5.
- Ignacio Rubio Majano
- Andreia Schurt Rauber
- Roshanak Hamidi
Citar como: Rubio Majano, I., Hamidi, R., Rauber, A.S. (2016). Portuguese Pseudoword Generator [Computer Program]. Available at https://sites.google.com/site/asrauber/pseudowordGenerator