dictionaryx 0.3.5 dictionaryx: ^0.3.5 copied to clipboard
English dictionary with about 120.000 entries, based on Wordnet.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate dictionaryx
Use it
The package has the following executables:
$ dict
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dictionaryx
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
dictionaryx: ^0.3.5
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dictionaryx/dictentry.dart';
import 'package:dictionaryx/dictionary_msa.dart';
import 'package:dictionaryx/dictionary_msa_json.dart';
import 'package:dictionaryx/dictionary_msa_json_flutter.dart';
import 'package:dictionaryx/dictionary_reduced_msa.dart';
import 'package:dictionaryx/dictionary_reduced_sa.dart';
import 'package:dictionaryx/dictionary_sa.dart';