Code Monkey home page Code Monkey logo

search_names's People

Contributors

dependabot[bot] avatar quantifiedcode-bot avatar soodoku avatar suriyan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

leekom-niu

search_names's Issues

OverFlowError with search_names.py text_corpus.csv

Traceback (most recent call last):
File "search_names.py", line 10, in
csv.field_size_limit(sys.maxsize)
OverflowError: Python int too large to convert to C long

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "search_names.py", line 13, in
csv.field_size_limit(sys.maxint)
AttributeError: module 'sys' has no attribute 'maxint'

I'm using Python 3. Changing line 10 from csv.field_size_limit(sys.maxsize) to csv.field_size_limit(100000000) avoids this error, but not sure if it's best practice

'basestring' is not defined in search_names.py

Got this error when running search_names.py using the sample text_corpus.csv,

Traceback (most recent call last):
File "search_names.py", line 230, in
args = load_config(args)
File "search_names.py", line 108, in load_config
if args is None or isinstance(args, basestring):
NameError: name 'basestring' is not defined

module `Queue` error in search_names.py

Traceback (most recent call last):
File "search_names.py", line 23, in
from Queue import Empty
ModuleNotFoundError: No module named 'Queue'

Changing from Queue import Empty to from queue import Empty avoids this. Not sure if it's pointing to the same module

Add NER

Use pyNER to get list of persons in a text corpus and output it with other contextual data in the text file.

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.