All Projects → elyase → Geotext

elyase / Geotext

Licence: mit
Geotext extracts country and city mentions from text

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Geotext

Awesome Hungarian Nlp
A curated list of NLP resources for Hungarian
Stars: ✭ 121 (+32.97%)
Mutual labels:  natural-language-processing, information-extraction
Mitie
MITIE: library and tools for information extraction
Stars: ✭ 2,693 (+2859.34%)
Mutual labels:  natural-language-processing, information-extraction
Nl2sql
阿里天池首届中文NL2SQL挑战赛top6
Stars: ✭ 146 (+60.44%)
Mutual labels:  natural-language-processing, information-extraction
Clustype
Automatic Entity Recognition and Typing for Domain-Specific Corpora (KDD'15)
Stars: ✭ 99 (+8.79%)
Mutual labels:  natural-language-processing, information-extraction
Gcn Over Pruned Trees
Graph Convolution over Pruned Dependency Trees Improves Relation Extraction (authors' PyTorch implementation)
Stars: ✭ 312 (+242.86%)
Mutual labels:  natural-language-processing, information-extraction
Chemdataextractor
Automatically extract chemical information from scientific documents
Stars: ✭ 152 (+67.03%)
Mutual labels:  natural-language-processing, information-extraction
Nel
Entity linking framework
Stars: ✭ 176 (+93.41%)
Mutual labels:  natural-language-processing, information-extraction
Tacred Relation
PyTorch implementation of the position-aware attention model for relation extraction
Stars: ✭ 271 (+197.8%)
Mutual labels:  natural-language-processing, information-extraction
Medacy
🏥 Medical Text Mining and Information Extraction with spaCy
Stars: ✭ 287 (+215.38%)
Mutual labels:  natural-language-processing, information-extraction
Oie Resources
A curated list of Open Information Extraction (OIE) resources: papers, code, data, etc.
Stars: ✭ 283 (+210.99%)
Mutual labels:  natural-language-processing, information-extraction
Understanding Financial Reports Using Natural Language Processing
Investigate how mutual funds leverage credit derivatives by studying their routine filings to the SEC using NLP techniques 📈🤑
Stars: ✭ 36 (-60.44%)
Mutual labels:  natural-language-processing, information-extraction
Usc Ds Relationextraction
Distantly Supervised Relation Extraction
Stars: ✭ 378 (+315.38%)
Mutual labels:  natural-language-processing, information-extraction
Nested Ner Tacl2020 Transformers
Implementation of Nested Named Entity Recognition using BERT
Stars: ✭ 76 (-16.48%)
Mutual labels:  natural-language-processing, information-extraction
Spf
Cornell Semantic Parsing Framework
Stars: ✭ 87 (-4.4%)
Mutual labels:  natural-language-processing
Nlp
This is where I put all my work in Natural Language Processing
Stars: ✭ 90 (-1.1%)
Mutual labels:  natural-language-processing
Semantic Texual Similarity Toolkits
Semantic Textual Similarity (STS) measures the degree of equivalence in the underlying semantics of paired snippets of text.
Stars: ✭ 87 (-4.4%)
Mutual labels:  natural-language-processing
Ml
A high-level machine learning and deep learning library for the PHP language.
Stars: ✭ 1,270 (+1295.6%)
Mutual labels:  natural-language-processing
Bert As Service
Mapping a variable-length sentence to a fixed-length vector using BERT model
Stars: ✭ 9,779 (+10646.15%)
Mutual labels:  natural-language-processing
Bible text gcn
Pytorch implementation of "Graph Convolutional Networks for Text Classification"
Stars: ✭ 90 (-1.1%)
Mutual labels:  natural-language-processing
Turkish Bert Nlp Pipeline
Bert-base NLP pipeline for Turkish, Ner, Sentiment Analysis, Question Answering etc.
Stars: ✭ 85 (-6.59%)
Mutual labels:  natural-language-processing

=============================== geotext

.. image:: https://img.shields.io/pypi/v/geotext.svg :target: https://pypi.python.org/pypi/geotext

.. image:: https://img.shields.io/pypi/pyversions/geotext.svg :target: https://pypi.python.org/pypi/geotext

.. image:: https://travis-ci.org/elyase/geotext.png?branch=master :target: https://travis-ci.org/elyase/geotext

Geotext extracts country and city mentions from text

Usage

.. code-block:: python

    from geotext import GeoText
    
    places = GeoText("London is a great city")
    places.cities
    # "London"

    # filter by country code
    result = GeoText('I loved Rio de Janeiro and Havana', 'BR').cities
    # 'Rio de Janeiro'
    
    GeoText('New York, Texas, and also China').country_mentions
    # OrderedDict([(u'US', 2), (u'CN', 1)])

Installation

.. code-block:: bash

    pip install https://github.com/elyase/geotext/archive/master.zip

Features

  • No external dependencies
  • Fast
  • Data from http://www.geonames.org licensed under the Creative Commons Attribution 3.0 License.

Similar projects

geography <https://github.com/ushahidi/geograpy>_: geography is more advanced and bigger in scope compared to geotext and can do everything geotext does. On the other hand geotext is leaner: has no external dependencies, is faster (re vs nltk) and also depends on libraries and data covered with more permissive licenses.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].