the position of the pronouns within the array is now independent
This commit is contained in:
parent
2a4baf89ec
commit
413cdb01d5
|
@ -15,3 +15,4 @@ copy it into your gemini directory and make it executable of course
|
||||||
* 2021-11-06: made each sentence a list item for easier reading
|
* 2021-11-06: made each sentence a list item for easier reading
|
||||||
* 2021-11-06: make the pronoun text a little easier to see, and remove the unnecessary '---' in that case. also change the input text to direct the user how to enter stuff.
|
* 2021-11-06: make the pronoun text a little easier to see, and remove the unnecessary '---' in that case. also change the input text to direct the user how to enter stuff.
|
||||||
* 2021-11-06: by exporting the sentences to a file, more can be added easily.
|
* 2021-11-06: by exporting the sentences to a file, more can be added easily.
|
||||||
|
* 2021-11-07: the position of the pronouns is now independent
|
||||||
|
|
|
@ -56,7 +56,7 @@ for i in "${pr_sub[@]}"; do
|
||||||
for j in "${sentences[@]}"; do
|
for j in "${sentences[@]}"; do
|
||||||
cursent="${j}"
|
cursent="${j}"
|
||||||
|
|
||||||
if [[ "${cnt}" == 2 ]]; then
|
if [[ "${pr_sub[${cnt}]}" == "they" ]]; then
|
||||||
cursent="${cursent//MSHAS/have}"
|
cursent="${cursent//MSHAS/have}"
|
||||||
else
|
else
|
||||||
cursent="${cursent//MSHAS/has}"
|
cursent="${cursent//MSHAS/has}"
|
||||||
|
|
Loading…
Reference in New Issue