You can get married if your girlfriend's parents give written consent. If you are unable to obtain consent from her parents you may still be able to get married if you get a written statement from a doctor that your girlfriend is pregnant, but it will be up to the judge's discretion whether or not to issue the marriage license.