A Turkish court has acquitted a former television presenter of charges of "targeting a public servant" for posting a tweet suggesting a cover-up in a government corruption scandal.

Sedef Kabas was briefly detained last year and faced up to five years in prison for telling her Twitter followers not to forget the name of a prosecutor who dropped a corruption and bribery probe that implicated people close to President Recep Tayyip Erdogan.

An Istanbul court on Tuesday ruled that the tweet did not meet requirements to constitute a crime.

Citing an alleged plot to remove it from office, the government last year reassigned hundreds of police, prosecutors and judges, including those involved in the case. The events led to opposition accusations of a cover-up.