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

Incorrect POS tags for "38.5%" #91

Open
timothywangdev opened this issue Jul 8, 2014 · 3 comments
Open

Incorrect POS tags for "38.5%" #91

timothywangdev opened this issue Jul 8, 2014 · 3 comments

Comments

@timothywangdev
Copy link

Please check the parsing results of
"There were 769 households out of which 38.5% had children under the age of 18 living with them."

(PartOfSpeechLink (stv 1.000000 1.000000)
(WordInstanceNode "38.5@b13e52c0-9f9c-4305-a0be-bb306249009e")
(DefinedLinguisticConceptNode "det")
)

(PartOfSpeechLink (stv 1.000000 1.000000)
(WordInstanceNode "%@2f68f0db-bfbb-4285-88ef-c3f53bb053a7")
(DefinedLinguisticConceptNode "noun")
)

I don't think that these two words are correctly tagged.

@linas
Copy link
Member

linas commented Jul 8, 2014

I think "noun" is correct.
% is taken to be the same as the word "percent", which would be a noun

and 38.5 is a modifier of % (how many percent is it? Its 38.5)

You could has said 38.5 miles or 38.5 days ... etc

The 38.5 is a "numeric determiner" -- relex should be creating a _quantity for this; it should be _quantity(%, 38.5)

Note in link-grammar Dmcn and ND are more or less the same thing.

@timothywangdev
Copy link
Author

Thanks for the explanation!

@linas linas reopened this Jul 8, 2014
@linas
Copy link
Member

linas commented Jul 8, 2014

re-opened, the first one is still wrong, it should be (DefinedLinguisticConceptNode "quantity") and not (DefinedLinguisticConceptNode "det")

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

No branches or pull requests

2 participants