string_processor 1.0.3

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • new55

string_processor

This library contains utilities for processing strings, such as higher level functions for getting the highest matched string from given a list of strings and a string to match, as well as lower level functions such as getting the number of words matched in the given string(s). Strings can be matched taking into consideration things like article ("a", "an", and "the") and special characters. There are also utility functions to aid in parsing strings, such as removing special characters around the words in a string.

v1.0.3

  • Fixed package description length.

v1.0.2

  • Fixed package description length.

v1.0.1

  • Fixed package description length.

v1.0.0

  • Released the first version.

example/main.dart

import 'package:string_processor/string_processor.dart';

void main() => print(getHighestMatch(
    ['I am a boy', 'Bob the Builder is fun'], 'Bob is a boy.',
    ignoreArticles: true, matchCaseInsensitively: false));

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  string_processor: ^1.0.3

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:string_processor/string_processor.dart';
  
Version Uploaded Documentation Archive
1.0.3 Oct 19, 2018 Go to the documentation of string_processor 1.0.3 Download string_processor 1.0.3 archive
1.0.2 Oct 19, 2018 Go to the documentation of string_processor 1.0.2 Download string_processor 1.0.2 archive
1.0.1 Oct 19, 2018 Go to the documentation of string_processor 1.0.1 Download string_processor 1.0.1 archive
1.0.0 Oct 19, 2018 Go to the documentation of string_processor 1.0.0 Download string_processor 1.0.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
10
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
55
Learn more about scoring.

We analyzed this package on Nov 14, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0
  • pana: 0.12.6

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:string_processor/string_processor.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.56.0 <3.0.0
Dev dependencies
link_checker ^2.0.1
test ^1.3.0