A method from offline analysis to online training for the brain-computer interface based on motor imagery and speech imagery. (September 2020)