Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to extract address from text file or string #49

Open
Nandinicsgowd opened this issue Sep 9, 2020 · 1 comment
Open

Unable to extract address from text file or string #49

Nandinicsgowd opened this issue Sep 9, 2020 · 1 comment

Comments

@Nandinicsgowd
Copy link

I wrote like this.
from lexnlp.extract.en.addresses import address_feature
str = "Vistra Corporate Services Centre Wickhams Cay II Road Town Tortola VG1110 British Virgin Islands"
print("address:", list(lexnlp.extract.en.addresses.address_features.get_word_features(str,part_of_speech="NP")))
but am getting results like this: address: [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Can you help this, how to extract address for strings or text files???what i need to pass in the palce of part_of_speech???? what is the result am geeting it is binary i can't understand that??.bcz am bigginer to nlp thing.am waiting for your positive response.
(sorry for my english words).

@chriszumberge
Copy link

Duplicate of #48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants