By the time of the Battle of the Philippine Sea , the Japanese had somewhat rebuilt their carrier forces in terms of numbers , but their planes , which by then had become obsolescent , were largely flown by inexperienced and poorly trained pilots .