Name: Anonymous 2010-09-21 10:30
#!/usr/bin/python
So I have a list of values, which need to be sorted in an arbitrary and static order. The input data sometimes drops a value or adds a new. Each datum is usually a 4-10 word string. Sometimes one word will get changed but is still the same value, so fuzzy matching must be used.
The output data needs to be in the same order everytime. Missing data filled with blank line, new data that's not in reference sort order appended to end.
A simple problem, I need to implement in python. Will come back to thread with code as I drink my coffee.
So I have a list of values, which need to be sorted in an arbitrary and static order. The input data sometimes drops a value or adds a new. Each datum is usually a 4-10 word string. Sometimes one word will get changed but is still the same value, so fuzzy matching must be used.
The output data needs to be in the same order everytime. Missing data filled with blank line, new data that's not in reference sort order appended to end.
A simple problem, I need to implement in python. Will come back to thread with code as I drink my coffee.