cxx5208 commited on
Commit
dd01795
·
verified ·
1 Parent(s): f6c29b5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -4
README.md CHANGED
@@ -39,7 +39,7 @@ token_classifier = pipeline(
39
  )
40
 
41
  # Example text
42
- text = "My name is Yeshvanth Kurapati and I study at San Jose State University. I live in San Jose."
43
 
44
  # Perform NER
45
  entities = token_classifier(text)
@@ -50,9 +50,16 @@ print(entities)
50
 
51
  ```python
52
  [
53
- {'entity_group': 'PER', 'score': 0.9991, 'word': 'John Doe', 'start': 11, 'end': 19},
54
- {'entity_group': 'ORG', 'score': 0.9985, 'word': 'OpenAI', 'start': 34, 'end': 40},
55
- {'entity_group': 'LOC', 'score': 0.9978, 'word': 'San Francisco', 'start': 51, 'end': 64}
 
 
 
 
 
 
 
56
  ]
57
  ```
58
 
 
39
  )
40
 
41
  # Example text
42
+ text = "My name is Yeshvanth Raju Kurapati. I study at San Jose State University"
43
 
44
  # Perform NER
45
  entities = token_classifier(text)
 
50
 
51
  ```python
52
  [
53
+ {'entity_group': 'PER',
54
+ 'score': 0.99808735,
55
+ 'word': 'Yeshvanth Raju Kurapati',
56
+ 'start': 11,
57
+ 'end': 34},
58
+ {'entity_group': 'ORG',
59
+ 'score': 0.9923826,
60
+ 'word': 'San Jose State University',
61
+ 'start': 47,
62
+ 'end': 72}
63
  ]
64
  ```
65