Unsure of meaning for sentence found in article about an automatic train test


I'm reading this
[article](https://www3.nhk.or.jp/news/easy/k10011769401000/k10011769401000.html)
and there is a sentence towards the end that looks like this

> 自動で走る電車の研究は、ＪＲ東日本が将来働く人が足りなくなると考えて始めました

I'm not entirely sure about the meaning of this sentence as I could read it
several ways. How wrong is my translation?

My translation breakdown:

>   1. 自動で走る電車の研究 = The research of the automatic train
>

>   2. ＪＲ東日本が将来働く人が足りなくなる
>
> 人が足りなくなる -> People will become insufficient
>
> ＪＲ東日本が将来働く人が足りなくなる = People who do future work will become insufficient for
> JR Eastern Japan
>
>

>   3. 考えて始めました
>
> 考えて -> 考える -> to think
>
> 始めました -> 始める -> to start 考えて始めました = started to think
>
>

Final sentence

> 自動で走る電車の研究は、ＪＲ東日本が将来働く人が足りなくなると考えて始めました
>
> The research of the automatic train has started thoughts about if people
> doing future work for JR Eastern Japan will become insufficient.




You're not parsing the sentence correctly.

ＪＲ東日本が is the subject of 始めました.  
自動で走る電車の研究 is the object of 始めました.

In 将来働く人が足りなくなる, 将来 modifies 足りなくなる, not 働く.

考え **て** 始めました means "thought ~~ and started" or "started, thinking ~~".
"Started to think" would be 考え始めました.

You can parse it this way:

> 自動で走る電車の研究は、ＪＲ東日本が（『将来（働く）人が足りなくなる』と考えて）始めました。

≂ ＪＲ東日本が、『将来働く人が足りなくなる』と考えて、自動で走る電車の研究を始めました。  
(The は has replaced/absorbed the を. 自動で走る電車の研究 is the topic/theme of the
sentence, so it's marked with the は and moved to the front.)

"JR Eastern Japan thought that [the number of] working people would become
insufficient in the future and started researching automatic trains." / "JR
Eastern Japan started researching automatic trains, thinking they would become
short of workers in the future."




You're not parsing the sentence correctly.

ＪＲ東日本が is the subject of 始めました.  
自動で走る電車の研究 is the object of 始めました.

In 将来働く人が足りなくなる, 将来 modifies 足りなくなる, not 働く.

考え **て** 始めました means "thought ~~ and started" or "started, thinking ~~".
"Started to think" would be 考え始めました.

You can parse it this way:

> 自動で走る電車の研究は、ＪＲ東日本が（『将来（働く）人が足りなくなる』と考えて）始めました。

≂ ＪＲ東日本が、『将来働く人が足りなくなる』と考えて、自動で走る電車の研究を始めました。  
(The は has replaced/absorbed the を. 自動で走る電車の研究 is the topic/theme of the
sentence, so it's marked with the は and moved to the front.)

"JR Eastern Japan thought that [the number of] working people would become
insufficient in the future and started researching automatic trains." / "JR
Eastern Japan started researching automatic trains, thinking they would become
short of workers in the future."

