Giter VIP home page Giter VIP logo

find_job_titles's People

Contributors

codinguncut avatar pz325 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

find_job_titles's Issues

titles_combined.txt file should be accessible from library

Using the API,

  1. some titles are in title case and some of the titles like .NET are in upper case so we can not change input case into any particular case.

  2. If the file is accessible then we can add some new titles if we want.

Please you should add this if possible

Update to Python 3.7

I always receive an StopIteration Error, when there's no match.
To stop the program from throwing StopIteration and instead continue the program, update these lines of code:

File find_job_titles\__init__.py
FROM

def longest_match(matches):
    """

    find respective longest matches from all overlapping aho corasick matches

    """

    longest = next(matches)

    if longest is None:

        return

TO

def longest_match(matches):

    """

    find respective longest matches from all overlapping aho corasick matches

    """

    longest = next(matches, 0)

    if longest is None or longest == 0:

        return

Address TODO in analytics_service.py

In analytics/analytic_service.py on line 15: TODO fix if datetine None use current time

If a new timeseries entry is created without specifying a timestamp, the timestamp should default to datetime.utcnow

run into type error using default constructor

finder=Finder()
Traceback (most recent call last):
File "", line 1, in
File "/Users/fanglinchen/anaconda2/envs/py2Env/lib/python2.7/site-packages/find_job_titles/init.py", line 145, in init
autom.add_word(title, title)
TypeError: string1 required

I can use the other constructor without a problem though!

It is also fetching non title words from string. See the examples in description

from find_job_titles import FinderPyaho
finder=FinderPyaho()
finder.findall('I am the retailer')
[Match(start=11, end=16, match='tailer')]

Note: It is fetching tailor from 'retailer'
finder.findall('SBBSBPresidentAAAAA')
[Match(start=5, end=13, match='President')]
Please have a look. It should fetch the complete word not sub-string.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.