SwiftUI implementation of GPT Detector. Calculates the perplexity and burstiness of a given text to determine whether it was generated by a large language model or not.
- Analyze plain text.
- Analyze text by selecting a photo from the photo library using OCR.
- Analyze text by utilizing the phone's camera with OCR.
- Large language models typically generate text that is less complex and random compared to human-created content. The level of randomness and complexity can be analyzed to differentiate between AI-generated and human-created content.
- Current version of the AI Detector is optimized for texts written in English. So, using text in other languages may result in inaccurate results.
- Texts written by children or non-native English speakers may be misclassified because they often produce text that is less random and complex.
- As AI models advance, they become better at generating text that looks like human writing which affects the reliability of the AI Detector. Therefore, it's not advised to solely rely on the detector's results for decision-making.
Developed with MVVM
- "Core" folder contains application-agnostic code that can be reused in other projects.
- "Feature" folder represents the app's feature set.
- "App" folder holds files specific to this particular application.
You can help translate this app to other languages!
- Fork this repository
- Choose one
- Add missing translations in existing languages
- Improve translations in existing languages: Update desired languages
Localizable.strings
in GPTDetectorSwiftUI/App/L10n - Add new languages:
- Open the settings for your Xcode project.
- Look for the “Localizations” section. It may be under the “Info”
- Click the “+” icon then choose the language you want to add support for. This will create a new
Localizable.strings
in GPTDetectorSwiftUI/App/L10n - Add the translations for each key-value pair.
- Run the app
- Make sure you have this app once.
- Open a pull request
- Dependency Injection
- Image Cropper
- Resource Generator